/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-1: #F1D0A6;
}

body,
html {
    height: 100%;
    width: 100%;
    margin-bottom: 1rem;
    font-family: "Lato", sans-serif;
    overflow: hidden;
}

/* Video Background Styles */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    /* User cannot interact with video */
}



/* Content Overlay Styles */
.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-1);
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay for better text readability */
    z-index: 1;
    padding: 0 20px; /* Prevent text touching edges on mobile */
}

.logo-container {
    margin-bottom: 2rem;
}

.logo {
    max-width: 400px;
    /* Adjust size as needed */
    height: auto;
    display: block;
}

.main-title {
    font-size: 2rem; /* Larger for desktop impact */
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 2rem; /* Balanced for desktop */
    font-weight: 500;
    letter-spacing: 1px;
}

/* Maintain aspect ratio and cover screen */
@media (min-aspect-ratio: 16/9) {
    .video-background iframe {
        width: 100vw;
        height: 56.25vw;
        /* 100 * 9 / 16 */
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-background iframe {
        height: 100vh;
        width: 177.78vh;
        /* 100 * 16 / 9 */
    }
}

@media (max-width: 768px) {
    .logo {
        max-width: 250px; /* Slightly larger on mobile */
    }

    .main-title {
        font-size: 2rem; /* Readable on mobile */
    }

    .subtitle {
        font-size: 1.1rem; /* Proportional to title */
        letter-spacing: 0.5px;
    }
}