.normal {background-color:  #A8A77A}
.fire {background-color:  #EE8130}
.water {background-color:  #6390F0}
.electric {background-color:  #F7D02C}
.grass {background-color:  #7AC74C}
.ice {background-color:  #96D9D6}
.fighting {background-color:  #C22E28}
.poison {background-color:  #A33EA1}
.ground {background-color:  #E2BF65}
.flying {background-color:  #A98FF3}
.psychic {background-color:  #F95587}
.bug {background-color:  #A6B91A}
.rock {background-color:  #B6A136}
.ghost {background-color:  #735797}
.dragon {background-color:  #6F35FC}
.dark {background-color:  #705746}
.steel {background-color:  #B7B7CE}
.fairy {background-color:  #D685AD}

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

@media screen and (min-width: 380px) {
    .pokemons {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (min-width: 576px) {
    .pokemons {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (min-width: 992px) {
    .pokemons {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.pokemon {
    margin: 0.5rem;
    padding: 1rem;
    border-radius: 1rem;
    color: white;
    display: flex;
    flex-direction: column;
}

.numeroPokemon {
    color: black;
    opacity: 0.4;
    text-align: right;
    font-size: .625rem;
}

.pokemon .nome {
    color: white;
    margin-bottom: .25rem;
    text-transform: capitalize;
}

.pokemon .detalhes {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.pokemon .detalhes .tipos {
    padding: 0;
    margin: 0;
    list-style: none;
}

.pokemon .detalhes .tipos .tipo {
    color: white;
    padding: .25rem 1rem;
    margin: .25rem 0;
    font-size: .825rem;
    text-align: center;
    border-radius: 1rem;
    filter: brightness(1.2);
}

.pokemon .detalhes img {
    border-style: none;
    max-width: 50%;
    height: 4.375rem;
    align-self: flex-end;
}

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

.pagination button{
    background-color: #6c79db;
    color: white;
    border: none;
    border-radius: 1rem;
    padding: .25rem 1rem;
    font-size: .825rem;
    cursor: pointer;
}

.pagination button:hover{
    background-color: #4150bd;
    font-size: 1rem;
}