/* Reset */
body {
    margin: 0;
    font-family: "Roboto", sans-serif;
}

/* Fullscreen Background */
.screen {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Background Video */
video {
    position: absolute;
    min-width: 100%;
    min-height: 100vh;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -2;
    object-fit: cover;
}

/* ✅ Adjust the video position on smaller screens */
@media screen and (max-width: 800px) {
    video {
        left: 30%; /* Moves the video towards the left */
        transform: translateX(-30%);
    }
}

@media screen and (max-width: 500px) {
    video {
        left: 70%; /* Moves the video even further left on very small screens */
        transform: translateX(-40%);
    }
}

@media screen and (max-width: 400px) {
    video {
        left: 90%; /* Moves the video even further left on very small screens */
        transform: translateX(-40%);
    }
}

@media screen and (max-width: 300px) {
    video {
        left: 100%; /* Moves the video even further left on very small screens */
        transform: translateX(-40%);
    }
}

/* Logo (Smaller & Centered at the Top) */
.logo-container {
    text-align: center;
    margin-top: 2rem; /* Adjusts space from the top */
    margin-bottom: 1rem; /* Keeps spacing with the menu */
}

.logo {
    max-width: 300px; /* Smaller size */
    height: auto;
    filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.8));
}

/* Menu Styling */
.menu {
    text-align: center;
    width: 100%;
    margin-top: 1rem;
}

.menu ul {
    list-style: none;
    padding: 0;
}

.menu li {
    margin: 1em 0;
}

/* Menu Buttons */
.menu li a {
    text-decoration: none;
    color: white;
    font-size: 1.5em;
    font-weight: 700;
    padding: 12px 30px;
    border: 3px solid white;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
}

/* Hover Effects */
.menu li a:hover {
    background: white;
    color: black;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.9);
}

/* Sound Icon */
#sound {
    position: absolute;
    right: 20px;
    top: 20px;
    color: white;
    cursor: pointer;
    font-size: 1.8em;
    transition: 0.3s;
}

#sound:hover {
    color: lightgray;
}

/* Responsive Adjustments */
@media screen and (max-width: 800px) {
    .menu li a {
        font-size: 1.2em;
        padding: 10px 20px;
    }

    .logo {
        max-width: 250px;
    }
}

@media screen and (max-width: 500px) {
    .menu li a {
        font-size: 1em;
        padding: 8px 16px;
    }

    .logo {
        max-width: 220px;
    }
}
