:root {
  --light-blue: rgb(153, 204, 255);
  --grey-blue: rgb(46, 61, 77);
  --dark-blue: rgb(102, 153, 255);
  --darker-blue: rgb(27, 66, 143);
  --dark-purple: rgb(153, 51, 153);
  --river-purple: rgb(103, 63, 136);
  --keyboard-highlight: rgb(147, 112, 219);
  --greyed-out: rgb(200, 200, 200);
  --light-shade: rgb(241, 241, 241);
  --light-green: rgb(40, 167, 69);
  --green-answer-correct: rgb(128, 201, 119);
  --orange-answer-incorrect: rgb(240, 196, 103);
  --dark-green: rgb(25, 130, 50);
  --light-red: rgb(220, 53, 69);
  --dark-red: rgb(180, 30, 45);
  --cancel-grey: rgb(108, 117, 125);
  --light-grey-background: rgb(223, 226, 232);
  --lighter-grey-highlight: rgb(233, 236, 239);
  --archive-yellow: rgb(255, 193, 7);
  --archive-yellow-dark: rgb(230, 162, 0);
  --surface: #ffffff;
  --accent: #10b981;
  --accent-light: #6ee7b7;
  --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* #### Generated By: http://www.cufonfonts.com #### */

@font-face {
  font-family: "FreeSerif Medium";
  font-style: normal;
  font-weight: normal;
  src: local("FreeSerif Medium"), url("fonts/FreeSerif.woff") format("woff");
}

@font-face {
  font-family: "FreeSerif Italic";
  font-style: normal;
  font-weight: normal;
  src: local("FreeSerif Italic"),
    url("fonts/FreeSerifItalic.woff") format("woff");
}

@font-face {
  font-family: "FreeSerif Bold";
  font-style: normal;
  font-weight: normal;
  src: local("FreeSerif Bold"), url("fonts/FreeSerifBold.woff") format("woff");
}

@font-face {
  font-family: "FreeSerif BoldItalic";
  font-style: normal;
  font-weight: normal;
  src: local("FreeSerif BoldItalic"),
    url("fonts/FreeSerifBoldItalic.woff") format("woff");
}

html {
  font-family: "FreeSerif Medium";
  font-weight: normal;
}

h1 {
  color: white;
  background-color: black;
  font-size: 2em;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 0px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
}

h2 {
  color: white;
  background-color: black;
  font-size: 1.5em;
  font-weight: 200;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-top: 6px;
  padding-bottom: 6px;
  margin: 0;
  text-align: center;
}

h3 {
  color: white;
  background-color: black;
  margin: 0;
  margin-bottom: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
}

.fancyUl li {
  width: 200px;
  height: 35px;
  display: flex;
  align-items: center;
  margin: 1.5em;
  cursor: pointer;
  padding: 0.2em;
  padding-left: 0.4em;
  background: rgb(43, 43, 43);
  position: relative;
  color: white;
  border-radius: 5px;
}

.fancyUl li::before,
ul li::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 5px;
  width: 105%;
  transition: all 0.4s;
}
.fancyUl li::before {
  left: 0%;
  height: 130%;
  background: linear-gradient(to right, #021b79, #0575e6);
}
.fancyUl li::after {
  left: -10%;
  height: 120%;
  background: #ffffff56;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.164);
}
.fancyUl li:hover::before {
  transform: translateX(-2.5%);
}
.fancyUl li:hover::after {
  transform: translateX(15%);
}

.button-29 {
  align-items: center;
  appearance: none;
  background-image: radial-gradient(
    100% 100% at 100% 0,
    #5adaff 0,
    #5468ff 100%
  );
  border: 0;
  border-radius: 6px;
  box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, rgba(58, 65, 111, 0.5) 0 -3px 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: "JetBrains Mono", monospace;
  height: 48px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow, transform;
  font-size: 18px;
}
.button-29:focus {
  box-shadow: #3c4fe0 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #3c4fe0 0 -3px 0 inset;
}
.button-29:hover {
  box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #3c4fe0 0 -3px 0 inset;
  transform: translateY(-2px);
}
.button-29:active {
  box-shadow: #3c4fe0 0 3px 7px inset;
  transform: translateY(2px);
}

.custom-field {
  position: relative;
  font-size: 14px;
  padding-top: 20px;
  margin-bottom: 5px;
  display: inline-block;
}

.custom-field input {
  border: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #f2f2f2;
  padding: 12px;
  border-radius: 3px;
  width: 250px;
  outline: none;
  font-size: 14px;
}

.custom-field .placeholder {
  pointer-events: none;
  position: absolute;
  left: 12px;
  top: calc(50% + 10px);
  transform: translateY(-50%);
  color: #aaa;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}

.custom-field input:valid + .placeholder,
.custom-field input:focus + .placeholder {
  top: 10px;
  font-size: 10px;
  color: #3c4fe0;
}

.custom-field.one input {
  background: none;
  color: #333;
  border: 2px solid #ddd;
  transition: border-color 0.3s ease;
}

.custom-field.one input:valid,
.custom-field.one input:focus {
  border-color: #3c4fe0;
  transition-delay: 0.1s;
}

.custom-field.one input + .placeholder {
  padding: 0 5px;
  left: 8px;
}

.custom-field.one input:valid + .placeholder,
.custom-field.one input:focus + .placeholder {
  top: 8px;
  background: #fefefe;
}

.greeting {
  font-size: 1.4em;
  font-weight: 600;
  background: linear-gradient(135deg, #5adaff 0%, #5468ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5em;
}

.infoButton {
  width: 75%;
  margin: auto;
  text-align: right;
}

.showUser {
  margin-right: 5px;
  margin-top: 0px;
  margin-bottom: 20px;
  text-align: right;
}

.heading {
  max-width: 75%;
  margin: auto;
  margin-top: 20px;
  height: 40px;
}

.menuButton {
  position: relative;
  float: right;
  top: -42px;
  right: 10px;
}

/* Dropdown Button */
.dropbtn {
  background-color: var(--light-blue);
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropbtn:hover,
.dropbtn:focus {
  transition: all 0.3s ease;
  background-color: var(--dark-blue);
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  cursor: pointer;
  float: right;
  position: relative;
  top: -62px;
}

.dropdown-header {
  display: flex;
  flex-direction: row;
  justify-content: center;
  min-width: 18rem;
  gap: 32px;
}

.keyboardDropdown {
  display: flex;
  flex-direction: column;
  min-width: 40%;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  right: 0;
  position: absolute;
  background-color: var(--light-shade);
  min-width: 190px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 10;
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  cursor: pointer;
}

.dropdown-content.show {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: var(--light-blue);
}

.controlsIconContainer {
  position: relative;
  display: inline-block;
  top: -43px;
  right: calc(-100% + 43px);
  height: 43px;
  background-color: var(--light-blue);
}

.controlsIconContainer:hover,
.controlsIconContainer:focus {
  transition: all 0.3s ease;
  background-color: var(--dark-blue);
}

.helpIconContainer {
  position: relative;
  cursor: pointer;
  display: inline-block;
  top: -43px;
  right: calc(-100% + 43px);
  height: 43px;
  background-color: var(--light-blue);
}

.helpIconContainer:hover,
.helpIconContainer:focus {
  background-color: var(--dark-blue);
}

.menuIconContainer {
  position: relative;
  cursor: pointer;
  display: inline-block;
  top: -43px;
  right: calc(-100%);
  height: 43px;
  width: 43px;
  background-color: var(--light-blue);
}

.menuIconContainer:hover,
.helpIconContainer:focus {
  transition: all 0.3s ease;
  background-color: var(--dark-blue);
}

.studentTitle {
  width: 100%;
}

.removeStudent {
  color: red;
}

.studentsContainer {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: flex-start;
  margin: auto;
  margin-bottom: 5px;
}

/* CSS for welcome() stats */
.streakStatsRow {
  width: 85%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: flex-start;
  margin: auto;
  border-left: 2px solid grey;
}

.streakStatsHeader {
  width: 100%;
  border-top: 2px solid grey;
  border-right: 2px solid grey;
}
.streakStatsData {
  width: 100%;
  border-top: 2px solid grey;
  border-right: 2px solid grey;
  border-bottom: 2px solid grey;
}

/* CSS for Training Mode Choice block */
.buttonsContainer {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-content: space-between;
  cursor: pointer;

  max-width: 90%;
  margin: auto;
  margin-top: 5px;
  margin-bottom: 5px;
}

.keyboardButtonsContainer {
  width: 80%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: space-between;

  max-width: 90%;
  margin: auto;
  margin-top: 5px;
  margin-bottom: 5px;
}

#scaleSelector {
  display: flex;
  flex-flow: row wrap;
}

#tonicSelector {
  font-family: "FreeSerif Medium";
  font-weight: normal;
}
/* CSS for Control Panel Buttons */
.reverseButton {
  cursor: pointer;
  border: 2px solid black;
  font-size: 23px;
  width: 30px;
  height: 30px;
  margin: auto;
  text-align: center;
  vertical-align: center;
}

.reverseButton:hover {
  background-color: var(--dark-blue);
}

.toggleMet {
  cursor: pointer;
  border: 2px solid black;
  font-size: 23px;
  width: 30px;
  height: 30px;
  margin: auto;
  text-align: center;
  vertical-align: center;
  position: relative;
  overflow: hidden;
}

.toggleMet:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: red;
  transform: rotate(45deg);
  transform-origin: left top;
  transition: width 0.2s linear;
}

.toggleMet.muted::after {
  width: 141%;
}
/* CSS for Buttons used throughout the app */

.button {
  cursor: pointer;
  padding: 15px;
  margin: 5px;
  border: 1px solid rgb(0, 0, 0);
  text-align: center;
  vertical-align: middle;
  background-color: var(--light-blue);
}

.button:hover {
  background-color: var(--dark-blue);
}
.button.selected {
  background-color: var(--dark-blue);
}
.button.greyedOut {
  background-color: var(--greyed-out);
}

.modeButtonsContainer {
  width: 80%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  margin: auto;
}

.modeButton {
  margin: 5px;
  border: 1px solid black;
  background-color: #faf1e6;
  width: 100%;
  height: 60px;
  border-radius: 5px;
  display: flex;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex-flow: row nowrap;
  align-items: center;
  cursor: pointer;
  /*transition: background-color 0.5s ease, color 0.25s ease, white 0.25s ease;*/
}

.modeButton-selected {
  /* color: var(--darker-blue); */
  background-color: var(--dark-blue);
}

.modeName {
  width: 40%;
  height: 100%;
  background-color: var(--light-blue);
  color: black;
  border-right: 1px solid black;
  /*transition: background-color 0.5s ease, color 0.25s ease, white 0.25s ease;*/

  display: grid;
  align-items: center;
  text-align: center;
}
.modeName:hover {
  /* color: var(--darker-blue);*/
  background-color: var(--dark-blue);
}

.modeNameWorking {
  width: 40%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    rgb(46 59 194 / 37%),
    rgb(46 59 194 / 22%) 5px,
    rgb(46 59 194 / 35%) 5px,
    rgb(210 63 210 / 35%) 10px
  );
  color: black;
  border-right: 1px solid black;
  /*transition: background-color 0.5s ease, color 0.25s ease, white 0.25s ease;*/

  display: grid;
  align-items: center;
  text-align: center;
}
.modeNameWorking:hover {
  /* color: var(--darker-blue);*/
  background-color: var(--dark-blue);
}

