.main--content-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: visible;
    padding: 3% 3%;
    gap: 20px;
    margin-top: 10dvh;
 
    @media (max-height: 600px) and (orientation: landscape){
        padding: 1% 5%;
        gap: 25px;
        margin-top: 20dvh;
    }

    @media (min-width: 768px) and (min-height: 600px) {
        padding: 1% 5%;
        gap: 25px;
        margin-top: 12dvh;
    }

    @media (min-width: 1000px){
        padding: 2% 8%;
        gap: 25px;
        margin-top: 17dvh;
    }
}

.page--title{
    color: #a24a16;
    font-family: "Montserrat";
    padding: 2% 5%;
    font-size: 2vh;
 
    @media (max-height: 600px) and (orientation: landscape){
        padding: 3% 1%;
        font-size: 2.5vw;
    }

    @media (min-width: 768px) and (min-height: 600px) {
        padding: 2% 1%;
        font-size: 2.5vw;
    }

    @media (min-width: 768px) and (min-height: 600px) {
        font-size: 1.5vw;
    }
}

.cards--section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.card{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 28dvh;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #a24a16;
    transition: transform 0.5s;
 
    @media (max-height: 600px) and (orientation: landscape){
        height: 50dvh;
    }

    @media (min-width: 768px) and (min-height: 600px) {
        height: 15dvh;
        border-radius: 8px;
    }

    @media (min-width: 1000px){
        height: 15dvw;
    }

    @media (min-width: 1200px){
        height: 29dvh;
    }
}

.card:hover{
    transform: translateY(-5%);
}

.card > img{
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: cover;
    width: 100%;
    height: 100%;
 
    @media (max-height: 600px) and (orientation: landscape){
        flex: 1;
        border-radius: 5px;
    }

    @media (min-width: 768px) and (min-height: 600px) {
        flex: 1;
        border-radius: 8px;
    }
}

.card-text-content{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: justify;
    position: absolute;
    font-family: "Montserrat";
    font-size: 1.2vh;
    z-index: 1;
    width: 100%;
    height: 100%;

    background-image: linear-gradient(to top, #ece7e3 40%, transparent 70%);
 
    @media (max-height: 600px) and (orientation: landscape){
        position: relative;
        flex: 2.5;
        justify-content: center;
        background-image: none;
        font-size: 1.5vw;
    }

    @media (min-width: 768px) and (min-height: 600px) {
        position: relative;
        flex: 4;
        justify-content: center;
        background-image: none;
        font-size: 1.6vw;
    }

    @media (min-width: 1000px) {
        font-size: 1vw;
    }
}

.card-text-content > p{
    color: #4b3d33;
    width: 90%;

    @media (min-width: 1200px) {
        font-size: 1vw;
    }
}

.card-text-content > h1{
    font-size: 1.2vh;
    color: #4b3d33;
 
    @media (max-height: 600px) and (orientation: landscape){
        font-size: 1.6vw;
    }

    @media (min-width: 768px) and (min-height: 600px) {
        font-size: 1.6vw;
    }

    @media (min-width: 1200px) {
        font-size: 1vw;
    }
}