.pokemons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  padding: 0rem;
  margin: 0;
}

/* Blackground types pokemon */

.normal {
  background-color: #a6a877;
}
.grass {
  background-color: #77c850;
}
.fire {
  background-color: #ee7f30;
}
.water {
  background-color: #678fee;
}
.electric {
  background-color: #f7cf2e;
}
.ice {
  background-color: #98d5d7;
}
.ground {
  background-color: #dfbf69;
}
.flying {
  background-color: #a98ff0;
}
.poison {
  background-color: #a040a0;
}
.foghting {
  background-color: #bf3029;
}
.psychic {
  background-color: #f65687;
}
.dark {
  background-color: #725847;
}
.rock {
  background-color: #b8a137;
}
.bug {
  background-color: #a8b720;
}
.ghost {
  background-color: #6e5896;
}
.steel {
  background-color: #b9b7cf;
}
.dragon {
  background-color: #6f38f6;
}
.fairy {
  background-color: #f9aec7;
}

/* Pokemon detail */
.pokemon {
  text-transform: capitalize;
  margin: 0.5rem;
  padding: 1rem 1rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
}

.pokemon .number {
  opacity: 0.4;
  color: #0d0d0e;
  text-align: right;
  font-size: 0.625rem;
}

.pokemon .name {
  text-transform: capitalize;
  color: white;
  margin-bottom: 0.25rem;
}

.pokemon .detail {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}
.pokemon .detail .types {
  padding: 0;
  margin: 0;
  list-style: none;
}
.pokemon .detail .types .type {
  font-size: 0.625rem;
  color: #fff;
  border-radius: 1rem;
  filter: brightness(1.1);
  padding: 0.4rem;
  margin: 0.2rem;
  text-align: center;
}
.pokemon .detail img {
  width: 80px;
  max-height: 70px;
  align-self: flex-end;
}

/* displays */
@media screen and (min-width: 0px) {
  .pokemons {
    grid-template-columns: 1fr;
    height: auto;
    max-width: auto;
    margin: 0 auto;
  }
}
@media screen and (min-width: 400px) {
  .pokemons {
    grid-template-columns: 1fr 1fr;
    height: auto;
    max-width: auto;
    margin: 0 auto;
  }
}
@media screen and (min-width: 600px) {
  .pokemons {
    grid-template-columns: 1fr 1fr 1fr;
    height: auto;
    max-width: auto;
    margin: 0 auto;
  }
}

@media screen and (min-width: 800px) {
  .pokemons {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    height: auto;
    max-width: auto;
    margin: 0 auto;
  }
}

.pagination {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1rem;
}

/* button */
.pagination button {
  border-radius: 1rem;
  text-align: center;
  background-color: #6c79db;
  color: #fff;
  padding: 0.25rem 0.5rem;
  font-size: 0.65rem;
}
