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

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

.pokemon {
    display: flex;
    flex-direction: column;
    margin: .5rem;
    padding: 1rem;
    border-radius: 1rem;
    cursor: pointer;
    /* transition: 0.1s; */
}
.pokemon:hover{
    scale: 1.1;
}

.pokemon .number {
    color: #000;
    opacity: .3;
    text-align: right;
    font-size: .625rem;
}

.pokemon .name {
    text-transform: capitalize;
    color: #fff;
    margin-bottom: .25rem;
}

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

.pokemon .detail .types {
    padding: 0;
    margin: 0;
    list-style: none;
}

.pokemon .detail .types .type {
    color: #fff;
    padding: .25rem .5rem;
    margin: .25rem 0;
    font-size: .625rem;
    border-radius: 1rem;
    filter: brightness(1.1);
    text-align: center;
}

.pokemon .detail img {
    max-width: 100%;
    height: 70px;
}

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

.pagination button {
    padding: 1rem;
    margin: .25rem 0;
    background-color: #ffcb05;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    filter: drop-shadow(3px 3px 0 #3564ae);
    transition: 0.1s;
}
.pagination button:hover{
    scale: 1.2;
}
.pagination button p{
    font-size: 1.3rem;
    color: #ffffff;
    letter-spacing: 2px;
    font-family: 'pokemonSolid';
    filter: drop-shadow(3px 3px 0 #3564ae);
}

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