* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html, body {
    width: 100%;
    height: auto;
    overflow-x: auto;
}

.background {
    position: relative; 
    width: 100%;
    min-height: 100vh;
    z-index: 5;
    overflow: auto;
    overflow-x: hidden;
}

.header-section {
    width: 100%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.);
    position: relative;
}

nav {
    display: flex;
    justify-content: center;
    padding: 20px;
}

nav a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(143, 104, 5, 0.3);
    transition: color 0.3s ease;
}

nav a:hover {
    color: #FFA500;
}

.logo-section {
    position: absolute;
    top: 5.5%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5; 
    height: 480px }

/* Logo Container */
.logo-container {
    position: relative;
    width: 100%; /* Container spans full width */
    max-width: 800px; /* Default max width for logos on larger screens */
    height: 200px; /* Default height of the logo container */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Individual Logos */
.logo {
    width: 100%; /* Logo width adapts to the container */
    height: 100%; /* Logo height adapts to the container */
    background-size: contain; /* Ensures no distortion */
    background-repeat: no-repeat; /* Prevents tiling */
    background-position: center; /* Centers the image in the container */
}

#logo1 {
    background-image: url('Assets/1-removebg-preview.png'); /* First logo */
    animation: rollFromLeft 12s ease-out infinite;
}

#logo2 {
    background-image: url('Assets/2nobackground.png'); /* Second logo */
    animation: rollFromRight 12s ease-out infinite;
}


/* Animations for the Logos */
@keyframes rollFromLeft {
    0% {
        transform: translateX(-200%) rotate(0deg);
        opacity: 0;
    }
    30% {
        transform: translateX(0) rotate(360deg);
        opacity: 1;
    }
    70% {
        transform: translateX(0) rotate(360deg);
    }
    100% {
        transform: translateX(0) rotate(360deg);
    }
}

@keyframes rollFromRight {
    0% {
        transform: translateX(200%) rotate(0deg);
        opacity: 0;
    }
    30% {
        transform: translateX(0) rotate(-360deg);
        opacity: 1;
    }
    70% {
        transform: translateX(0) rotate(-360deg);
    }
    100% {
        transform: translateX(0) rotate(-360deg);
    }
}

.button-container {
    margin-top: -0.9px;
    text-align: center;
}

.start-button {
    background: #df7e08;
    padding: 20px 60px;
    border: none;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.start-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.content-section {
    min-height: 100vh;
    padding-top: 90vh;
}

@media screen and (max-width: 2000px) { 
    .logo-section { 
        height: 800px;
    }

    .logo-container {
        height: 4000px;
        width: 200%;
        margin-top: -20px;
    }

    .logo { 
        size: 900px;
    }

}
    

@media screen and (max-width: 1440px) {
    .logo-container {
        width: 100%;
        height: 9500px;
    }

    .logo {
        size: auto;
    }

    .logo-section {
        height: 590px;
    }
    
}

@media screen and (max-width: 1024px) {
    .logo-container {
        width: 100%;
        height: 300px;
    }

    .logo {
        size: auto;
    }

    .logo-section {
        height: 450px;
    }

    .start-button {
        margin-top: -95px;
    }
}

@media screen and (max-width: 768px) {
    .logo-container {
        width: 60%; height: 200px;
    }

    .logo {
        size: auto;
    }

    .logo-section { 
        height: 300px;
    }

    .start-button {
        padding: 15px 45px; font-size: 0.9em; margin-top: -90px;
    }
}

@media screen and (max-width: 480px) {
    .logo-container {
        width: 850%; height: 150px;
    }
    
    .logo-section { height: auto;

    }

    .start-button {
        padding: 10px 20px;
        margin-top: -70px;
        font-size: 0.8em;
    }

    nav a {
        margin: 0 5px;
        font-size: 0.9em;
    }
}

.lazy-background {
    background-image: none; /* No background initially */
}
.lazy-background.lazy-loaded {
    background-image: url('Assets/1-removebg-preview.png'); /* Image loads when in view */
}