/* --- Video Background and Reset CSS (No change) --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden; 
}

/* 1. Video Background Container */
.video-background {
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* 2. Video Foreground (iframe wrapper) and iFrame Styling (No change) */
.video-foreground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-foreground iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
}

@media (min-aspect-ratio: 16/9) {
    .video-foreground iframe {
        height: 56.25vw;
    }
}
@media (max-aspect-ratio: 16/9) {
    .video-foreground iframe {
        width: 177.78vh;
    }
}

/* 4. Content Styling and Centering (No change) */
.content {
    position: relative;
    z-index: 1;
    color: #FFFFFF;
    font-family: sans-serif;
    text-align: center;
    
    /* Perfect centering via Flexbox */
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    
    /* Add a subtle overlay for better image contrast */
    background: rgba(0, 0, 0, 0.4); 
}

/* UPDATED: Logo Image Styling */
.main-logo {
    /* Made these values 50% smaller than before */
    max-width: 40vw;  /* Logo won't exceed 40% of the viewport width */
    max-height: 40vh; /* Logo won't exceed 40% of the viewport height */
    width: auto;
    height: auto;
    display: block;
    
    /* Optional: Add a subtle shadow to make the logo pop against the video */
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.7)); 
}