@font-face {
  font-family: 'SevenSegment';
  src: url("../fonts/SevenSegment.ttf");
  font-weight: normal;
  font-style: normal;
}

main {
  background: -webkit-gradient(linear, left top, left bottom, from(#ffcd78), to(#ffda9b));
}

.piano {
  background: #f9c5d1;
  background: linear-gradient(315deg, #f9c5d1 0%, #9795ef 74%);
  max-width: 95vw;
  border-radius: 5px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
}

.piano * {
  color: #fff;
}

.potentiometer {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.potentiometer span.value {
  background-color: #fff;
  min-width: 100%;
  padding: 2px 6px;
  border-radius: 4px;
  position: absolute;
  bottom: calc( 100% + 5px);
  left: 0;
  display: flex;
  justify-content: center;
  font-size: 0.6rem;
  color: #000;
  opacity: 0;
  visibility: hidden;
}

.potentiometer span.value.active {
  opacity: 1;
  visibility: visible;
}

.potentiometer:hover span.value {
  opacity: 1;
  visibility: visible;
}

.potentiometer .box {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.potentiometer .box .circle {
  background-color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 transparent;
  transition: box-shadow ease .1s;
  cursor: pointer;
}

.potentiometer .box .circle.shadowed {
  box-shadow: 0 0 15px #ffcd78;
}

.potentiometer .box .circle .panner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}

.potentiometer .box .circle .panner::before {
  content: '';
  background-color: rgba(0, 0, 0, 0.3);
  width: 2px;
  height: 10px;
  position: absolute;
  top: -2px;
  left: calc( 50% - 1px);
}

.potentiometer span.description {
  width: 100%;
  font-size: 0.6rem;
  text-align: center;
}

.potentiometer.fadered .box .circle .panner::before {
  background-color: #ffcd78;
}

.button {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.button .circle {
  background-color: #fff;
  width: 22px;
  height: 22px;
  margin: 6px;
  border-radius: 6px;
  position: relative;
}

.button .circle::before {
  content: '';
  background-color: rgba(0, 0, 0, 0.25);
  width: 4px;
  height: 4px;
  border-radius: 100vw;
  position: absolute;
  top: 4px;
  left: 4px;
}

.button span {
  width: 100%;
  margin-top: 1px;
  font-size: 0.55rem;
  text-align: center;
}

.button.active .circle::before {
  background-color: #2cc12c;
  box-shadow: 0 0 5px #2cc12c;
}

.setup {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.15);
}

.setup .sections .section {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.setup .sections .section:first-child, .setup .sections .section:last-child {
  width: 30%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-top: none;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.15);
}

.setup .sections .section:first-child {
  border-left: none;
  border-radius: 0 0 20px 0;
}

.setup .sections .section:last-child {
  border-right: none;
  border-radius: 0 0 0 20px;
}

.setup .sections .section header {
  padding-bottom: 15px;
}

.setup .sections .section header h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-weight: 300;
  text-align: center;
  white-space: nowrap;
}

.setup .sections .section > .flex {
  gap: 10px;
}

.setup .sections .section > .flex fieldset {
  flex-grow: 1;
}

fieldset {
  background-color: rgba(0, 0, 0, 0.035);
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  justify-content: space-around;
}

fieldset legend {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 300;
  font-size: 0.6rem;
  white-space: nowrap;
}

fieldset legend.center {
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

.select-box label {
  margin-right: 8px;
  font-size: 0.8rem;
}

.select-box select {
  background-color: #fff;
  padding: 2px 4px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  font-size: 0.7rem;
  color: #000;
  cursor: pointer;
  appearance: none;
}

.select-box select optgroup {
  color: #000;
}

.select-box select option {
  color: #000;
}

.select-box select option.img {
  background-image: var(--img);
}

.select-box.strech select {
  width: 100%;
}

.select-box.settings {
  align-items: center;
  justify-content: space-between;
}

.select-box.settings span {
  font-size: 0.6rem;
}

.select-box.settings select {
  width: 60%;
}

.board {
  padding: 20px;
  border-bottom: 1px solid #000;
  justify-content: space-evenly;
}

.board * {
  color: #fff;
}

.board .speaker {
  background-image: url(../img/speaker-grid.jpg);
  background-size: 100% auto;
  border: 1px solid #3C412C;
  border-radius: 100vw;
  flex: 1;
  align-self: stretch;
}

.board .display {
  background-color: #ffcd78;
  background: linear-gradient(180deg, #ffcd78, #ffda9b);
  min-width: 20%;
  margin: 0 10px;
  padding: 10px 20px;
  border: 1px solid #3C412C;
  border-radius: 10px;
}

.board .display * {
  font-family: 'SevenSegment';
  line-height: 1rem;
  color: #3C412C;
}

.board .display header {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.board .display .data {
  display: flex;
}

.board .display .data > * {
  flex: 1;
  display: flex;
}

.board .display .data span {
  font-size: 1.2rem;
}

.board .display .data span span {
  opacity: 0;
}

.keyboard {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0 8px 8px 8px;
  overflow: hidden;
  overflow-x: scroll;
}

.keyboard .key {
  background-color: #fff;
  width: 30px;
  height: 170px;
  padding-bottom: 5px;
  border: 1px solid #000;
  border-top-color: transparent;
  border-radius: 0 0 3px 3px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  cursor: pointer;
}

.keyboard .key * {
  color: #000;
}

.keyboard .key:not(:last-child) {
  border-right: none;
}

.keyboard .key:hover, .keyboard .key.pressed {
  background-color: #e9e9e9;
}

.keyboard .key span {
  font-size: 0.6rem;
}

.keyboard .key .trigger {
  opacity: .6;
}

.keyboard .key .note .octave {
  font-size: 0.4rem;
}

.keyboard .key.black {
  background-color: #000;
  width: 20px;
  height: 99.16667px;
  margin-right: -10px;
  margin-left: -10px;
  border: none;
  z-index: 1;
}

.keyboard .key.black:hover, .keyboard .key.black.pressed {
  background-color: #2e2e2e;
}

.keyboard .key.black span {
  color: #fff;
}

.start-box {
  background-color: rgba(0, 0, 0, 0.25);
}

.start-box .start {
  background-color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  color: #000;
  cursor: pointer;
}
/*# sourceMappingURL=piano.css.map */