.hero-video {
    position: relative;
    width: 100vw;
    height: 115vh;
    overflow: hidden;
    z-index: 1;
}

.hero-video::after {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 1, 1, 0.635);
    z-index: 1;
    position: absolute;
}

.hero-video-dl {
    width: 100%;
    height: auto;
}

.hero-video-dl iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 115vh;
    min-width: 204.5vh;        
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.hero-video-h1 {
    z-index: 2;
    color: white;
    text-align: left;
    font-family: var(--wp--preset--font-family--fustat);
    font-weight: 700;
    font-size: 60px;
    width: 65%;
}

.hero-video-h1 span {
    text-underline-offset: 15px !important;
    text-decoration: underline;
    text-decoration-color: var(--wp--preset--color--primaire);
    text-underline-offset: 10px !important;
    text-decoration-thickness: 8px !important;
}



.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.078);
    z-index: 1;
}

.hero-video .content {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-left: 80px !important;
    padding-bottom: 20% !important;
    padding-right: 80px !important;
}

.mute-btn {
    z-index: 2;
    width: fit-content;
    min-width: 40px !important;
    height: auto;
}

.mute-btn img {
    width: 40px;
    height: 40px;
}

.hero-video-dl iframe {
    backface-visibility: hidden;
    transform: translate(-50%, -50%) translateZ(0);
}



@media (max-width: 1280px) {
     .hero-video {
        height: 115vh;
    }

    .hero-video-h1 {
        font-size: 60px;
        width: 80%;
    }

    .hero-video-dl iframe {
        width: 200vw;
        height: 112vw;       
        min-width: 100vw;
        min-height: 115vh;
    }

    .hero-video .content {
        padding-bottom: 35% !important;
    }
}

@media (max-width: 1024px) {
    
    .hero-video-h1 {
        font-size: 60px;
        width: 70%;
    }

    .hero-video .content {
        padding-left: 80px !important;
        padding-right: 80px !important;
        padding-bottom: 40% !important;
    }

    .hero-video-dl iframe {
        width: 250vw;
        height: 140vw;     
        min-width: 100vw;
        min-height: 115vh;
    }

    .intro {
        margin-top: -20% !important;
    }

}

@media (max-width: 768px) {
    .hero-video {
        height: 120vh;
    }

    .hero-video-dl iframe {
        width: 300vw;
        height: 168.75vw;     
        min-width: 100vw;
        min-height: 150vh;
    }

    .hero-video-h1 {
        font-size: 52px;
        width: 80%;
    }

    .hero-video .content {
        padding-left: 30px !important;
        padding-right: 50px !important;
        padding-bottom: 50% !important  ;
    }

    /*intro*/
    .intro {
        margin-top: -40% !important;
    }


}

@media (max-width: 640px) {
    .hero-video {
        height: 120vh;
    }

     .hero-video-dl iframe {
        width: 100vw;
        height: 56.25vw;
        min-width: 213vh;        
        min-height: 120vh;       
    }

    .hero-video-h1 {
        font-size: 48px;
    }

    .hero-video .content {
        padding-left: 20px !important;
    }
}

@media not all and (min-width: 501px) {
    :root{
        --wp--custom--px: 20px;
        --wp--custom--block-gap: 110px;
    }

    .hero-video {
        height: 100vh;
    }

    .hero-video-dl iframe {
        min-width: 178vh;       
        min-height: 100vh;
    }

    .hero-video .content {
        padding-bottom: 50% !important  ;
    }

    .intro {
        margin-top: -35% !important;
    }

    .hero-video-h1 {
        font-size: 36px !important;
    }
}

@media (max-width: 390px) {
    .hero-video {
        height: 110vh;
    }

    .hero-video-dl iframe {
        width: 100vw;
        height: 225vw;
        min-width: 196vh;        
        min-height: 100vh; 
    }

    .hero-video-h1 {
        font-size: 36px !important;
        width: 95%;
    }

    .hero-video .content {
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-bottom: 60% !important;
    }

    .intro {
        margin-top: -45% !important;
    }
}