#category-section{
    height: max-content;
    background-color: var(--light-gray);
}

.categories {
    display: flex;
}

.card {
    height: max-content;       
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 50px 70px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.card1{
    width: 55%;
}
.card2{
    width: 45%;
}

.card img{
    width: 5rem;
}

.bg1 {
    background-image: url('..images/card1.png');
}

.bg2 {
    background-image: url('..images/card2.png');
}

.card-content {
    max-width: 55%;
}

.card-content h2 {
    font-size: 23pt;
    margin-bottom: 15px;
    font-weight: bold;
}

.card-content p {
    color: var(--text-disabled);
    font-size: 11pt;
    margin-bottom: 20px;
}

@media screen and (max-width: 992px) {
    .categories {
        display: flex;
        flex-direction: column;
    }

    .card {
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        padding: 25px 10px;
    }

    .card-content{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: column;
    }

    .card-content h2 {
        width: max-content;
    }
    .card-content .custom-btn-white {
        width: max-content;
    }
}

@media screen and (min-width: 2559px) {
    .p-5{
        padding: 5rem !important;
    }
    .gap-5{
        gap: 5rem !important;
    }

    .card-content h2 {
        font-size: 30pt;
    }

    .card-content p {
        font-size: 22pt;
    }

    .card img{
        width: 10rem;
    }

    .card {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }

    #category-section .custom-btn-white{
        height: 5rem;
        width: 23rem;
    }
}