.modeDescription {
  width: 60%;
  height: 100%;
  padding: 5px;
  color: black;
  /*transition: background-color 0.5s ease, color 0.25s ease, white 0.25s ease;*/
  display: grid;
  align-items: center;
  text-align: center;
}

.metronomeButtonsGrid {
  display: flex;
  justify-content: center;
  align-content: space-evenly;

  max-width: 50%;
  margin: auto;
  margin-bottom: 10px;
}

.metronomeButtonsGrid .col {
  flex: 1;
  align-items: stretch;
}

.metronomeButtonsGrid .button {
  padding: 15px;
  margin: 5px;
  border: 1px solid rgb(0, 0, 0);
  text-align: center;
  vertical-align: middle;
  background-color: var(--light-blue);
}

.metronomeButtonsGrid .off {
  padding: 21px;
}

.metronomeButtonsGrid .button:hover {
  background-color: var(--dark-blue);
}
.metronomeButtonsGrid .selected {
  background-color: var(--dark-blue);
}
.metronomeButtonsGrid .heading {
  background-color: white;
}

/* CSS for Controls block */

.controlsContainer {
  max-width: 75%;
  margin: auto;
  margin-bottom: 10px;
  margin-top: 10px;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.controlsItem {
  text-align: center;
  margin-right: 5px;
  margin-left: 5px;
}

.play {
  width: 100px;
  float: left;
}

.cancel {
  width: 50px;
  padding-right: 10px;
  padding-top: 25px;
  float: left;
}

.playStop {
  width: 120px;
  height: 120px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-light) 100%
  );
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  outline: none;
}

