.pokedex__section {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.pokemon__card {
    width: 47%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 16px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.1s ease-in-out;
    color: white;
    cursor: pointer;
    height: 227px;
}

.pokemon__card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 20px rgba(99, 99, 99, 0.5);
}

.pokemon__card img {
    height: 120px;
    width: auto;
    position: relative; 
    z-index: 2; 
}

.pokemoncard__textbox {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0px;
}

.pokemoncard__bottombox {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.types__containerstart {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0px;
    position: relative; 
    z-index: 2;
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 1),
        rgba(0, 0, 0, 0.6) 
    );
    border-radius: 0px 0px 15px 15px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2), 
                0px 4px 6px rgba(0, 0, 0, 0.1);
}

@media(min-width: 600px) {
    .pokemon__card {
        height: 305px;
        padding: 0;
        padding-top: 16px;
        justify-content: space-between;
    }

    .types__containerstart {
        display: flex;
    }
}

@media(min-width: 850px) {
    .pokemon__card {
        width: 31%;
    }
}

@media(min-width: 1200px) {
    .pokemon__card {
        width: 23%;
    }
}

@media(min-width: 1600px) {
    .pokemon__card {
        width: 19%;
    }
}

@media(min-width: 1700px) {
    .pokemon__card {
        width: 15%;
    }
}
