main {
    margin-inline: auto;

    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    box-shadow: 0 0 6px 0px inset;
    width: 90%;
    background-color: white;
    border-radius: 1em;
}

.pokemon-card {
    display: inline-block;
    aspect-ratio: 30/30;
    border-radius: 1em;

    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.pokemon-card img {
    width: 50%
}

.header-top {
    display: flex;

}

.header {
    width: 90%;
    margin: 2em auto;

}

body>header>div.search-wrapper>input[type=text] {
    padding: 0.5rem;
    border-radius: 1em;
    border: none;
    width: 100%;
}

div.search-wrapper {
    display: flex;
    gap: 2.5rem;
}

div.search-wrapper button {
    padding: 0.5rem;
    border-radius: 1em;
    border: none;
    background-color: white;
    color: #DC0A2D;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}


body {
    background-color: #DC0A2D;
}

.red {
    border: 2px solid red;
}

#prev-btn,
#next-btn {
    padding: 0.5rem;
    border-radius: 1em;
    border: 1px solid black;
    background-color: white;
    color: #0a3bdc;

}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

@media screen and (min-width: 500px) {
    body>main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 840px) {
    body>main {
        grid-template-columns: repeat(3, 1fr);
    }
}