@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/dmmono.woff2") format("woff2");
}
* {
  font-family: "DM Mono";
}

body {
  margin: 0;
  overflow: hidden;
  font-family: "DM Mono", monospace;
  background: #000;
  color: #fff;
  transition: background-color 0.1s ease;
}

#header {
  background: #484848;
  height: 6vh;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 1.5vh;
  justify-content: space-between;
}
#header .logo {
  position: relative;
}
#header .logo img {
  height: 2.5vh;
  display: block;
}
#header .logo .version {
  color: #000;
  position: absolute;
  right: -10px;
  top: 0;
  font-size: 10px;
  font-weight: bold;
}
#header button#saveMidi {
  border: none;
  opacity: 0.4;
}

#settingsbar {
  width: 100%;
  height: 7vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #484848;
  justify-content: space-between;
}
#settingsbar #songSettings {
  display: flex;
  border-right: 1px solid #484848;
  height: 100%;
  flex-grow: 1;
}
#settingsbar #songSettings #songKey {
  width: auto;
  border-right: 1px solid #484848;
  padding-left: 1.5vh;
  padding-right: 1.5vh;
}
#settingsbar #songSettings #songScale {
  padding-left: 1.5vh;
  padding-right: 1.5vh;
}
#settingsbar #songSettings select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 0.5vw;
  border: none;
  color: #fff;
  background: none;
  cursor: pointer;
}
#settingsbar #songSettings select option {
  background: #000;
  color: #fff;
}
#settingsbar #soundSettings {
  display: flex;
  height: 100%;
  align-items: center;
  border-right: 1px solid #484848;
  flex-grow: 1;
  justify-content: space-evenly;
}
#settingsbar #midiSettings {
  display: flex;
  height: 100%;
  align-items: center;
  flex-grow: 1;
  justify-content: space-evenly;
}
#settingsbar #midiSettings .icon-select {
  opacity: 0.4;
}

.selectwrap {
  height: 100%;
  display: flex;
  align-items: center;
  width: 4vh;
}
.selectwrap .icon-select {
  cursor: pointer;
  position: absolute;
  pointer-events: none;
  width: 4vh;
}
.selectwrap .icon-select img {
  width: 3vh;
  display: block;
  margin: 0 auto;
}
.selectwrap select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 4vh;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
}
.selectwrap select option {
  background: #000;
  color: #fff;
}

.icon-select.color-changed {
  color: #009688;
}

#controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1rem;
}

#controls button {
  background: none;
  height: 100%;
  border: none;
  cursor: pointer;
  opacity: 0.4;
  width: 4vh;
  padding: 0;
}
#controls button img {
  width: 3vh;
  display: block;
  margin: 0 auto;
}

#controls button.active {
  opacity: 1;
}

#controls input[type=range] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: #484848;
  height: 0px;
  border: none;
  cursor: pointer;
  padding: 0;
}

#controls input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
          appearance: none;
  width: 4vw;
  height: 4vw;
  max-width: 30px;
  max-height: 30px;
  min-width: 16px;
  min-height: 16px;
  background: #000;
  border: 2px solid #484848;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -2px;
}

select, input[type=range], button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: none;
  padding: 0.5rem;
  font-size: 1rem;
  width: 100%;
  outline: none;
}

select:hover, input[type=range]:hover, button:hover {
  border-color: #777;
}

select:focus, input[type=range]:focus, button:focus {
  border-color: #333;
}

#touchArea {
  position: absolute;
  width: 100%;
  height: 50%;
  bottom: 0;
  display: flex;
  overflow: hidden;
}

.touchKey {
  flex-grow: 1;
  background: linear-gradient(rgb(0, 0, 0), rgba(0, 0, 0, 0.4));
  cursor: pointer;
}

.touchKey:nth-child(1) {
  background: linear-gradient(rgb(86, 49, 30), rgba(0, 0, 0, 0.8));
}

.touchKey:nth-child(2) {
  background: linear-gradient(rgb(135, 87, 61), rgba(0, 0, 0, 0.8));
}

.touchKey:nth-child(3) {
  background: linear-gradient(rgb(165, 130, 110), rgba(0, 0, 0, 0.8));
}

.touchKey:nth-child(4) {
  background: linear-gradient(rgb(202, 164, 142), rgba(0, 0, 0, 0.8));
}

.touchKey:nth-child(5) {
  background: linear-gradient(rgb(211, 211, 211), rgba(0, 0, 0, 0.8));
}

.touchKey:nth-child(6) {
  background: linear-gradient(rgb(194, 177, 214), rgba(0, 0, 0, 0.8));
}

.touchKey:nth-child(7) {
  background: linear-gradient(rgb(159, 127, 196), rgba(0, 0, 0, 0.8));
}

.touchKey:nth-child(8) {
  background: linear-gradient(rgb(131, 87, 180), rgba(0, 0, 0, 0.8));
}

.touchKey:nth-child(9) {
  background: linear-gradient(rgb(87, 49, 131), rgba(0, 0, 0, 0.8));
}

.touchKey:last-child {
  border-right: none;
}

.key-active {
  opacity: 0.7;
}

.floating-object {
  position: absolute;
  bottom: 0;
  opacity: 1;
  font-size: 2em;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  z-index: 10;
  pointer-events: none;
}

#touchAreaSlide {
  position: absolute;
  width: 100%;
  height: 10%;
  bottom: 40%;
  display: flex;
  overflow: hidden;
  z-index: 2;
}

.sliderKey {
  flex-grow: 1;
  background: linear-gradient(rgba(255, 255, 255, 0.405), rgba(255, 255, 255, 0.175));
}

.piano {
  display: flex;
  align-items: stretch;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50%;
}

.white-key, .black-key {
  border: 1px solid #000;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: background-color 0.6s ease-out;
}

.white-key {
  background-color: #212121;
  height: 10vh;
  width: 10%;
  z-index: 1;
}

.black-key {
  background-color: #000;
  height: 7vh;
  width: 0px;
  border: none;
  z-index: 2;
  box-shadow: inset 0px 0px 1px 1px #484848;
}

.black-key::after {
  content: "";
  position: relative;
  background-color: #000;
  height: 7vh;
  right: 1vw;
  width: 2vw;
  z-index: 2;
  display: block;
}

.white-key[data-note].highlight, .black-key[data-note].highlight::after {
  background-color: rgb(174, 108, 254);
  transition: background-color 0s ease-out;
  box-shadow: inset 0px 0px 9px 2px rgb(226, 158, 255);
}/*# sourceMappingURL=styles.css.map */