/* 
   AMEZING MEDICAL - NUCLEAR VIDEO FIX 
   Designed to work on Firefox by moving the video to the furthest back layer 
   and ensuring zero interference with mouse events.
*/

.video-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1000;
    /* Way behind everything */
    overflow: hidden;
    background: #000;
    pointer-events: none !important;
    /* Clicks MUST pass through */
}

.video-bg-element {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.5;
    pointer-events: none !important;
}

/* Overlays inside the container also must not block clicks */
.video-grid-overlay,
.video-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none !important;
    z-index: 1;
}

.video-grid-overlay {
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(1px);
}

.video-gradient-overlay {
    background: linear-gradient(to bottom, transparent 70%, #f8fafc 100%);
}

/* Firefox Specific: Ensure body is transparent to let v-index -1000 show through */
@-moz-document url-prefix() {

    html,
    body {
        background-color: transparent !important;
    }
}