

.text-content {
    display: flex;
    flex-direction: row;
    max-width: 100vw;
    margin-top: 2rem;
    justify-content: space-between;
}

.text-content div {
    display: flex;
    flex-direction: column;
    max-width: 50vw;
    margin-right: 5rem;
}

.text-content a {
    margin: 0 auto 0 auto;
    max-width: 50vw;
}

.text-content img {
    width: 25vw;
    background-size: cover;
    height: 25rem;
    margin-left: 5rem;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.679);
    object-fit: cover;
}

.text-content button {
    font-family: "Montserrat", serif;
    margin-top: 2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    background-color: #322e2cab;
    border: solid 1px #B5A47A;
    color: #d9d9d9;
    padding: 0.75rem 3rem 0.75rem 3rem;
    transition: 200ms linear;
   
}

.text-content button:hover {
    background-color: #B5A47A;
    color: #322e2c;
}

.text-content p {
    color: #D9D9D9;
    font-family: "Montserrat", sans-serif;
    font-size: 1.4rem;
    text-align: center;
    text-align: justify;
    max-width: 50vw;
    max-width: 50vw;
    font-weight: 400;
    margin-top: 2rem;
}

.rito-text {
    flex-direction: row-reverse;
    padding-bottom: 5rem;
}

.rito-text img {
    margin-right: 5rem;
    margin-left: 0;
    object-fit: cover;
}

.rito-text div {
    margin-right: 0;
    margin-left: 5rem;
}

@media only screen and (max-width:768px) {

    .text-content-1 {
        flex-direction: column-reverse;
        align-items: center;

   }


   section {
    height: fit-content;
   }

   .rito-text img {
    margin: auto;
   }

    .text-content div {
        width: 100vw;
        max-width: 100vw;
        align-items: center;
    }

    .text-content div, .text-content img {
        margin-right: 0;
        margin-left: 0;
       
    }

    .rito-text {
        flex-direction: column-reverse;
        margin-top:auto ;
        align-items: center;
    }
    

    .text-content  p{
        max-width: 80vw;
        width: 80vw;
        
    }

    .text-content h3 {
        max-width: 70vw;
        width: 70vw;
    }

    .text-content img {
        width: 75vw;
        margin-top: 3rem;
        display: block;
    }

}

@media only screen and (max-width: 550px) {
    h2 {
        font-size: 2.3rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .text-content button {
        font-size: 0.9rem;
    }

    .text-content p {
        font-size: 1.2rem;
    }

}