/*
  using Material dark theme palette recommendations
  https://www.material.io/design/color/dark-theme.html
*/

body {
  margin: 0;
  color: black;
  background-color: #201850;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14pt;
}

a, a:visited {
  color: /*#6000ff*/ #8060ff /*#ff4d66*/ /*#ff4d80*/ /*#ff99cc*/;
}

a:hover {
  color: #ff99cc;
}

a:active {
  color: #ffc0e8;
}

div {
  margin-top: 60px;
}

p {
  margin-top: 15px;
  margin-bottom: 0;
}

.highlight {
  padding: 2px;
  border-radius: 6px;
  background-color: #ffc0e8;
}

/* navigation bar */

#navbar {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin: 0;
  padding: 0;
  background-color: #ece5ff;
}

#navbar ul {
  display: flex;
  flex-direction: row;
  overflow-x: scroll;
  list-style-type: none;
  scrollbar-color: #201850 #ece5ff;
  margin: 0;
  padding: 0;
}

#navbar li {
  float: left;
  vertical-align: text-bottom;
}

#navbar li a {
  display: block;
  white-space: nowrap;
  margin: 6px 3px 3px 3px;
  padding: 12px 12px 12px 12px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: black;
}

#navbar li a:hover {
  background-color: /*#ff99cc*/#ffc0e8;
}

#navbar .here {
  background-color: #c4b8ff;
  color: black;
}

#navbar .title {
  display: inline-block;
  white-space: nowrap;
  vertical-align: text-bottom;
  margin: 0 30px 0 30px;
  padding: 5px 0 8px 0;
  font-size: 18pt;
  font-weight: bold;
}

#navbar .title > p {
  margin: 0;
  padding: 0;
}

#navbar .title > p:not(:first-child) {
  font-size: 14pt;
}

/* content div */

#wrapper {
  max-width: 1000px;
  margin-left: 120px;
  margin-right: 120px;
  margin-bottom: 60px;
}

#wrapper > div:not(.display) {
  padding: 15px;
  border-radius: 15px;
  background-color: /*#e8deff*/ #ece5ff;
}

#wrapper > div p:first-child {
  margin-top: 0;
}

#wrapper > .display {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.display > img {
  width: 485px;
  border-radius: 15px;
}

.display > canvas {
  border-radius: 15px;
}

.display > .placeholder {
  font-size: 18pt;
  font-weight: bold;
  color: #ffff00;
  text-transform: uppercase;
}

/* instructions */

.instruct {
  font-style: italic;
}

.instruct table {
  margin-left: 60px;
  border-spacing: 3px;
  empty-cells: hide;
}

.instruct td {
  background-color: #201850;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  font-style: normal;
  color: white;
}

/* controls */

/*
.slider-box {
  margin: 0;
  display: flex;
  align-items: center;
}

.slider-box > input {
  margin-right: 15px;
}

.slider-box > label {
  margin-right: 6px;
}
*/
