:root {
  --sqr: 3vw;
  --hgt: 25vw;
  --snail_width: calc(6vw + 9vh);
  --start_width: 50vw;
  --price_width: 33vw;
}
html, body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  overflow-y: hidden;
}
#racing_track {
  height: 100%;
  width: max-content;
  position: relative;
}
#confetti {
  height: 100vh;
  width: 100vw;
  position: absolute;
  background: url("confetti.gif");
  background-repeat: repeat-x;
  background-size: contain;
  pointer-events: none;
  z-index: 3;
}

/* Mobile only */
@media only screen and (hover: none) and (pointer: coarse){
  #confetti {
    background-repeat: no-repeat;
    background-size: cover;
  }
  .stage:nth-last-child(2) {
    -webkit-text-stroke: 0.75px;
    text-stroke: 0.75px;
  }  
}

#snail {
  width: var(--snail_width);
  height: var(--snail_width);
  position: absolute;
  top: calc(55vh - var(--snail_width) / 2);
  z-index: 1;
  background: url("btc-snail.png");
  background-size: contain;
  background-repeat: no-repeat;
}
#needle {
  width: 1px;
  height: 100vh;
  position: absolute;
  background: #FF9900;
}
#price_tag {
  width: var(--price_width);
  position: absolute;
  top: calc(60vh - var(--snail_width) * 1.2);
  font-family: "Trebuchet MS";
  font-size: calc(1vw + 2vh);
  text-align: right;
  z-index: 2;
  color: #363636;
}
.stage {
  padding-top: calc(55vh - var(--snail_width) * 2);
  border-right: 1px solid #a1a1a1;
  height: 100%;
  width: calc(25vw + 25vh);
  float: left;
  font-family: Monospace;
  font-size: calc(2vw + 1vh);
  text-align: right;
  color: #a1a1a1;
}
.stage:nth-last-child(2) {
  color: #ffc000;
  font-weight: bold;
}

#START {
  width: var(--start_width);
}
#FINISH {
  width: calc(25vw + 10vh);
  background-image: url('chess-pattern.svg');
  background-size: calc(8vw + 5.1vh);
  background-repeat: repeat;
}
#center_btn {
  position: absolute;
  width: var(--snail_width);
  bottom: 5vh;
  left: calc(50vw - var(--snail_width) / 2);
  font-size: calc(0.5vw + 1vh);
  font-family: monospace;
  z-index: 10;
  opacity: 0.75;
}
#center_btn:hover {
  opacity: 1;
}
#live_count {
  position: absolute;
  width: calc(var(--snail_width) * 1.2);
  bottom: 10vh;
  left: calc(50vw - var(--snail_width) * 1.2 / 2);
  font-size: calc(0.5vw + 1vh);
  font-family: monospace;
  z-index: 10;
  text-align: center;
  background: #f1f1f1;
  padding: 0.2vh;
}

