﻿.categories {
    width: 100vw;
    margin: 1rem 0;
}

    .categories > div.categories-title {
        text-align: center;
        margin: 3rem 0;
    }

        .categories > div.categories-title h2 {
            font-size: 24px;
            color: #402E32;
            border-bottom: 4px solid #D4AF37;
            display: inline-block;
            padding-bottom: 0.5rem;
        }

    .categories > div.categories_items {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-wrap: wrap;
        gap: 1vw;
        padding: 0;
    }

        .categories > div.categories_items > a {
            background-color: #402E32;
            padding: 1rem;
            height: 12rem;
            width: 12rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            border-radius: 12px;
        }

            .categories > div.categories_items > a img {
                filter: invert(99%) sepia(77%) saturate(0%) hue-rotate(0deg) brightness(102%) contrast(100%);
                max-height: 75px;
            }

            .categories > div.categories_items > a h3 {
                color: #fff;
                font-size: 16px;
                margin-top: 2.5rem;
            }

@media only screen and (min-width: 768px) {
    .categories {
        width: 85%;
        margin: 3rem auto;
        padding: 0;
        font-size: 14px;
    }

        .categories > div.categories-title {
            text-align: center;
            font-size: 18px;
            font-weight: bolder;
            padding: 2rem;
        }
}

@media only screen and (max-width: 768px) {
    .categories > div.categories-title h2 {
        font-size: 20px;
    }

    .categories > div.categories_items > a {
        height: 10rem;
        width: 10rem;
    }
}
