html{
    scroll-behavior: smooth;
}
body{
    font-family: 'Roboto';
}
.cont-box{
    display: flex;
    align-items: flex-start;
    align-content: center;
    justify-content: center;
    gap: 30px;
}
.patina{
    position: fixed;
    z-index: 5;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
}
.box-patina{
    background-color: white;
    width: calc(50% - 40px);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
}
.box{
    width: 50%;
    background-color: #7d4e2a;
    aspect-ratio: 1/1;
    border-radius: 10px;
    padding: 20px;
    color: white;
}
.box-meta{
    width: 50%;
    background-color: transparent;
    color: black;
}
.box-h{
    padding: 10px;
    border-radius: 10px;
    background-color: white;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s ease;
}

.box-h.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}
    .riga-contatti-box-h{
        font-size: 20px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
    }
    .riga-contatti-box-h .material-symbols-outlined{
        font-size: 40px;
    }
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;
}

    .riga-contatti-nover:hover{
        background-color: transparent;
        cursor: auto;
    }
.sfondo{
    background-image: url(../images/sfondo.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    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: #7d4e2a;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    .titolo-animato{
        font-family: 'Orbitron';
        overflow: hidden;
    }
    .reveal .line {
        display: inline-block;
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s ease;
    }
    .reveal.active .line {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal .delay-1 { transition-delay: 0.2s; }
    .reveal .delay-2 { transition-delay: 0.4s; }
    .titolo-bianco{
        color: white;
    }
    .in-p{
        width: 80%;
        margin-left: 10%;
    }
.header{
    position: fixed;
    z-index: 3;
    width: 100%;
    height: 70px;
    background-color: #7d4e2a;
}
    .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: 62px;
    }
    .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{
    background-color: black;
    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: 48px;
}
.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;
    }
}
.cont-brand{
    width: 100%;
    display: flex;
    align-items: flex-start;
    align-content: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.box-brand{
    width: calc(25% - 20px);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s ease;
}
.box-brand.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.box-brand img{
    width: 100%;
}
.btn-sm{
    display: none;
}
.menu-sm{
    display: none;
}
.btn-close-pers{
    position: absolute;
    top: 20px;
    right: 20px;
}
@media screen and (max-width:768px){
    .menu-sm{
        display: flex;
        position: fixed;
        z-index: 4;
        width: 100%;
        height: 100%;
        top:-100%;
        left: 0;
        background-color: #7d4e2a;
        flex-direction: column;
        align-items: center;
        align-items: center;
        justify-content: center;
        transition: all ease 0.3s;
        gap: 20px;
    }
    .box-patina{
        background-color: white;
        width: calc(80% - 40px);
        padding: 20px;
        text-align: center;
        border-radius: 10px;
    }
    .sfondo{
        background-image: url(../images/sfondo.jpeg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        position: fixed;
        z-index: 1;
    }
    .header{
        position: fixed;
        z-index: 3;
        width: 100%;
        height: 70px;
        background-color: #7d4e2a;
    }
    .in-h{
        width: 80%;
        height: 70px;
        margin-left: 10%;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
    }
    .logo{
        width: 50%;
    }
    .logo img{
        filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(302deg) brightness(106%) contrast(101%);
        height: 58px;
    }
    .menu{
        width: 50%;
        height: 70px;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: flex-end;
        gap: 20px;
    }
    .btn-menu{
        display: none;
    }
    .btn-sm{
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        -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;
    }
    .btn-ciccio{
        font-size: 25px;
    }
    .cont-box{
        display: flex;
        align-items: flex-start;
        align-content: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .box-meta{
        width: 100%;
        background-color: transparent;
        color: black;
    }
    .in-p{
        width: 90%;
        margin-left: 5%;
    }
    .box-brand{
        width: calc(50% - 20px);
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        transition: all 0.6s ease;
    }
    .box{
        width: 100%;
    }
}