body {
  background-color: white;
  overflow-x: hidden;
}
.hide {
  display: none;
}
#player {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
}
.player {
  font-size: larger;
  margin: 5px;
  height: 35px;
  min-width: 35px;
}
#error {
  background-color: brown;
  color: lightgray;
}
#github {
  position: absolute;
  top: 5px;
  right: 5px;
}
#sheet-container {
  height: 50vh;
}
#audio-offset {
  width: 5em;
}
#renderer-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
#renderer-sheet > svg {
  max-width: 100%;
  height: auto;
}
.notehead {
  position: relative;
  cursor: pointer;
  z-index: 10;
}

.Layout {
  display: grid;
  place-items: center;
}
.measure {
  pointer-events: bounding-box;
  position: relative;
  z-index: 1;
}
.note {
  pointer-events: bounding-box;
  position: relative;
  z-index: 2;
}
#player-sheet {
  user-select: none;
  overflow: auto;
  overflow-y: hidden;
  padding-left: 1rem;
}
*:focus {
  outline: none;
}
.player-cursor {
  z-index: 0;
  width: 2px;
  will-change: transform;
  position: absolute;
  top: 0;
  left: 0;
  background: rgb(234, 107, 36);
}
.text {
  user-select: none;
}

:root {
  --pulseColor: #ff8d6a;
}

@keyframes neonPulse {
  0%,
  100% {
    box-shadow: 0 0 30px #ff3c00, 0 0 60px #ff3c00, 0 0 90px #ff3c00,
      0 0 120px #ff3c00, 0 0 150px #ff3c00, 0 0 180px #ff3c00, 0 0 210px #ff3c00;
  }
  50% {
    box-shadow: 0 0 60px #ff3c00, 0 0 90px #ff3c00, 0 0 120px #ff3c00,
      0 0 150px #ff3c00, 0 0 180px #ff3c00, 0 0 210px #ff3c00, 0 0 240px #ff3c00;
  }
}

/*
@keyframes neonPulse {
  0%,
  100% {
    box-shadow: 0 0 30px #ffffff, 0 0 60px #ffffff, 0 0 90px #ffffff,
      0 0 120px #ff6600, 0 0 150px #ff6600, 0 0 180px #ff6600, 0 0 210px #ff6600;
  }
  50% {
    box-shadow: 0 0 60px #ffffff, 0 0 90px #ffffff, 0 0 120px #ffffff,
      0 0 150px #ff6600, 0 0 180px #ff6600, 0 0 210px #ff6600, 0 0 240px #ff6600;
  }
}
*/

.neonCursor {
  background-color: #ff3c00;
  animation: neonPulse 1.5s infinite;
}

.spinner {
  position: relative;
  z-index: 6;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top: 4px solid #3498db;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  margin: 50px auto;
}
.spinner__text {
  position: relative;
  z-index: 7;
  top: 41px;
  left: -51px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.UserMistakes {
  position: fixed;
  color: white;
  width: 190px;
  top: 6%;
  right: 5%;
  z-index: 21;
  background-color: red;
  border-radius: 5px;
  padding: 10px;
}
