.pokedex {
    padding: 0 2rem 2rem;
}

.pokemon-list {
    display: grid;
    grid-template-columns: 1fr;
    list-style: none;
    row-gap: 1.5rem;
}

.pokemon {
    background-color: var(--surface-color);
    border-radius: 1rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 100%;
    padding: 1rem;
}

.pokemon:active {
    filter: brightness(.9);
}

.pokemon-info {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin-right: 1rem;
}

.pokemon-number {
    color: var(--color);
    font-size: .8rem;
    margin: .5rem 0;
}

.pokemon-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: .5rem;
}

.pokemon-image {
    align-items: center;
    align-self: center;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    padding: 1rem;
    width: 100%;
}

.pokemon-image img {
    max-width: 100%;
    max-height: 100%;
}

@media screen and (min-width: 460px) {
    .pokemon-list {
        column-gap: 1.5rem;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 760px) {
    .pokedex {
        padding: 0 4rem 4rem;
    }

    .pokemon-list {
        column-gap: 1.5rem;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 1190px) {
    .opened-menu-body {
        margin-right: 22rem;
    }

    .closed-menu-pokedex {
        padding: 0 6rem 8rem;
    }

    .pokemon-list {
        column-gap: 1.5rem;
        grid-template-columns: repeat(4, 1fr);
    }

    .pokemon:hover {
        filter: brightness(.9);
    }
}