@font-face {
    font-family: 'RobotoMono';
    src: url('fonts/RobotoMono-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


body{
    background-color: #fffcfa;
    margin: 0;
    font-family: 'RobotoMono', 'Courier New', Courier, monospace;
}








.nome-laterale{
    margin-right: -80px;
    margin-left: auto;
    font-weight: 400;
    transform: rotate(90deg);
    margin-top: 80px;
    white-space: nowrap;
}




.main-box{
    display: flex;
    flex-direction: column;
    padding-top: 0px;
    gap: 60px;
}


.titolo-sezione{
    padding: 0 48px;
    margin-bottom: 40px;
    
}


.box1{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0 48px;
}


.box1:nth-child(even){
    margin-left: 10%;
}

.box1:nth-child(odd){
    margin-right: 10%;             
    flex-direction: row-reverse;  
}





.works-img{
    width: 30%;
    height: auto; 
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

.txt-1, .txt-3{
    text-align: left;
}


.txt-2, .txt-4{
    text-align: right;
}

.titolo-brano{
    font-size: 13px;
    color: black;
}

.sottotitolo-brano{
    font-size: 13px;
    line-height: 1.35;
    color: #878787;

}



@media (max-width: 768px){
    .box1{
        display: flex;
        flex-direction: column;
    }

    .works-img{
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
        object-fit: contain;
        display: block;
        
    }

    .txt-1, .txt-3{
    text-align: left;
    }


    .txt-2, .txt-4{
    text-align: left;
    }

    .box1:nth-child(even){
    margin-left: 0%;
    }

    .box1:nth-child(odd){
    margin-right: 0%;  
    flex-direction: column;           
      
    }
}








