.video-container {
    position: relative;
    width: 100%;
    height: 54vw;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    display: flex;
    top: 6vw;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.video-overlay img {
    width: 40vw;
    height: auto;
}

.video-overlay p {
    color: #fff;
    font-family: 'Aboreto', sans-serif;
    font-size: 3vw;
    letter-spacing: 0.4vw;
    margin-top: 5vw;
    margin-bottom: 2vw;
}

.video-overlay a {
    width: 40%;
    margin: 0 auto;
    color: #212121;
    font-family: 'Aboreto', sans-serif;
    font-size: 1.8vw;
    letter-spacing: 0.2vw;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 50vw 50vw 50vw 50vw;
    background-color: #fff;
    padding: 1vw 2vw;
    transition: all 0.2s ease-in-out;
}

.video-overlay a:hover {
    color: #fff;
    background-color: #212121;
}
.video-container .bg {
    display: none;
} 
/* Media query for mobile devices */
@media only screen and (max-width: 600px) {
    .video-container {
        height: auto;
    }
    .video-container video {
        display: none;
    }
    .video-container .bg {
        display: block;
    } 

    .video-overlay {
        top: 25vw;
    }

    .video-overlay img {
        width: 75vw;
    }

    .video-overlay p {
        font-size: 7.5vw;
        letter-spacing: 1.2vw;
        margin-top: 40vw;
        margin-bottom: 6vw;
    }

    .video-overlay a {
        font-size: 3.8vw;
        letter-spacing: 0.3vw;
    }
}

/* ------------- NAVIGATION BAR ------------- */
nav {
    background-color: #212121;
    justify-content: center;
    height: 4.5vw;
}

nav ul {
    margin: 0 3vw 0 0;
}

nav li,
nav a {
    color: #fff;
}

nav li a::after {
    background-color: #fff;
    height: 0.05vw;

}

@media only screen and (max-width: 600px) {
    nav {
        box-shadow: none;
        background-color: transparent;
    }
    #mobile-menu-button {
        z-index: 7;
    }
    #mobile-menu-button .bar {
        background-color: #fff;
    }
    nav ul {
        opacity: 0;
        visibility: hidden;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 0vw;
        left: 0;
        width: 100vw;
        background-color: #323232ed;
        padding: 54.6vw 0;
        z-index: 5;
        transform: translateX(-100%);
        transition: all 0.3s ease-in-out;
    }
    nav .icon-container {
        display: block;
        position: absolute;
        top: 75vw;
        right: 0vw;
        background-color: transparent;
        border: none;
        z-index: 7;

    }
    nav .icon-nav {
        visibility: hidden;
        opacity: 0;
        position: relative;
        display: block;
        transform: translateX(3%) scaleY(-1); /* Aggiunto scaleX(-1) per specchiare l'immagine */
        width: 55vw;
        transition: all 0.2s ease-in-out;
        z-index: 7;
        
    } 
}

/* ------------- MAIN CONTENT ------------- */

/* ------------- Section full-img ------------- */
section.full-img {
    margin: 5vw auto;
    cursor: pointer;
}
section.full-img .underline {
    font-style: italic;
}
section.full-img:hover .underline::after {
    width: 100%;
}
section.full-img img {
    transition: all 1s ease;
}
section.full-img:hover img {
    transform: scale(1.03);
}
section.full-img .relative {
    overflow: hidden;
}

section.full-img .absolute {
    width: 70vw;
    position: absolute;
    top: 50%;
    left: 5vw;
    transform: translate(0, -50%);
}

section.full-img h2 {
    margin-bottom: 1vw;
}

section.full-img h3 {
    margin-bottom: 1vw;
}

section.full-img a {
    color: #fff;
    text-decoration: none;
}

.phone {
    font-family: 'Aboreto', sans-serif;
    text-decoration: none;
    font-size: 3vw;
    color: black;
    letter-spacing: 0.2vw;
}

@media only screen and (max-width: 600px) {
    section.full-img {
        margin: 10vw auto;
    }

    section.full-img h2 {
        margin-bottom: 4vw;
    }

    section.full-img .absolute {
        left: 18vw;
    }
    section.full-img:last-child .absolute {
        top: 80%;
    }

    .phone {
        font-size: 6.5vw;
    }
}

/* ------------- CLAIM ------------- */
section.claim h2 {
    margin-bottom: 2vw;
}

section.claim p {
    margin: 2vw 0 2vw 0;
}

