@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;
}


/* -------------------------------------------- MENù */


.navbar{
    display: flex;
    gap: 100px;
    padding: 32px 48px;
}

@media (max-width: 768px){
    .navbar{
    flex-wrap: wrap;  
    gap: 20px;
    padding: 20px 24px;
    }
}

.navbar a{
    color: black;
    text-decoration: none;
}


/* -------------------------------------------- NOME LATERALE */


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



/* -------------------------------------------- CONTAINER CONTENTS */



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



.about-figure{
    width: 30%;
    max-width: 620px;
    margin: 0;
}



.about-figure img{
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}


.caption{
    font-size: 10px;
    color: #333;
}

.caption a{
    color: #333;
}



.about-content{
    flex: 1;
    padding-top: 24px;
}

.about-content h1{
    font-weight: 400;
    margin-bottom: 24px;
}

.about-text{
    line-height: 1.5;
    color: #333;
    max-width: 700px;
    font-size: 13px;
}


/* --------------------------------- SMARTPHONE */

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

    .about-figure{
        width: 90%;
        margin-top: -50px;
    }
}