html, body {
  font-family: sans-serif;
  text-align: center;
  overflow: hidden;
  height: calc(100vh - 20px);
  background: white ;
}

#race {
  position: fixed;
  left: 10px;
  top: 10px;
}

.hide {
  display: none;
}

.game-over {
  position: absolute;
  top: 50%;
  text-emphasis: center;
  color: #FFF;
  font-size: 4rem;
  width: 100%;
  font-weight: 700;
  text-align: center;
  padding-left: 20px;
}

.hearts {
/*   background: white; */
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
}

.gold {
  color: gold !important;
}

.fall {
  animation: 1s fall;
}

button {
  padding: 12px 16px;
  background: blue;
  color: white;
  font-size: 20pt;
  border: none;
  margin: 20px;
  border-radius: 12px;
}

button:hover {
  background: white;
  color: blue;
}

.character {
  background-image: url('./characters.png');
  padding: 20px;
  width: 80px;
  height: 80px;
  background-position: -2px -2px;
  position: absolute;
  z-index: 10;
  color: white;
  text-shadow: 0 0 8px #000;
  transition: all .15s ease-in-out;
}

#points {
  display: flex;
  position: absolute;
  align-items: center;
  right: 10px;
  font-weight: 700;
  font-size: 4rem;
  color: gold;
  text-shadow: 0 0 8px #000;
}

.character:hover {
  opacity: .4;
  cursor: pointer;
}

.character::after {
  content: attr(data-place);
  position: absolute;
  font-size: 10rem;
  font-weight: 700;
  right: -150%;
  width: 184px;
  text-align: left;
}

.num-points {
  min-width: 100px;
  text-align: center;
  font-family: monospace;
}

.num-points.increased {
  color: #88B04B;
}

.num-points.decreased {
  color: #FF6F61;
}

audio {
  position: fixed;
  bottom: 20px;
  left: 20px;
}

.timer {
  width: calc(100% - 20px);
  height: 4px;
  background: black;
  margin: 10px;
  position: relative;
}

.timer:after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
}

.timer.go:after {
  animation: slidedown 7s infinite;
}

@keyframes slidedown {
  0% {
    width: 100%;
  }
  100% {
      width: 0%;
  }
}

.mario {
  background-position: -2px -2px;
}

.luigi {
  background-position: -132px -2px;
}

.baby-mario {
  background-position: -2px -266px;
}

.baby-luigi {
  background-position: -132px -266px;
}

.waluigi {
  background-position: -1164px -266px;
}

.donkey-kong {
  background-position: -2px -391px;
}



.peach {
  background-position: -262px -2px;
}

.toad {
  background-position: -781px -2px;
}

.yoshi {
    background-position: -1034px -2px;
}

#app {
}

@keyframes fall {
  0% {
    transform: translateY(0%);
  }
  50% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(1000%);
  }
}
