/* ITA ---------- Chi Siamo ----------*/
/* Content */

.centeredText {
    font-size: 8vw;
}
#aboutImage {
    width: 40%; /* increased from 618px to take up 70% of the parent width */
    height: auto; /* let height adjust according to the aspect ratio of the image */
    margin: 2% 5%; /* maintain some margin around the image */
}
.mainText {
    margin-top: 2%;
    width: 95%;
    
}

.contentContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center; /* Added this property to vertically center the children */
}

.mainText p {
    font-size: 1vw;
    line-height: 1.5vw;
    position: relative;
    margin: 20px auto; /* Adjust this to add more vertical space between paragraphs */
    padding: 0px;
    width: 60%;
    height: auto;
    color: #333333;
    text-align: justify;
}

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

    .centeredText {
        font-size: 12vw;
    }
    
    #aboutImage {
    width: 80%; /* increased from 429px to take up 90% of the parent width */
    height: auto;
    margin-top: 50px;
    }
    
    .contentContainer {
        flex-direction: column;
    }
    
    .mainText p {
        font-size: 15px; /* Adjust this value as needed */
        line-height: 30px; /* Adjust this value as needed */
        width: 95%;
        margin: 30px auto; /* Adjust this to add more vertical space between paragraphs on small screens */
        padding: 0px;
    }
    
}