body {
  margin: 0;
  background: #141414;
  color: #f5deb3;
  font-family: Arial;

  display: flex;
  justify-content: center;
  align-items: flex-start;

  padding-top: 35px;

  min-height: 100vh;

  overflow-x: hidden;

  position: relative;
}

/* cenário */
.mundoPokemon {
  position: fixed;
  inset: 0;
  z-index: -1;

  background-image: url("assets/images/cenario.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* container principal */
.container {
  width: 500px;
  height: fit-content;

  background: rgba(15, 15, 15, 0.96);

  padding: 30px;

  border-radius: 20px;

  box-shadow: 0 0 25px black;

  text-align: center;

  backdrop-filter: blur(2px);

  position: relative;
}

/* titulo */
h1 {
  color: #d4af37;
  margin-bottom: 30px;
}

/* tooltip ajuda */
.ajuda {
  position: relative;
  font-size: 20px;
  cursor: help;
}

.tooltip {
  display: none;

  position: absolute;

  top: 30px;
  right: 0;

  width: 260px;

  background: #101010;
  color: #f5deb3;

  border: 3px solid #556b2f;

  padding: 12px;

  border-radius: 10px;

  font-size: 13px;

  box-shadow: 4px 4px 0 #000;

  z-index: 10;
}

.ajuda:hover .tooltip {
  display: block;
}

/* input */
input {
  width: 70%;

  padding: 12px;

  border: none;
  border-radius: 10px;

  margin-bottom: 10px;
}

/* botão */
button {
  padding: 12px 20px;

  border: none;
  border-radius: 10px;

  background: #556b2f;
  color: white;

  cursor: pointer;
}

button:hover {
  background: #6b8e23;
}

/* contador */
#contador {
  line-height: 1.5;
}

/* display pokemon */
#pokemonDisplay {
  margin: 20px auto;

  width: 180px;
  height: 180px;

  background: #101010;

  border: 4px solid #556b2f;
  border-radius: 15px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#pokemonDisplay p {
  color: #888;

  font-size: 14px;

  text-align: center;

  padding: 10px;
}

.pokemonGrande {
  width: 120px;
  height: 120px;

  image-rendering: pixelated;
}

#pokemonDisplay h3 {
  margin: 0;
  color: #f5deb3;
}

/* lista */
ul {
  margin-top: 30px;
  padding: 0;
}

li {
  list-style: none;

  background: #2d2d2d;

  margin: 10px 0;
  padding: 10px;

  border-radius: 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;
}

.iconePokemon {
  width: 32px;
  height: 32px;

  image-rendering: pixelated;
}

/* celebração */
.celebracao {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  pointer-events: none;

  overflow: hidden;

  z-index: 9999;
}

.balaoPixel {
  position: absolute;

  bottom: -80px;

  background: #d4af37;
  color: #141414;

  padding: 12px 16px;

  border: 4px solid #f5deb3;
  border-radius: 4px;

  font-size: 14px;
  font-weight: bold;

  text-align: center;

  box-shadow: 4px 4px 0 #000;

  animation: subirBalao linear forwards;
}

@keyframes subirBalao {

  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateY(-110vh) scale(1.1);
    opacity: 0;
  }
}

/* responsivo */
@media (max-width: 700px) {

  body {
    padding-top: 20px;
  }

  .container {
    width: 85%;
    padding: 25px;
  }

  #pokemonDisplay {
    width: 160px;
    height: 160px;
  }

}