.playStop:focus {
  box-shadow: var(--shadow), 0 0 0 3px rgba(16, 185, 129, 0.3);
}

.playStop::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.playStop:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow), 0 0 20px rgba(16, 185, 129, 0.4);
}

.playStop:hover::before {
  left: 100%;
}

.playStop:active {
  transform: scale(0.95);
}

/* Play icon (triangle) */
.playStop-icon.play-icon {
  width: 0;
  height: 0;
  border-left: 34px solid var(--surface);
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  margin-left: 4px;
  transition: all 0.2s ease;
}

/* Stop icon (square) */
.playStop-icon.stop-icon {
  width: 34px;
  height: 34px;
  background-color: var(--surface);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Pause icon (two bars) */
.playStop-icon.pause-icon {
  width: 20px;
  height: 20px;
  position: relative;
  transition: all 0.2s ease;
}

.playStop-icon.pause-icon::before,
.playStop-icon.pause-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 20px;
  background-color: var(--surface);
  border-radius: 1px;
}

.playStop-icon.pause-icon::before {
  left: 2px;
}

.playStop-icon.pause-icon::after {
  right: 2px;
}

.challengeButton {
  padding: 2px;
  margin: 2px;
  border: 1px solid rgb(0, 0, 0);
  text-align: center;
  vertical-align: middle;
}

