html{
    scroll-behavior: smooth;
}
body{
    font-family: 'Roboto';
}
.cont-box{
    display: flex;
    align-items: flex-start;
    align-content: center;
    justify-content: center;
    gap: 30px;
}
.box{
    width: 50%;
    background-color: #d72922;
    aspect-ratio: 1/1;
    border-radius: 10px;
    padding: 20px;
    color: white;
}
label{
    font-size: 12px;
    text-transform: uppercase;
}
.input-pers{
    -webkit-appearance: none;
    appearance: none;
    border: solid thin #d1d1d1;
    border-radius: 4px;
    padding: 4px;
    width: 100%;
    background-color: white;
}
.btn-pers{
    -webkit-appearance: none;
    appearance: none;
    border: solid thin brown;
    color: white;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 4px;
    width: 100%;
    background-color: brown;
}
.btn-pers:hover{
    background-color: darkred;
}
.riga-contatti{
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}
.riga-contatti:hover{
    background-color: brown;
}
.sfondo{
    background-image: url(../images/sfondo.jpeg);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 1;
}
.pagina{
    width: 100%;
    position: fixed;
    z-index: 2;
    top: 70px;
    height: calc(100vh - 70px); /* coerente col top */
    overflow-y: auto;
    padding-bottom: 120px; /* per non finire sotto al footer */
    padding-top: calc(100vh - 70px); /* 1 schermata di sfondo prima dei contenuti */
    scroll-behavior: smooth;
}
    .sottopagina{
        width: 100%;
        background-color: #f1f1f1;
        padding: 20px 0;
        margin-bottom: 40px; /* spazio tra sezioni */
    }
    .sottopagina-no-fondo{
        background-color: transparent;
    }
    .titolo{
        text-align: center;
        font-size: 30px;
        color: #d72922;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    .titolo-bianco{
        color: white;
    }
    .in-p{
        width: 80%;
        margin-left: 10%;
    }
.header{
    position: fixed;
    z-index: 3;
    width: 100%;
    height: 70px;
    background-color: #d72922;
}
    .in-h{
        width: 80%;
        height: 70px;
        margin-left: 10%;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
    }
    .logo{
        width: 200px;
        height: 70px;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: flex-start;
    }
    .logo img{
        filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(302deg) brightness(106%) contrast(101%);
        height: 50px;
    }
    .menu{
        width: calc(100% - 200px);
        height: 70px;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: flex-end;
        gap: 20px;
    }
    .btn-menu{
        -webkit-appearance: none;
        appearance: none;
        border: none;
        background-color: transparent;
        color: white; text-decoration: none; font-size: 14px; text-transform: uppercase;
        transition: all ease 0.3s;
        border-radius: 4px;
    }
    .btn-menu:hover{
        background-color: brown;
    }
.footer{
    position: fixed;
    background-color: black;
    height: 50px;
    z-index: 3;
    left: 0;
    bottom: 0;
    width: 100%;
    transition: all ease 0.3s;
    overflow: hidden;
    color: white;
    font-size: 12px;
    padding: 20px;
}
.footer:hover{
    height: 200px;
}
.footer img{
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(302deg) brightness(106%) contrast(101%);
    height: 30px;
}
.scrollDown{
    width: 60px;
    height: 60px;
    border: solid 1px white;
    border-radius: 50%;
    position: fixed;
    bottom: 70px;
    z-index: 2;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    left: 50%;
    margin-left: -20px;
    animation: scrollUpMove 1s infinite;
}
    .scrollDown .material-symbols-outlined{
        color: white;
    }
@keyframes scrollUpMove {
    0%{
        bottom: 70px;
    }
    50%{
        bottom: 60px;
    }
    100%{
        bottom: 70px;
    }
}