#game_container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #ffffff10;
}

#game_bg {
  position: absolute;
  inset: 0;
}

#start_button {
  position: absolute;
  left: 42%;
  top: 49.5%;
  width: 8%;
  height: 5%;
  font-size: 1.2vw;
  background: #6163a6;
  border-radius: 0.5rem;
  cursor: pointer;
}

#game_tiles {
  display: none;
  position: absolute;
  left: 5%;
  top: 23%;
  right: 4.5%;
  bottom: 5%;

  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  padding: 0.5rem;
  gap: 0.5rem;
  padding-top: 0;
}

#game_tiles .tile {
  cursor: pointer;
  transition-property: box-shadow, background, border-color, color, fill, stroke;
}

#game_counter {
  display: none;
  position: absolute;
  font-family: var(--font-mono);
  font-size: 1.25vw;
  left: 6%;
  top: 18.5%;
}

#game_hearts {
  position: absolute;
  display: none;
  flex-direction: column;
  gap: 0.25%;
  left: 1.25%;
  top: 8%;
  width: 3.5%;
  bottom: 15%;
}

#game_hearts > div {
  aspect-ratio: 1 / 1;
}

#game_hearts > div > img {
  width: 70%;
  height: 70%;
  margin: 15%;
}

#game_end {
  position: absolute;
  display: none;
  inset: 0;
  background: #000000e3;
  justify-content: center;
  align-items: center;
}

#game_end > div {
  width: 30vw;
  background: url(/assets/error_box.svg);
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 1920 / 1080;
  padding: 4%;
  padding-top: 6.5%;
}

#game_end > div > p {
  font-weight: 500;
  color: black;
  font-size: 1.5vw;
  margin-bottom: 3%;
}

#game_end > div > .error {
  font-weight: 600;
  font-size: 2vw;
}

#leave_button {
  background: #c1272d;
  padding: 2% 3%;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1.25vw;
}