.challengeAvailable {
  background-color: var(--light-blue);
}

.Available {
  background-color: var(--greyed-out);
}

.challengeSelected {
  background-color: var(--dark-blue);
}

.challengeAvailable:hover {
  background-color: var(--dark-blue);
}

/** Toggle Switches CSS from https://www.w3schools.com/howto/howto_css_switch.asp **/
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.toggleSlider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.toggleSlider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .toggleSlider {
  background-color: var(--dark-blue);
}

input:focus + .toggleSlider {
  box-shadow: 0 0 1px var(--dark-blue);
}

input:checked + .toggleSlider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.toggleSlider.round {
  border-radius: 34px;
}

.toggleSlider.round:before {
  border-radius: 50%;
}

/** Slider Bar CSS **/

.slideContainer {
  width: 100%;
}

/* The slider itself */
.slider {
  -webkit-appearance: none; /* Override default CSS styles */
  appearance: none;
  height: 15px;
  border-radius: 5px;
  width: 100%; /* Full-width */
  background: #d3d3d3; /* Light Grey background */
  outline: none; /* Remove outline */
  opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: 0.2s; /* 0.2 seconds transition on hover */
  transition: opacity 0.2s;
}

/* Mouse-over effects */
.slider:hover {
  opacity: 1; /* Fully shown on mouse-over */
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 25px; /* Set a specific slider handle width */
  height: 25px;
  border-radius: 50%;
  background: var(--dark-blue); /* Green background */
  cursor: pointer; /* Cursor on hover */
}

.slider::-moz-range-thumb {
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  border-radius: 50%;
  background: var(--dark-blue); /* Green background */
  cursor: pointer; /* Cursor on hover */
}

.iterationsDisplay {
  text-align: center;
}

/* CSS for Pictographs */

.gesturesContainer {
  margin: auto;
  display: grid;
  width: 250px;
  grid-template-columns: 125px 125px;
  grid-template-rows: 132px 132px;
  grid-gap: 10px 10px;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 5px;
}

.gesturesItem {
  width: 125px;
}

.gesturesButton {
  width: 75px;
  border-width: 3px;
  border-style: solid;
  border-color: #000000;
  padding: 20px;
}

.pulsationContainer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 15px;
}

.pulsationItem {
  width: 250px;
}

.pulsationButton {
  width: 200px;
  border-width: 3px;
  border-style: solid;
  border-color: #000000;
  padding: 20px;
}

.pulsationButton:active {
  background-color: var(--dark-purple);
}

.pulsationButton-highlighted {
  background-color: var(--dark-purple);
}

.tonalpulsationContainer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 15px;
}

