/* Virtualab - Main Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Dark Overlay for better text readability */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Main Content Container */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Logo */
.logo {
    max-width: 600px;
    width: 90%;
    height: auto;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

/* Welcome Text */
.welcome-text {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    max-width: 800px;
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.welcome-text strong {
    font-weight: 500;
    color: #ffffff;
}

/* Footer z-index fix */
#M-footer {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        max-width: 400px;
        margin-bottom: 0.3rem;
    }
    
    .welcome-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 300px;
        margin-bottom: 0.2rem;
    }
    
    .welcome-text {
        font-size: 1rem;
    }
}

/* Fallback for devices that don't support video autoplay */
.fallback-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2744 0%, #2B4570 100%);
    z-index: -3;
}






