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

h1 {
    color: #fff;
    text-align: center;
    font-size: 4rem
}

.normal {
    background-color: #412355;
}

.grass {
    background-color: #03d643;
}

.fire {
    background-color: #f3600a;
}

.water {
    background-color: #3388f7;
}

.electric {
    background-color: #bcbe1e;
}

.ice {
    background-color: #32aff7;
}

.ground {
    background-color: #eba91d;
}

.flying {
    background-color: #4a26af;
}

.poison {
    background-color: #ba3bbe;
}

.fighting {
    background-color: #fd0f0f;
}

.psychic {
    background-color: #f749cb;
}

.dark {
    background-color: #a1612b;
}

.rock {
    background-color: #c7d833;
}

.bug {
    background-color: #bbb340;
}

.ghost {
    background-color: #741092;
}

.steel {
    background-color: #756fb1;
}

.dragon {
    background-color: #3205a5;
}

.fairy {
    background-color: #f3aef9;
}

.pokemon {
    display: flex;
    flex-direction: column;
    margin: .5rem;
    padding: 1rem;
    border-radius: 3rem;
}

.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: .25rem .5rem;
    margin: .25rem 0;
    font-size: .625rem;
    color: #fff;
    background-color: #6c79db;
    border: none;
    border-radius: 1rem;
}

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