.tonalpulsationItem {
  width: 250px;
}

.tonalpulsationButton {
  width: 200px;
  border-width: 3px;
  border-style: solid;
  border-color: #000000;
  padding: 20px;
}

.tonalpulsationButton:active {
  background-color: var(--dark-purple);
}

.tonalpulsationButton-highlighted {
  background-color: var(--dark-purple);
}

.conjunctContainer {
  width: 600px;
  position: relative;
  text-align: center;
  margin: auto;
  margin-bottom: 15px;
}

.conjunctImg {
  width: 600px;
}

.conjunctClicker {
  position: absolute;
  top: 56px;
  width: 60px;
  height: 60px;
}

.conjunctHighlighter {
  position: absolute;
  top: 60px;
  width: 60px;
  height: 60px;
  z-index: -1;
}

.conjunct5th,
.sd5 {
  left: 0px;
}
.conjunct6th,
.sd6 {
  left: 90px;
}
.conjunct7th,
.sd7 {
  left: 180px;
}
.conjunctFO,
.sd1 {
  left: 270px;
}
.conjunct2nd,
.sd2 {
  left: 360px;
}
.conjunct3rd,
.sd3 {
  left: 450px;
}
.conjunct4th,
.sd4 {
  left: 540px;
}

.disjunctContainer {
  width: 714px;
  position: relative;
  text-align: center;
  margin: auto;
  margin-bottom: 15px;
}

.disjunctImg {
  width: 714px;
}

.disjunctClicker {
  position: absolute;
  top: 60px;
  width: 60px;
  height: 60px;
}

.disjunctHighlighter {
  position: absolute;
  top: 60px;
  width: 60px;
  height: 60px;
  z-index: -1;
}

.disjunctF {
  left: 0px;
  width: 84px;
}
.disjunct2nd {
  left: 102px;
}
.disjunct3rd {
  left: 192px;
}
.disjunct4th {
  left: 282px;
}
.disjunct5th {
  left: 372px;
}
.disjunct6th {
  left: 462px;
}
.disjunct7th {
  left: 552px;
}
.disjunctO {
  left: 630px;
  width: 84px;
}

.harmonicityContainer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 15px;
}

.dichordImg {
  width: 75px;
}

.triadsContainer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 15px;
}

.triadDiv {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 20px;
  margin-left: 20px;
}

.triadImg {
  width: 40px;
}

.sevenths-keys {
  text-align: left;
}

.seventhsContainer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
}

.seventhDiv {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 20px;
  margin-left: 20px;
}

.seventhImg {
  width: 35px;
}

.diatonicTrackingContainer {
  margin: auto;
  max-width: 853px;
}

.chromaticTrackingContainer {
  margin: auto;
  max-width: 853px;
}

/* CSS for Training Sequence block */

.seqContainer {
  max-width: 75%;
  margin: auto;
}

.seqRow {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: space-evenly;
  max-width: 75%;
  margin: auto;
  margin-bottom: 2px;
}

.seqNumber {
  position: relative;
  padding: 15px;
  width: 20px;
  height: 18px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid white;
}

.seqNumber:hover {
  background-color: var(--light-blue);
}

.seqSelected {
  position: relative;
  padding: 15px;
  width: 20px;
  height: 18px;
  border: 1px solid black;
  text-align: center;
  vertical-align: middle;
  background-color: var(--dark-blue);
}

.seqOverlay {
  position: absolute;
  height: 10px;
  width: 50px;
  top: 38px;
  left: 0px;
}

.seqDescription {
  max-width: 75%;
  margin: auto;
  text-align: center;
  vertical-align: middle;
  border: 2px solid rgb(221, 221, 221);
}

/* CSS for Keyboard display */

.key {
  position: absolute;
  font-family: Helvetica;
  font-weight: 100;
  font-size: 12px;
  border: 1px solid rgba(32, 32, 32, 0.2);
  border-radius: 0px 0px 5px 5px;
  cursor: pointer;
  box-shadow: 0px 5px 1px rgba(32, 32, 32, 0.2);
  -webkit-transition: margin 0.05s ease, background-color 0.05s ease,
    box-shadow 0.05s ease;
  transition: margin 0.05s ease, background-color 0.05s ease,
    box-shadow 0.05s ease;
}

.key:hover {
  background-color: var(--keyboard-highlight);
}
.key.pressed {
  background-color: var(--keyboard-highlight);
}

