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

.pokemon {
    margin: 0.5rem;
    padding: 1rem;
    background-color: #49D0B0;
    border-radius: 1rem;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.name {
    color: #fff;
    margin-bottom: 0;
}

.pokemon .number {
    color: rgba(0, 0, 0, 0.486);
    text-align: right;
}

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

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

.type {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    margin: 0.25rem 0;
    font-size: 0.825rem;
    border-radius: 1rem;
}

.details img {
    max-width: 100%;
    border-style: none;
    height: 80px;
    align-self: flex-end;
}

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