.video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 768px){
    
    .video-container video {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        pointer-events: none;
        z-index: 1;
    } 
    
    .video-section {
    position: relative;
    width: 100%;
    height: 90vh;
    }

}

.full {
    z-index: 2;
}

.looper {
    z-index: 1;
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}



.video-text-overlay {
    position: absolute;
    bottom: 50%;
    left: 16.9%;
    font-family: 'Switzer';
    font-size: clamp(24px, 8.2vh, 90px);
    font-weight: 600;
    color: #FFFFFF;
    /*text-transform: uppercase;*/
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 0px;
    line-height: 1.1;
    letter-spacing: 2.5px;
}

@media (max-width: 768px) {
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
    .video-text-overlay {
    bottom: 59%;
    font-size: clamp(24px, 4.2vh, 90px);
    width:100%;
    left: 0;

}
.video-text-overlay .line {
    margin: auto;
}
    
}


.video-text-overlay .line {
    display: flex;
    gap: 14px;
}

.video-text-overlay .word {
  opacity: 0;
  transform: translateY(30px);
  display: inline-block;
}

.video-container video {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}


