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

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

.grass {
    background-color: #49d0b0;
}

.fire {
    background-color: rgba(255, 0, 0, 0.753);
}

.water {
    background-color: rgba(0, 162, 255, 0.877);
}

.bug {
    background-color: green;
}

.normal {
    background-color: #3030309f;
}

.electric {
    background-color: rgb(241, 206, 5);
}

.poison {
    background-color: rgba(182, 6, 182, 0.747);
}

.ground {
    background-color: rgba(207, 28, 28, 0.932);
}

.fairy {
    background-color: rgb(250, 160, 175);
}

.fighting {
    background-color: rgba(0, 132, 255, 0.356);
}

.psychic {
    background-color: rgb(255, 145, 0);
}

.rock {
    background-color: #ccc;
}

.ghost {
    background-color: #000000a4;
}

.ice {
    background-color: rgba(0, 0, 255, 0.89);
}

.dragon {
    background-color: rgba(255, 153, 0, 0.5);
}

.pokemon .number {
    color: #000;
    opacity: 0.3;
    text-align: right;
}

.pokemon .name {
    color: #fff;
    margin-bottom: -15px;
    font-size: 1.3rem;
    text-transform: capitalize;
}

.pokemon .types {
    padding: 0;
    margin: 0;
    list-style: none;
    color: #000;
    text-transform: capitalize;
}

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

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

.type {
    color: #fff;
    border-radius: 1rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.625rem;
    margin: 0.425rem;
    text-align: center;
    filter: brightness(1.1);
}