@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  background: url('fundo.jpg') center/cover no-repeat;
  color: white;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-transform: capitalize;
}

.container {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 20px;
  width: 100%;
  max-width: 700px; /* Valor fixo que funciona bem */
  height: 800px;     /* Altura fixa para manter tudo estável */
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
  overflow: hidden;  /* Evita que conteúdo "vaze" */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}


.title {
  font-size: 3rem;
  margin-bottom: 20px;
}

.pokemon-display {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.pokemon_image,
.pokemon_image2 {
  max-width: 200px;
  height: 150px;
  object-fit: contain; /* Garante que se ajuste ao espaço */
}


.not-found {
  color: red;
  font-size: 1.5rem;
  display: none;
}

.pokemon_data {
  font-size: 1.8rem;
  margin: 10px 0;
}

.info-card {
  background-color: #ffffff;
  color: #000;
  border-radius: 15px;
  padding: 15px;
  margin: 10px auto;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  
}

.info-card h3 {
  margin-top: 10px;
  font-size: 22px;
}

.abilities, .pokemon_type {
  font-weight: bold;
  margin-bottom: 10px;
}

.stats {
  list-style: none;
  padding: 0;
  text-align: center;
  font-weight: 600;
}

.form {
  margin-top: 20px;
}

.input_search {
  padding: 10px;
  width: 80%;
  max-width: 300px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
}

.buttons {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
  gap: 100px;
}

.button {
  padding: 10px 20px;
  background-color: #303030;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: -4px 6px 0 #000;
  transition: 0.2s;
}

.button:active {
  box-shadow: inset -4px 5px 0 #000;
  color: lime;
}

/* Responsivo */
@media (max-width: 480px) {
  .pokemon_display {
    flex-direction: column;
  }

  .input_search {
    width: 90%;
  }

  .button {
    width: 45%;
  }
}
