body {
  background-color: black;
  background-image: url("space.png");
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  overflow: hidden;
  user-select: none;
}

#bottomBar {
  position: absolute;
  bottom: 22vh;
  left: 0;
  width: 100%;
  height: 4vh;
  background-color: rgba(255, 255, 255, 0.08)
}

#numbers {
  margin: 0;
  font-size: 4vw;
  color: white;
  position: absolute;
  bottom: 9.8vw;
  left: 1vw;
  width: 99vw;
}

#nextNumber {
  margin: 0;
  font-size: 8vw;
  text-align: center;
  color: white;
  position: absolute;
  bottom: 2vw;
  left: 0;
  width: 100%;
  opacity: 0;
}

#songCover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#beats {
  position: absolute;
  top: 0;
  right: 2vh;
  font-size: 10vh;
  margin: 0;
  color: #404040;
  transition: opacity 5s
}

#timerBar {
  position: absolute;
  top: 5vh;
  left: 50%;
  transform: translateX(-50%);
  width: 40vh;
  height: 4vh;
  background-color: #a5a5f1;
  border-radius: 2vh 0 2vh 0;
  z-index: 3;
  display: none;
  transition: opacity 5s;
  opacity: 1;
}

#timerBarInner {
  position: absolute;
  top: 0.5vh;
  left: 0.5vh;
  width: 39vh;
  height: 3vh;
  background-color: #65658f;
  border-radius: 1.5vh 0 1.5vh 0;
}

#timer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #b4c6ec;
  -webkit-text-stroke: 0.2vh black;
  font-family: 'Carter One';
  font-size: 3vh;
  line-height: 4.3vh;
  margin: 0;
}

#accuracyLive {
  position: absolute;
  top: 82.5vh;
  left: 50%;
  transform: translateX(-50%);
  color: #a5a5f1;
  font-size: 2.5vh;
}

#songInfo {
  position: absolute;
  bottom: 0;
  left: 0.8vh;
  font-size: 4vh;
  margin: 0;
  color: #404040;
}

.button {
  position: absolute;
  bottom: 12vh;
  width: 10vh;
  height: 10vh;
  border: 1vh solid #202020;
  border-radius: 10vh;
  transform: translate(-50%, -50%);
  font-size: 8vh;
  line-height: 9vh;
  text-align: center;
  color: #202020;
}

#scrollDiv {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#finishScreen {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -80%);
  width: 50vw;
  height: 25vw;
  background-color: rgba(125, 125, 125, 0.4);
  border: 0.3vw solid #606060;
  display: none;
}

#finishTitle {
  position: static;
  text-align: center;
  font-size: 4vw;
  font-weight: bold;
  margin: 0.4vw;
}

#finishInfo {
  text-align: center;
  font-size: 2vw;
  margin: 0.4vw;
  margin-top: 2vw;
}

#grade {
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  font-size: 8vw;
  margin-top: 0.4vw;
  transform: rotate(10deg);
}

#finishButton {
  position: absolute;
  bottom: 0.5vw;
  left: 50%;
  transform: translateX(-50%);
  background-color: #d0d0d0;
  border: 0.3vh solid #404040;
  color: #404040;
  font-size: 2vw;
}

#finishButton:hover {
  cursor: pointer;
}





/*Menu stuff*/
#menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e0a0d8;
  background-image: linear-gradient(135deg, #e0a0d8, #68a0e0);
  transition: opacity 1.5s;
  opacity: 1;
}

#title {
  font-size: calc(3vw + 3vh);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  margin-top: 0vw;
  margin-left: 1.2vw;
  color: rgba(0, 0, 0, 0.5)
}

#subtitle {
  font-size: calc(1vw + 1vh);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  margin: 2vh;
  margin-left: 1.2vw;
  color: rgba(0, 0, 0, 0.5);
  width: calc(15vw + 15vh);
}

#noteSpeedText {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #4f4060;
  font-size: 20px;
  line-height: 20px;
  margin: 0;
}

#noteSpeed {
  position: absolute;
  top: 40px;
  right: 10px;
}

#menuUpButton {
  position: absolute;
  bottom: 42%;
  left: calc(50% + 22vh);
  color: #e0a0d8;
  font-size: 8vh;
  -webkit-text-stroke: 0.4vh #4f4060;
  transition: transform 300ms;
}

#menuUpButton:hover {
  cursor: pointer;
  transform: scale(1.1, 1.1);
}

#menuDownButton {
  position: absolute;
  top: 42%;
  left: calc(50% + 22vh);
  color: #e0a0d8;
  font-size: 8vh;
  -webkit-text-stroke: 0.4vh #4f4060;
  transition: transform 300ms;
}

#menuDownButton:hover {
  cursor: pointer;
  transform: scale(1.1, 1.1);
}

.menuDiv {
  position: absolute;
  left: 50%;
  width: 40vh;
  height: 24vh;
  background-color: #c090d0;
  border: 0.5vh ridge #8870a0;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-rows: 18vh 6vh;
  grid-template-columns: 18vh 22vh;
  transition: top 500ms;
}

.menuDivImg {
  border: 0.5vh ridge #8870a0;
}

.menuImg {
  width: 100%;
  height: 100%;
}

.menuDivName {
  border: 0.5vh ridge #8870a0;
  font-size: 2.4vh;
  color: #4f4060;
  font-weight: bold;
  text-align: center;
  line-height: 2vh;
  padding-top: 0.5vh;
}

.menuDivInfo {
  border: 0.5vh ridge #8870a0;
  grid-column: 2 / 2;
  grid-row: 1 / span 2;
  color: #4f4060;
  font-size: 2.2vh;
  padding: 0.5vh;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;  
}

.playButton {
  background-color: #e0a0d8;
  border: 0.3vh solid #8870a0;
  color: #4f4060;
  font-size: 2vh;
  margin: 0.5vh;
}

.playButton:hover {
  cursor: pointer;
}