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

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


.pokemon {
    margin: 0.5rem;
    padding: 1rem;
    color: white;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
}
.pokemon .name {
    color: white;
    margin-bottom: .25rem;
    text-transform: capitalize;
}
.pokemon .number {
    font-size: .625rem;
    color: black;
    opacity: 0.3;
    text-align: right;
}
.pokemon .types {
    padding: 0;
    margin: 0;
    list-style: none;
}
.pokemon .detail .types .type {
    color: white;
    padding: 0.25rem 0.5rem;
    margin: .25rem 0;
    font-size: .625rem;
    border-radius: 1rem;
    filter: brightness(1.1);
    text-align: center;
}
.detail{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pokemon .detail img {
    max-width: 100%;
    height: 70px;
}

.pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}
.pagination button {
    color: white;
    background-color: #6c79db;
    border: none;
    border-radius: 1rem;
    padding: 0.25rem 0.5rem;
    font-size: .825rem;
}



@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; 
    }
}