.key .label {
  position: absolute;
  bottom: 5px;
  text-align: center;
  left: 0px;
  right: 0px;
}

.key .scaleLabel {
  position: absolute;
  bottom: 20px;
  text-align: center;
  left: 0px;
  right: 0px;
}

.key .trumpet {
  position: absolute;
  bottom: 40px;
  text-align: center;
  left: 0px;
  right: 0px;
}

.scaleLabel.shift {
  color: #c94e02;
  color: black;
  text-shadow: none;
  border-radius: 18px;
  border: 3px solid #f59f00;
  background-color: #f59f00;
}

.keyLabel {
  font-weight: 900;
  color: black;
  text-shadow: 0px 0px 0px #ebf508;
  font-size: 14px;
}

.black {
  background-color: rgb(32, 32, 32);
  color: #ffffff;
  z-index: 1;
  text-shadow: 0px -1px 1px #ff0000;
}

.blue {
  background-color: var(--greyed-out);
  color: #3008f5;
  z-index: 1;
  text-shadow: 0px 1px 1px #08e8f5;
}

.white {
  background-color: snow;
  color: #3008f5;
  z-index: 0;
  text-shadow: 0px 1px 1px #08e8f5;
}

/* .diatonic{
} */
.nonDiatonic {
  background-color: #666699;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0) 5px,
    rgba(0, 0, 0, 0.3) 5px,
    rgba(0, 0, 0, 0.3) 10px
  );
}

.tonic {
  background-color: #6699ff;
}

.keyboard-holder {
  position: relative;
  width: 932px;
  margin: 30px auto 60px auto;
  height: 200px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
}

.keyboard-home {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3rem;
  width: 3rem;
  margin-top: 0.25rem;
  background-color: #f8f9fa;
  border: 2px solid #ddd;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.keyboard-home:hover {
  background-color: var(--light-blue);
  border-color: #ccc;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(2px);
}

.keyboard-home-icon {
  height: 2rem;
  width: 2rem;
}

.river {
  position: absolute;
  background-color: var(--river-purple);
  background-image: url("images/icons/purplezigzag.jpg");
  z-index: 0;
}

/* CSS for toolTip box */
.popup-container {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0); /* Fallback color */
  opacity: 0;
  transition: background-color 0.4s ease, opacity 0.4s ease;
}

.popup-container.show {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.4);
}

.popup-header {
  height: 34px;
}

.popup-instructions {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  text-align: center;
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.popup-contents {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  transform: scaleY(0.1) scaleX(0.2);
  transform-origin: top center;
  opacity: 0;
  filter: blur(6px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease,
    filter 0.3s ease;
}

.popup-container.show .popup-contents {
  transform: scaleY(1) scaleX(1);
  opacity: 1;
  filter: blur(0);
}

.popup-contents.popup-narrow {
  width: 350px;
}

.popup-close {
  color: black;
  background-color: white;
  float: right;
  width: 30px;
  height: 29px;
  position: relative;
  top: -39px;
  text-align: center;
  border: 2px solid black;
  font-size: 22px;
  font-weight: bold;
  margin: 0;
}

.popup-close:hover,
.popup-close:focus {
  background-color: var(--light-blue);
  text-decoration: none;
  cursor: pointer;
}

/* CSS for Results block */

div#resultsHeading {
  margin-bottom: 10px;
}

.resultsList {
  max-width: 75%;
  margin: auto;
  margin-top: 10px;
  text-align: center;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  margin: auto;
  vertical-align: middle;
}

.resultsListButton {
  background-color: var(--light-grey-background);
  padding: 5px;
  margin-right: 3px;
  border-width: 1px;
  border-style: solid;
  border-color: black;
}

.expired {
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0) 5px,
    rgba(0, 0, 0, 0.3) 5px,
    rgba(0, 0, 0, 0.3) 10px
  );
}

.resultsListHighlighted {
  background-color: var(--light-grey-background);
  border-width: 3px;
}

.resultsContainer {
  max-width: 75%;
  margin: auto;
  margin-top: 10px;
  text-align: center;
}

.resultsRow {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  margin: auto;
  width: 80%;
}

.resultsSpoken {
  width: 20%;
}
.resultsDichords {
  width: 13.5%;
}

