body {
    margin: 0;
    font-family: sans-serif; /* Default fallback */
    background: linear-gradient(135deg, rgba(235, 242, 255, 1) 0%, rgba(210, 225, 250, 1) 100%); /* Adjusted gradient for body */
    color: #333;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scroll */
    overflow-y: auto; /* Allow vertical scroll only when needed */
    width: 100%;
    background-attachment: fixed; /* Keep background fixed while scrolling */
}

html {
    height: -webkit-fill-available;
    height: 100%;
}

.container {
    max-width: 1100px; /* Control max content width */
    margin: 0 auto; /* Center container horizontally */
    padding: 40px 20px; /* Vertical padding */
    position: relative; /* Needed for z-index stacking */
    z-index: 10; /* Ensure container is above animation */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative; /* Ensure header is stackable */
    z-index: 11; /* Above animation */
}

.logo {
    height: 25px;
}

nav a {
    font-family: "Source Code Pro", monospace;
    text-decoration: none;
    color: #555;
    font-size: 0.9em;
    font-weight: 500;
}

nav a:hover {
    color: #000;
}

main {
    position: relative; /* Context for absolute positioning */
}

#animation-container {
    position: fixed; /* Fixed position to cover viewport */
    top: 0;
    left: 0;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    z-index: 1; /* Behind content */
    overflow: hidden;
}

#animation-container svg {
    width: 100%; /* Ensure SVG fills container */
    height: 100%;
}

.content {
    position: relative;
    z-index: 11; /* Ensure text is above animation */
    padding: 15vh 20px 20px 0; /* More top padding to push below header/start of anim */
    max-width: 650px; /* Adjusted width */
}

.headline {
    font-family: "Special Gothic", sans-serif;
    font-size: 3.5em;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 20px;
    margin-top: 0; /* Adjust spacing */
    opacity: 0; /* Initially hidden */
}

.tagline {
    font-family: "Source Code Pro", monospace;
    font-size: 1em;
    line-height: 1.6;
    color: #444;
    max-width: 600px;
    opacity: 0; /* Initially hidden */
}

/* Responsive adjustments if needed */
@media (max-width: 768px) {
    .logo {
        height: 20px;
    }

    .container {
        padding: 15px;
    }

    .headline {
        font-size: 2.5em;
    }

    .tagline {
        font-size: 0.9em;
    }

} 