.categories--container{
    display: flex;
    width: 100dvw;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2dvh;
    padding: 15% 0%; 
    
    @media (max-height: 600px) and (orientation: landscape){
        padding: 5% 0%;
    }

    @media (min-width: 768px) and (min-height: 600px) {
        padding: 10% 0%;
    }

    @media (min-width: 1000px){
        padding: 8% 0%;
    }
}

.categories--container > h2{
    font-size: 1.5dvh;
    font-family: "Montserrat";
    color: #ece7e3;
    padding: 2%;
    border-top-right-radius: 5px;
    border-end-end-radius: 5px;
    align-self: flex-start;
    background-color: #fe6300;

    @media (max-height: 600px) and (orientation: landscape){
        padding: 1.2% 2%;
        font-size: 1.5dvw;
    }

    @media (min-width: 768px) and (min-height: 600px) {
        padding: 1.5% 2%;
    }

    @media (min-width: 1000px){
        padding: 1% 2%;
        font-size: 14px;
        margin-bottom: 3%;
    }   
}

.category-cards--container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 85%;
    gap: 3%;
    
    @media (max-height: 600px) and (orientation: landscape){
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    @media (min-width: 768px) and (min-height: 600px) {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        width: 90%;
    }

    @media (min-width: 1000px){
        grid-template-columns: 1fr 1fr 1fr 1fr;
        width: 85%;
    }

    @media (min-width: 1200px){
        grid-template-columns: 1fr 1fr 1fr 1fr;
        width: 70%;
    }
}

.category-card{
    display: flex;
    justify-content: center;
    width: auto;
    height: 30dvh;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid #fe6300;
    transition: transform 0.5s;

    @media (max-height: 600px) and (orientation: portrait){
        height: 45dvh;
    }

    @media (max-height: 600px) and (orientation: landscape){
        height: 70dvh;
    }
    
    @media (min-width: 712px) and (min-height: 600px) {
        height: 40dvh;
    }

    @media (min-width: 768px) and (min-height: 600px) {
        height: 23dvh;
    }

    @media (min-width: 1000px){
        height: 65dvh;
    }

    @media (min-width: 1200px){
        height: 50dvh;
    }
}

.category-card:hover{
    cursor: pointer;
    transform: scale(1.08);
}

.card-visual-efect{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    font-weight: 600;  
    position: absolute;
    font-family: "Montserrat";
    color: #fe6300;
    z-index: 1;
    width: 100%;
    height: 100%;
    font-size: 15px;
    background-image: linear-gradient(to top, #ece7e3 25%, transparent 70%);

    @media (min-width: 768px) and (min-height: 600px) {
        font-size: 20px;
    }

    @media (min-width: 1200px){
        font-size: 25px;
    }
}

.card-visual-efect > p{
    margin-bottom: 25%;

    @media (min-width: 1000px){
        margin-bottom: 20%;
    }
}

.category-card > img{
    width: auto;
    height: 100%;
    object-fit: cover;
}