@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: black;
  font-family: sans-serif;
}
body.hit {
  background-color: rgb(108, 14, 14);
}
body.extra-live {
  background-color: greenyellow;
}

#lbl_live {
  color: white;
  position: fixed;
  top: 8px;
  right: 0;
  margin-right: 40px;
  z-index: 11;
  font-size: 18px;
  font-weight: bold;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#lbl_coins {
  position: fixed;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  z-index: 11;
  font-size: 18px;
  font-weight: bold;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#score {
  color: white;
  position: fixed;
  top: 8px;
  left: 0;
  margin-left: 40px;
  z-index: 11;
  font-size: 18px;
  font-weight: bold;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#canvas {
  width: 350px;
  height: 350px;
  background-color: rgb(94, 188, 250);
  margin: 30px auto;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.button {
  background-color: rgb(92, 144, 28);
  width: 300px;
  height: 70px;
  margin-top: 50px;
  border-radius: 15px;
  box-shadow: inset 0 0 20px black;
  border: 1px solid rgba(128, 128, 128, 0.374);
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: rgb(51, 51, 51);
  cursor: pointer;
  text-transform: uppercase;
}

.start-button {
  border: 1px solid white;
  animation: glow 8s ease-in-out infinite;
}

.button-jump {
  display: none;
}
.button-jump.active {
  display: flex;
  height: 100px;
}

.game-over-screen {
  display: none;
}
.game-over-screen.active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(94, 6, 6, 0.42);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 15px black;
  color: white;
  font-size: 2rem;
  z-index: 10;
}
.game-over-screen.active .button-new-game {
  background-color: green;
  padding: 20px;
  margin-top: 50px;
  border-radius: 15px;
  box-shadow: 0 0 15px black;
  font-size: 2rem;
  cursor: pointer;
  text-transform: uppercase;
}

.highscore {
  background-color: green;
  padding: 10px;
  border-radius: 5px;
  margin: 30px 0;
  font-size: 0.9rem;
  color: white;
}

.modal-menu {
  display: none;
}
.modal-menu.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 21, 22, 0.84);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  z-index: 12;
  color: white;
}
.modal-menu.active h1 {
  font-size: 3rem;
  letter-spacing: 3px;
  text-shadow: 0 0 20px lightblue;
  position: fixed;
  top: 5%;
  text-transform: uppercase;
  animation: h1_animation 8s ease-in-out infinite;
}
.modal-menu.active .wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@keyframes h1_animation {
  0% {
    top: 5%;
  }
  50% {
    top: 20%;
  }
  100% {
    top: 5%;
  }
}
@keyframes glow {
  0% {
    box-shadow: 0 0 3px white;
  }
  50% {
    box-shadow: 0 0 40px white;
    color: white;
  }
  100% {
    box-shadow: 0 0 5px white;
  }
}
@keyframes scale {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.5) rotate(30deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}
#lbl_new_highscore {
  display: none;
}
#lbl_new_highscore.active {
  display: flex;
  color: black;
  background-color: lightblue;
  text-align: center;
  padding: 5px 0;
  position: relative;
  margin: 20px 0;
  border-radius: 15px;
  animation: scale 1s ease-in-out;
}
#lbl_new_highscore.active::after {
  content: "🥳";
  position: absolute;
  top: -3rem;
  right: 10px;
  width: 4rem;
  height: 4rem;
  font-size: 4rem;
  padding: 7px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}/*# sourceMappingURL=style.css.map */