.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(235, 81, 29);
}

.category-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: left;
    /* 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 {
    background-color: #FAFAFA;
}

.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%);
}

h3 {
    font-size: 2.8rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 4px;
}

#wide-fluid-motion > h3 > span {
    color: #5692ce;
}
#land-fluid-motion>h3>span {
    color: #95c230;
}
#raw-fluid-motion>h3>span {
    color: #f9b000;
}

#wide-fluid-motion .category:hover {
    border-color: #5692ce;
    background-color: #F8F8FA;
}
#land-fluid-motion .category:hover {
    border-color: #95c230;
    background-color: #F8FAF8;
}
#raw-fluid-motion .category:hover {
    border-color: #f9b000;
    background-color: #FAFAF8;
}

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

.category-group {
    margin: 20px 0px;
    padding-left: 10px;
    flex-basis: 300px;
    flex-shrink: 1;
}

.category-group > p {
    margin-bottom: 8px;
    width: fit-content;
}

.group-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 0px 40px;
}


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

    .banner-wrapper img {
        height: 100%;
        object-fit: cover;
    }

    h3 {
        font-size: 2.4rem;
    }

    .category-group {
        flex-basis: 100%;
        margin: 10px 0px;
    }


    .category-group > :is(h3, p) {
        text-align: center;
        width: 100%;
    }

    .category-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .category h4 {
        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: 600px) {
    .banner-wrapper {
        height: 80px;
    }
}