/* Basic Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: #fff;
    overflow: hidden;
    color: #fff;
}

/* Wrapper with fade-in animation */
#wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    animation: wrapperFade 3s forwards;
}

@keyframes wrapperFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Scrolling Background */
#bg {
    position: fixed;
    width: 200%;
    height: 100%;
    background: url('images/bg.jpg') repeat-x left;
    background-size: cover;
    animation: bgScroll 120s linear infinite;
}

@keyframes bgScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Semi-transparent overlay for contrast */
#overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

/* Main content centered */
#main {
    position: fixed;
    width: 100%;
    height: 100%;
    text-align: center;
}

/* Header styles */
#header {
    position: relative;
    top: 30%;
    transform: translateY(-30%);
}

#header h1 {
    font-size: 7em;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: 0.5em;
}

#header p {
    font-size: 2em;
    opacity: 0.8;
    margin-bottom: 1em;
}

/* Button Container */
.button-container {
    margin-bottom: 1.5em;
    margin-top: 6em;
}

/* Team Buttons */
.team-button {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 900;
    font-size: 1em;
    text-decoration: none;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    margin: 5px;
    display: inline-block;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.team-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Navigation icons */
#header nav ul {
    list-style: none;
    display: inline-flex;
    padding: 0;
}

#header nav ul li {
    margin: 0 10px;
    opacity: 0;
    animation: navFade 0.5s ease-in-out forwards;
}

#header nav ul li:nth-child(1) { animation-delay: 2.5s; }
#header nav ul li:nth-child(2) { animation-delay: 2.75s; }
#header nav ul li:nth-child(3) { animation-delay: 3s; }

@keyframes navFade {
    from { opacity: 0; transform: translateY(1em); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Icon styling from Font Awesome */
.icon {
    text-decoration: none;
}

.icon .label {
    display: none;
}

/* Footer styling */
#footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    #header h1 {
        font-size: 4em;
    }

    #header p {
        font-size: 1.5em;
    }

    .team-button {
        font-size: 0.9em;
        padding: 8px 16px;
    }

    #header nav ul {
        flex-direction: column;
    }

    #header nav ul li {
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    #header h1 {
        font-size: 3em;
    }

    #header p {
        font-size: 1.2em;
    }

    .team-button {
        font-size: 0.8em;
        padding: 6px 12px;
    }

    #header nav ul {
        flex-direction: column;
    }

    #header nav ul li {
        margin: 5px 0;
    }
}


.skyldeliste-container {
    text-align: center;
    margin-top: 40px; /* Increased from 20px to create more space */
}