@font-face {
  font-family: Avenir;
  src: url("https://cdn.glitch.global/1db6bbc5-abec-49be-aac3-2ce51a290462/Avenir%20Black.ttf?v=1689625491217")
    format("opentype");
}

@font-face {
  font-family: Avenir Reg;
  src: url("https://cdn.glitch.global/1db6bbc5-abec-49be-aac3-2ce51a290462/Avenir%20Regular.ttf?v=1689692775232")
    format("opentype");
}

html {
  box-sizing: border-box;
  font-size: 16px;
  font-family: Avenir;
  background-color: #000000;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

/* adjust typography defaults */
body {
  margin: 1rem;
  line-height: 1.5;
  color: white;
  font-family: Avenir;
  overflow: auto;
}

/* images and videos max out at full width */
img,
video {
  height: auto;
  max-width: 100%;
}

.hidden {
  display: none;
}

#notSupported {
  padding: 1em;
  background-color: red;
  color: white;
  margin-top: 1em;
  margin-bottom: 1em;
}

#Title {
  width: 98%;
  left: 1%;
  right: 1%;
  position: relative;
  display: flex;
  align-items: baseline;
}

#Connect {
  height: auto;
  text-align: center;
}

#NM2 {
  height: auto;
  text-align: center;
  display: none;
}

#scale {
  justify-content: center;
  display: none;
  align-items: baseline;
}

#octave {
  justify-content: center;
  display: none;
  align-items: baseline;
}

#button {
  justify-content: center;
  display: none;
  align-items: baseline;
}

#buttonChannel {
  justify-content: center;
  display: none;
  align-items: baseline;
}

#knob {
  justify-content: center;
  display: none;
  align-items: baseline;
}

#knobChannel {
  justify-content: center;
  display: none;
  align-items: baseline;
}

#eLoopCheck {
  justify-content: center;
  display: none;
  align-items: baseline;
}

#buttonNote {
  justify-content: center;
  display: none;
  align-items: baseline;
}

#buttonCc {
  justify-content: center;
  display: none;
  align-items: baseline;
}

#buttonPc {
  justify-content: center;
  display: none;
  align-items: baseline;
}

#knobCc {
  justify-content: center;
  display: none;
  align-items: baseline;
}

#XAxisCheckNM {
  justify-content: center;
  display: none;
  align-items: baseline;
}

#XAxisChannelNM {
  justify-content: center;
  display: none;
  align-items: baseline;
}

#XAxisCcNM {
  justify-content: center;
  display: none;
  align-items: baseline;
}

#YAxisCheckNM {
  justify-content: center;
  display: none;
  align-items: baseline;
}

#YAxisChannelNM {
  justify-content: center;
  display: none;
  align-items: baseline;
}

#YAxisCcNM {
  justify-content: center;
  display: none;
  align-items: baseline;
}

#Apply {
  height: auto;
  text-align: center;
  display: none;
}

#Update {
  height: auto;
  text-align: center;
  display: none;
}

#UpdateText {
  display: none;
  text-align: left;
}

/* Absolute Center Spinner */
.loading {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: visible;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: none;
}

/* Transparent Overlay */
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: white 1.5em 0 0 0, white 1.1em 1.1em 0 0, white 0 1.5em 0 0, white -1.1em 1.1em 0 0, white -1.5em 0 0 0, white -1.1em -1.1em 0 0, white 0 -1.5em 0 0, white 1.1em -1.1em 0 0;
  box-shadow: white 1.5em 0 0 0, white 1.1em 1.1em 0 0, white 0 1.5em 0 0, white -1.1em 1.1em 0 0, white -1.5em 0 0 0, white -1.1em -1.1em 0 0, white 0 -1.5em 0 0, white 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.button-wrapper canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.tooltip1 {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted white;
}

/* Tooltip text */
.tooltip1 .tooltiptext1 {
  visibility: hidden;
  width: 200px;
  background-color: white;
  color: black;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  top: -5px;
  left: 200%;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip1:hover .tooltiptext1 {
  visibility: visible;
}

.tooltip2 {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted white;
}

/* Tooltip text */
.tooltip2 .tooltiptext2 {
  visibility: hidden;
  width: 200px;
  background-color: white;
  color: black;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  top: -5px;
  left: 200%;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip2:hover .tooltiptext2 {
  visibility: visible;
}