section.claim .absolute {
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

@media only screen and (max-width: 600px) {
    section.claim {
        width: 85vw;
        margin: 10vw auto;
    }

    section.claim h2 {
        margin-bottom: 4vw;
    }

    section.claim p {
        margin: 4vw 0 6vw 0;
    }
}

/* ------------- SECTION SERVIZI ------------- */
.servizi {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 2vw auto 0 auto;
    width: 100%;
    height: auto;
}

.servizi .icon {
    width: 12%;
    margin-left: 5vw;

}

.servizi p {
    margin: 1vw auto;
}

.servizi .text .underline {
    color: #212121;
    text-decoration: none;
    font-style: italic;
}

.servizi .text .underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0.1vw;
    bottom: 0vw;
    left: 0;
    color: #212121;
    background-color: #212121;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 3;
}

.servizi .text .underline:hover::after {
    visibility: visible;
    width: 100%;
}

#slideShowTris {
    width: 60vw;
    background-color: none;
    overflow: hidden;
}

#slideShowTris .mySlides h3 {
    position: absolute;
    bottom: 5%;
    left: 10%;
    font-size: 2vw;
}

.mySlides {
    top: 5%;
    left: 102.5%;
    width: 30%;
    transform: translateX(0);
    border-radius: 2px;
    overflow: hidden;
}

.mySlides:nth-child(1) {
    left: 2.5%;
}

.mySlides:nth-child(2) {
    left: 35%;
}

.mySlides:nth-child(3) {
    left: 67.5%;
}

.prev,
.next {
    top: 42%;
    font-size: 4vw;
}

.prev {
    left: 2vw;
}

@keyframes slideIn {
    0% {
        left: 102.5%;
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        left: 67.5%;
        transform: scale(0.95);
        opacity: 0.95;
    }
}

@keyframes slideCenter {
    0% {
        left: 67.5%;
        transform: scale(0.95);
        opacity: 0.95;
    }

    100% {
        left: 35%;
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        left: 35%;
        transform: scale(1);
        opacity: 1;
    }

    100% {
        left: 2.5%;
        transform: scale(0.95);
        opacity: 0.95;
    }
}