.labelCell {
  text-align: center;
  text-decoration: underline;
  background-color: var(--light-grey-background);
  border-width: 1px;
  border-style: solid;
  border-color: white;
}

.resultsCell {
  text-align: center;
  background-color: var(--light-grey-background);
  border-width: 1px;
  border-style: solid;
  border-color: white;
}

.resultsNotes {
  cursor: pointer;
}

.resultsNotes:hover {
  background-color: var(--lighhter-grey-highlight);
}

.resultsReplayCurrent {
  outline: 2px solid var(--dark-blue);
  outline-offset: 2px;
}

.resultsReplayCurrent .resultsCell {
  filter: brightness(0.95);
}

.resultsReplayControls {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.resultsSlowMotionButton {
  overflow: hidden;
  position: relative;
}

.resultsSlowMotionButton:after {
  background: red;
  content: "";
  height: 100%;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  transition: clip-path 0.2s linear;
  width: 100%;
  clip-path: polygon(0 0, 0 0, 0 0, 0 0);
}

.resultsSlowMotionButton.muted:after {
  clip-path: polygon(0 0, 2px 0, 100% calc(100% - 2px), 100% 100%, calc(100% - 2px) 100%, 0 2px);
}

.resultCorrect {
  background-color: var(--green-answer-correct);
}

.resultError {
  background-color: var(--orange-answer-incorrect);
}

/* .resultNull {
} */

.reactionEarly {
  color: black;
  background-color: #b3ccfc; /* light blue */
}

.reactionOnTime {
  color: black;
  background-color: #80c977; /* light green */
}

.reactionSmall {
  color: black;
  background-color: #d9e879; /* pale yellow */
}

.reactionMedium {
  color: black;
  background-color: #f0c467; /* pale orange */
}

.reactionLarge {
  color: black;
  background-color: #ff7a70; /* salmon / pale red */
}

.reactionNull {
  color: black;
  background-color: grey; /* grey */
}

.summaryTitle {
  text-align: center;
  font-weight: 700;
  margin-top: 20px;
}
.summarySubTitle {
  text-align: center;
  font-weight: 500;
  margin-top: 0px;
}

.summaryTable {
  max-width: 75%;
  margin: auto;
  margin-bottom: 10px;
  margin-top: 0px;
}

.summaryRow {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.summaryKey {
  text-align: right;
  width: 50%;
  margin-right: 5px;
}

.summaryValue {
  text-align: left;
  width: 50%;
  margin-left: 5px;
}

.login {
  text-align: center;
}

.register {
  text-align: center;
}

.error {
  color: red;
}

.dashSummaryStats {
  padding-bottom: 30px;
}

.dashScoresGrid {
  padding-top: 20px;
  padding-bottom: 20px;
  display: grid;
  grid-template-columns: 10% repeat(3, 30%);
  grid-template-rows: 50% 50%;
  gap: 10px 10px;
  justify-items: start;
  align-items: center;
}

.dashScoresMode {
  grid-area: 1 / 1 / span 2 / span 1;
}
/*
.dashLevelContainer {
} */

.dashLevelHeading {
  text-align: center;
  border: 1px solid black;
  flex-grow: 1;
}

.dashStepContainer {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  flex-grow: 1;
}

.dashScoresStep {
  text-align: center;
  border: 1px solid black;
  padding: 2px;
  flex-grow: 1;
}

.recentSessions {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
}

/* .dashDayContainer {
} */

.dashDayHeading {
  text-align: center;
  border: 1px solid black;
  flex-grow: 1;
}

.dashSessionsContainer {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  flex-grow: 1;
  padding-bottom: 30px;
}

.dashDaySession {
  text-align: center;
  border: 1px solid black;
  padding: 2px;
  flex-grow: 1;
}

.goldstar {
  height: 20px;
  display: none;
  float: right;
}

.goldstar-progress {
  height: 20px;
  display: inline;
}

.studentButton {
  padding: 5px;
  margin: 2px;
  cursor: pointer;
  border: 1px solid rgb(0, 0, 0);
  text-align: center;
  vertical-align: middle;
  background-color: var(--greyed-out);
}

.studentButton:hover {
  background-color: var(--dark-blue);
}

.studentButton-selected {
  background-color: var(--dark-blue);
}

.studentButton-active {
  background-color: var(--light-blue);
}
