.banner-wrapper {
    width: 100%;
    margin-bottom: 20px;
    margin-top: 40px;
    box-shadow: 0px 0px 4px black;
    border-radius: 10px;
    overflow: hidden;
}
.banner-wrapper img {
    display: block;
    width: 100%;
}


.title-underline::after {
    background-color: rgb(1, 102, 31);
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* align-items: baseline; */
    gap: 30px 30px;
}

.category {
    filter: drop-shadow(0px 0px 2px rgb(0, 0, 0, 0.5));
    background-color: white;
    /* box-shadow: 0px 0px 2px rgb(0, 0, 0, 0.5); */
    border-radius: 20px;
    width: 260px;
    height: 440px;
    transition: all 100ms ease-in-out, transform 500ms ease-in-out;
    border: 2px solid rgb(255, 255, 255, 0);
    overflow:hidden;
    padding-bottom: 4px;
}


.category:nth-child(1):hover {
    background-color: #F8F8FA;
    border-color: rgb(0, 127, 175);
}
.category:nth-child(2):hover {
    background-color: #F8FAF8;
    border-color: rgb(4, 71, 28);
}
.category:nth-child(3):hover {
    background-color: #FAF8FA;
    border-color: rgb(181, 1, 98);
}
.category:nth-child(4):hover {
    background-color: #FAFAF8;
    border-color: rgb(255, 196, 73);
}

.category a {
    width: 100%;
    height: 100%;
    padding: 20px;
    grid-template-rows: 78% 1fr;
    grid-template-columns: 100%;
    row-gap: 20px;
    display: grid;
    align-items: center;
    justify-items: center;

}

.category img {
    filter: drop-shadow(0px 0px 2px rgb(0, 0, 0, 0.2));
    transition: 500ms ease-in-out;
}
.category:hover img {
    transform: scale(104%);
}

.category h3 {
    font-size: 2rem;
    line-height: 2.4rem;
    text-align: center;
    font-weight: 800;
    align-self: center;
}


@media only screen and (max-width: 950px) {
    .banner-wrapper {
        height: 140px;
        margin-top: 20px;
    }
    .banner-wrapper img {
        height: 100%;
        object-fit: cover;
    }

    .category h3 {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }

    
    .category {
        height: 300px;
        width: 220px;
    }
    .category a {
        grid-template-rows: 70% 1fr;
    }
}

@media only screen and (max-width: 380px) {
    .banner-wrapper {
        height: 120px;
    }
}