body {
    --brand-color: rgb(0 125 73);
}

.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: var(--brand-color);
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    /* 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);
    overflow: hidden;
    padding-bottom: 4px;
}


.category:hover, .category:has( > a:focus) {
    background-color: #FAFAFA;
    border-color: grey;
}

.category a {
    width: 100%;
    height: 436px;
    padding: 20px;
    grid-template-rows: 78% 22%;
    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;
}

:is(.category:hover, .category:has(> a:focus)) 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;
    }
}