@keyframes slideOut {
    0% {
        left: 2.5%;
        transform: scale(0.95);
        opacity: 0.95;
    }

    100% {
        left: -35%;
        transform: scale(0.8);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    0% {
        left: -35%;
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        left: 2.5%;
        transform: scale(0.95);
        opacity: 0.95;
    }
}

@keyframes slideCenterLeft {
    0% {
        left: 2.5%;
        transform: scale(0.95);
        opacity: 0.95;
    }

    100% {
        left: 35%;
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideLeftLeft {
    0% {
        left: 35%;
        transform: scale(1);
        opacity: 1;
    }

    100% {
        left: 67.5%;
        transform: scale(0.95);
        opacity: 0.95;
    }
}

@keyframes slideOutLeft {
    0% {
        left: 67.5%;
        transform: scale(0.95);
        opacity: 0.95;
    }

    100% {
        left: 102.5%;
        transform: scale(0.8);
        opacity: 0;
    }
}

@media screen and (max-width: 600px) {
    .sstris {
        width: 90%;
        overflow: hidden;
    }
    .servizi {
        width: 100%;
        flex-direction: column;
        margin: 10vw auto 0 auto;
        overflow: hidden;
    }

    .servizi .icon {
        display: none;
    }

    .servizi .text {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    #slideShowTris {
        width: 100%;
        margin: 0 auto;
        height: 155vw;
        overflow: hidden;
    }
    .mySlides {
        top: 5%;
        left: 8%;
        width: 85%;
        transform: translateX(0);
        border-radius: 2px;
        overflow: hidden;
        opacity: 0;
    }
    .mySlides:nth-child(1) {
        opacity: 1;
        left: 8%;
    }

    #slideShowTris .mySlides h3 {
        font-size: 10vw;
    }

    .prev,
    .next {
        font-size: 10vw;
        top: 45%;
    }

    .prev {
        left: 10.8%;
    }

    .next {
        right: 11%;
    }
    @keyframes slideIn {
        0% {
            /*transform: translateX(100%);*/
            left: 200%;
            transform: scale(0.8);
            opacity: 0;
        }
    
        100% {
            /* transform: translateX(0);*/
            left: 200%;
            transform: scale(0.95);
            opacity: 0;
        }
    }
    
    @keyframes slideCenter {
        0% {
            left: 200%;
            transform: scale(0.95);
            opacity: 0;
        }
    
        100% {
            left: 100%;
            transform: scale(0.95);
            opacity: 0;
        }
    }
    
    @keyframes slideLeft {
        0% {
            left: 100%;
            transform: scale(0.95);
            opacity: 0;
        }
    
        100% {
            left: 8%;
            transform: scale(1);
            opacity: 1;
        }
    }
    
    @keyframes slideOut {
        0% {
            left: 8%;
            transform: scale(1);
            opacity: 1;
        }
    
        100% {
            left: -100%;
            transform: scale(0.8);
            opacity: 0;
        }
    }

    @keyframes slideInLeft {
        0% {
            left: -100%;
            transform: scale(0.8);
            opacity: 0;
        }
    
        100% {
            left: 8%;
            transform: scale(1);
            opacity: 1;
        }
    }
    
    @keyframes slideCenterLeft {
        0% {
            left: 8%;
            transform: scale(1);
            opacity: 1;
        }
    
        100% {
            left: 100%;
            transform: scale(0.8);
            opacity: 0;
        }
    }
    
    @keyframes slideLeftLeft {
        0% {
            left: 100%;
            transform: scale(0.8);
            opacity: 0;
        }
    
        100% {
            left: 100%;
            transform: scale(0);
            opacity: 0;
        }
    }
    
    @keyframes slideOutLeft {
        0% {
            left: 100%;
            transform: scale(0);
            opacity: 0;
        }
    
        100% {
            left: 100%;
            transform: scale(0);
            opacity: 0;
        }
    }
}




/* ------------- SECTION VALORI ------------- */
section.valori h2 {
    margin-bottom: 1vw;
}

section.valori h3 {
    font-size: 2.2vw;
}

.tris {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    height: auto;
}

.tris div {
    width: 33.34%;
    height: auto;
}

.tris div div {
    width: 68%;
    top: 50%;
    left: 16%;
    transform: translate(0%, -50%);
}

.tris p {
    color: #fff;
    margin-top: 1vw;
    /*font-size: 1.7vw;*/

}

@media screen and (max-width: 600px) {
    section.valori h2 {
        margin-bottom: 4vw;
    }

    section.valori h3 {
        font-size: 5.5vw;
    }

    .tris {
        flex-direction: column;
    }

    .tris div {
        width: 98%;
        height: auto;
        ;
    }

    .tris div:nth-child(2) {
        margin: 1vw auto;
    }

    .tris p {
        font-size: 4.5vw;
    }
}

/* ------------- SECTION SEDI ------------- */

section.sedi h2 {
    margin-bottom: 1vw;
}

section.sedi .absolute {
    width: 80%;
    left: 9%;
    display: block;
    text-align: center;
    color: #fff;
}

section.sedi .absolute .sedi-title {
    margin: 6vw 0 4vw 0;
}

section.sedi .absolute .sedi-title .phone {
    color: #fff;
    font-size: 3vw;
}

section.sedi .absolute .sedi-title p {
    margin-top: 1vw;
}

section.sedi .absolute .sedi-pos {
    display: flex;
    margin: 0 auto;
    width: 100%;
    height: auto;
    align-items: flex-start;
    justify-content: space-around;
}

section.sedi .sedi-pos img {
    width: 3vw;
}

section.sedi .sedi-pos .city-pos {
    margin: 2.3vw auto;
    font-family: 'Aboreto', sans-serif;
    text-transform: uppercase;
    font-size: 2vw;
}

section.sedi .sedi-pos .city-pos span {
    font-size: 1.4vw;
}

section.sedi .sedi-pos .sede:nth-child(3) .city-pos {
    margin: 2vw auto 0 auto;
}

section.sedi img.responsive {
    display: inline;
}

@media screen and (max-width: 600px) {
    section.sedi .absolute {
        margin-top: 7vw;
    }

    section.sedi h2 {
        margin-bottom: 4vw;
    }

    section.sedi .absolute .sedi-title .phone {
        font-size: 8vw;
    }

    section.sedi .absolute .sedi-title p {
        font-size: 5vw;
    }

    section.sedi .absolute .sedi-pos {
        flex-direction: column;
        align-items: center;
    }

    section.sedi .absolute .sedi-pos .sede {
        margin: 3vw auto;
    }

    section.sedi .sedi-pos img {
        width: 8vw;
    }

    section.sedi .sedi-pos .city-pos {
        margin: 2vw auto 1vw auto;
        font-size: 4.5vw;
    }

    section.sedi .sedi-pos .city-pos span {
        font-size: 3.5vw;
    }
}