@import url('https://fonts.googleapis.com/css?family=Press+Start+2P&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-image: url('./assets/background_adobe_express.svg');
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  font-family: Arial, sans-serif;
  color: rgb(60, 55, 55);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

header {
  display: flex;
  color:#fff;
  width: 100%;
  padding: 20px;
  background-color: rgb(0, 0, 0, 0.8);
  justify-content:space-between;
  align-items: center;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.19), 0px 6px 6px rgba(0, 0, 0, 0.23);
  font-family: 'Press Start 2P', cursive;
}

.logoPokemon {
  display: flex;
}

h1 {
  font-size: 3em;
  margin: 0;
}

.poke-icon {
  height: 50px;
  margin-right: 10px;
}

.pokedex-title {
  margin: 0;
}


#pokemonInfo {
  height: 350px;
  width: 270px;
  background-color: #fff;
  border: 2px solid #91908d;
  border-radius: 5px;
  padding: 10px;
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center; 
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  font-family: 'Press Start 2P', cursive;
  margin-top: 30%;
}

#pokemonIcone {
  width: 150px;
  height: 150px;
  margin: -75px auto 0;
  background-image: linear-gradient(45deg, #ffffff, #080702);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  border-radius: 50%;
  margin-inline: 50px;
  position: relative;
  top: -0px;
}

#pokemonNome {
  font-size: 24px; 
  font-weight: bold;
  margin-top: 20px; 
  text-transform: capitalize;
}

#pokemonTipo {
  font-size: 14px; 
  margin-top: 10px; 
  text-transform: capitalize;
}

#pokemonInfo div {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

#pokemonInfo div p {
  margin: 0 5px; 
  font-weight: bold;
}

#pokemonInfo div span {
  font-weight: normal;
  margin-left: 5px; 
}

#buttons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px; 
}

button {
  transition: all 0.3s ease-in-out;
  width: 30px; 
  height: 30px; 
  border-radius: 15px; 
  background-color: #ffffff;
  border: none;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
}

button:hover {
  transform: scale(1.1);
}

#anterior {
  cursor: pointer;
}

#anterior img {
  margin-right: 5px;
  transform: rotate(180deg);
}

#proximo {
  cursor: pointer;
}

#proximo img {
  margin-left: 5px;
}

input[type="text"] {
  padding: 5px;
  font-size: 1em;
  border: none;
  border-radius: 20px;
  margin-right: 10px;
  width: 65%; 
}

#searchButton {
  transition: all 0.3s ease-in-out;
  width: 30px; 
  height: 30px; 
  border-radius: 15px; 
  background-color: #2da6e3;
  border: none;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
}

#searchButton img {
  height: 30px;
  width: 30px;
}

#pesquisa {
  display: flex;
  align-items: center; 
}

footer {
  display: flex;
  color:#fff;
  width: 100%;
  height: 40px;
  align-items:center ;
  background-color: rgb(0, 0, 0, 0.8);
  justify-content:space-around;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.19), 0px 6px 6px rgba(0, 0, 0, 0.23);
  font-family: 'Press Start 2P', cursive;
}

