/* frameAnimation.css */
.video-frame-section {
    position: fixed;
    height: 100vh; /* Ajusta según necesites */
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    z-index: 3000;
    pointer-events: none;
}
.custom-burguer-menu{
    z-index: 4000 !important;
}
.frame-animation {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Para img */
    background-size: cover; /* Para div con background-image */
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    
}

/* Si usas canvas */
.video-canvas {
    max-width: 100%;
    max-height: 100%;
    width: 100vw;
    height: 100vh;
}

/* Contenido superpuesto opcional */
.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    pointer-events: none; /* Para que no interfiera con el scroll */
}


/* Responsive */
@media (max-width: 1200px) {
     .video-frame-section {
        height: 55vh;
        width: 50vw;
        top: 23%;
        left: 25%;
    }
    /* .frame-animation {
        object-fit: contain; 
    } */

}

/* Responsive */
@media (max-width: 768px) { 
    .video-frame-section {
        height: 100vh;
        width: 100vw;
        top: 75px;
        left: 0;
    }
    /* .frame-animation {
        object-fit: contain; 
    } */

}

/* Optimización para evitar flickering */
.frame-animation {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
}