* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.modal {
  background-color: #000;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  inset: 0;
}

.hidden {
  display: none !important;
}

.hotkey-reservoir {
  width: 2rem;
  height: 2rem;
  background-color: black;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.2rem;
  border: 1px solid var(--default-border-color);
  border-radius: 0.2rem;
}
.hotkey-reservoir::after {
  content: attr(data-hotkey-reservoir);
}

input {
  padding: var(--default-padding);
}

button {
  border: 1px solid var(--default-border-color);
  background-color: #eaad12;
  padding: var(--default-padding);
}

body {
  padding: var(--default-padding);
  color: #cfcfcf;
  background-color: #383838;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template: "h c" max-content "t c" auto/auto 30rem;
}
body #error-display {
  font-size: 150%;
  color: red;
}
body #header {
  grid-area: h;
}
body #controls {
  grid-area: t;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body #controls #inactive {
  grid-area: g;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--default-gap);
  font-size: 300%;
}
body #controls #active {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1em;
}
body #controls #active #subject {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
body #controls #active #subject .hint {
  font-size: 300%;
}
body #controls #active #instrument {
  position: relative;
  width: -moz-max-content;
  width: max-content;
  justify-self: center;
  height: 10em;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
body #controls #active #instrument * {
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
body #controls #active #instrument .octave-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: center;
  border: 1px solid black;
  padding: 1rem;
  background-color: #ff4f4f;
  height: 50%;
  border-radius: 0.3rem;
}
body #controls #active #instrument .octave-button::after {
  content: "(" attr(data-hotkey) ")";
}
body #controls #active #instrument .keys {
  display: flex;
  flex-direction: row;
  position: relative;
  height: 100%;
}
body #controls #active #instrument .keys .key {
  padding-bottom: 0.5rem;
  border: 1px solid black;
  border-top: 5px solid black;
  border-bottom-left-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}
body #controls #active #instrument .keys .key::after {
  content: attr(data-note) attr(data-octave);
}
body #controls #active #instrument .keys .key[data-hotkey]:not([data-hotkey=""])::before {
  content: "(" attr(data-hotkey) ")";
}
body #controls #active #instrument .keys .key.pressed {
  background-color: red;
}
body #controls #active #instrument .keys .white-key {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 3rem;
  text-align: center;
  color: #2d2d2d;
  background-color: #e2e2e2;
}
body #controls #active #instrument .keys .black-key {
  position: absolute;
  display: flex;
  font-size: 80%;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  top: 0;
  height: 60%;
  color: #e2e2e2;
  background-color: #2d2d2d;
  width: 2rem;
}
body #controls #active #instrument .keys .black-key:nth-child(1 of .black-key[data-note=Db]) {
  left: 2rem;
}
body #controls #active #instrument .keys .black-key:nth-child(1 of .black-key[data-note=Eb]) {
  left: 5rem;
}
body #controls #active #instrument .keys .black-key:nth-child(1 of .black-key[data-note=Gb]) {
  left: 11rem;
}
body #controls #active #instrument .keys .black-key:nth-child(1 of .black-key[data-note=Ab]) {
  left: 14rem;
}
body #controls #active #instrument .keys .black-key:nth-child(1 of .black-key[data-note=Bb]) {
  left: 17rem;
}
body #controls #active #instrument .keys .black-key:nth-child(2 of .black-key[data-note=Db]) {
  left: 23rem;
}
body #controls #active #instrument .keys .black-key:nth-child(2 of .black-key[data-note=Eb]) {
  left: 26rem;
}
body #controls #active #instrument .keys .black-key:nth-child(2 of .black-key[data-note=Gb]) {
  left: 32rem;
}
body #controls #active #instrument .keys .black-key:nth-child(2 of .black-key[data-note=Ab]) {
  left: 35rem;
}
body #controls #active #instrument .keys .black-key:nth-child(2 of .black-key[data-note=Bb]) {
  left: 38rem;
}
body #controls #active #instrument .keys .black-key:nth-child(3 of .black-key[data-note=Db]) {
  left: 44rem;
}
body #controls #active #instrument .keys .black-key:nth-child(3 of .black-key[data-note=Eb]) {
  left: 47rem;
}
body #controls #active #instrument .keys .black-key:nth-child(3 of .black-key[data-note=Gb]) {
  left: 53rem;
}
body #controls #active #instrument .keys .black-key:nth-child(3 of .black-key[data-note=Ab]) {
  left: 56rem;
}
body #controls #active #instrument .keys .black-key:nth-child(3 of .black-key[data-note=Bb]) {
  left: 59rem;
}
body #controls #active #instrument .keys .black-key:nth-child(4 of .black-key[data-note=Db]) {
  left: 65rem;
}
body #controls #active #instrument .keys .black-key:nth-child(4 of .black-key[data-note=Eb]) {
  left: 68rem;
}
body #controls #active #instrument .keys .black-key:nth-child(4 of .black-key[data-note=Gb]) {
  left: 74rem;
}
body #controls #active #instrument .keys .black-key:nth-child(4 of .black-key[data-note=Ab]) {
  left: 77rem;
}
body #controls #active #instrument .keys .black-key:nth-child(4 of .black-key[data-note=Bb]) {
  left: 80rem;
}
body #controls #active #instrument .keys .black-key:nth-child(5 of .black-key[data-note=Db]) {
  left: 86rem;
}
body #controls #active #instrument .keys .black-key:nth-child(5 of .black-key[data-note=Eb]) {
  left: 89rem;
}
body #controls #active #instrument .keys .black-key:nth-child(5 of .black-key[data-note=Gb]) {
  left: 95rem;
}
body #controls #active #instrument .keys .black-key:nth-child(5 of .black-key[data-note=Ab]) {
  left: 98rem;
}
body #controls #active #instrument .keys .black-key:nth-child(5 of .black-key[data-note=Bb]) {
  left: 101rem;
}
body #controls #active #hotkey-reservoir {
  display: flex;
  flex-direction: row;
  gap: var(--default-gap);
}
body #controls #active #hotkey-reservoir .hotkey-reservoir-display {
  display: grid;
  gap: var(--default-gap);
  height: -moz-max-content;
  height: max-content;
  grid-template-columns: repeat(11, auto);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
body #chat {
  grid-area: c;
  display: flex;
  flex-direction: column;
  background-color: #2c2c2c;
  overflow: hidden;
  align-self: center;
  height: 95vh;
}
body #chat #chat-display {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--default-padding);
  overflow: scroll;
}
body #chat #chat-display .chat-msg .chat-sender {
  font-weight: bold;
}
body #chat #chat-display .chat-msg .chat-sender::after {
  content: ": ";
}
body #chat #chat-input {
  height: -moz-max-content;
  height: max-content;
}/*# sourceMappingURL=styles.css.map */