body {
  margin: 0;
  width: 100dvw;
  height: 100dvh;
  font-family: "Jersey 15", serif !important;
  font-weight: 400;
  font-style: normal;
}

#bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100dvw;
  z-index: -1;
  background-image: url('https://raw.githubusercontent.com/InFinity54/LoL_DDragon/refs/heads/master/extras/loadingscreen/summonersriftmap_loadingscreen.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

#gameArea {
  width: 100%;
  max-width: 450px;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#championSelect {
  position: absolute;
  width: 100%;
  max-width: 225px;
  font-size: 2rem;
}

#submit,
#tryagain {
  position: absolute;
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 225px;
  transition: all .1s;
  line-height: 2.5em;
  font-size: 1rem;
  cursor: pointer;
}

#submit {
  background-color: #1e2328;
  border: 3px solid #0595a8;
  color: #98b5ae;
}

#submit:hover {
  color: #f0e5ce;
  background-color: #123a4d;
  border: 3px solid #75c1bd;
}

#tryagain {
  display: none;
  background-color: #20252a;
  border: 3px solid #c8aa6c;
  color: #cdbe91;
}

#tryagain:hover {
  color: #f0e6d2;
  background-color: #3a372d;
  border: 3px solid #efe4d4;
}

#guess_count,
#highScore {
  margin: 0;
  font-size: 8rem;
  color: #f0e5ce;
}

#guess_count {
  position: absolute;
  top: 10%;
}

#gameover {
  visibility: hidden;
  flex-direction: column;
  justify-content: space-between;
  color: #f0e5ce;
  text-align: center;
  font-size: 1.25rem;
}

#gameoverLayer {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #0000002f;
  filter: blur(10px);
}

#correctAns {
  color: #ffffff;
  font-size: 3rem;
}

.wrong-answer {
  animation: wrongAns .5s ease-in-out 1 forwards;
}

.fadeIn {
  animation: fadeIn .5s 1 ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}


@keyframes wrongAns {
  to {
    filter: grayscale(100%);
  }
}

@media only screen and (max-width: 600px) {
  #gameover {
    font-size: .8rem;
  }

  #guess_count,
  #highScore {
    margin: 0;
    font-size: 4rem;
    color: #f0e5ce;
  }
}