.video-container-effect {
    height: 110vh;
}
.video-container-height{
    height: 150vh!important;
}
.video-container{
    height: 100vh;
    transition: height 0.8s ease-in-out;
    justify-content: center;
    align-items: center;
}
.overlay {
    transition: all 0.8s ease-in-out;
    opacity: 1;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.33); /* nero semi-trasparente */
    pointer-events: none; /* opzionale */
}
.header-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;

    transition: all 0.8s ease-in-out;
    opacity: 0;
}

.video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh;
    height: 56.25vw;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none; /* blocca interazione con il player */
}
css/* Nasconde il play overlay nativo di Safari/WebKit */
video::-webkit-media-controls {
    display: none !important;
}
video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}
video::--webkit-media-controls-overlay-play-button {
    display: none !important;
}

@media(min-width: 998px){
    .video-container {
        height: 100dvh;
    }
}