:root {
    --bg-color: #000000;
    --text-color: #e0e0e0;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Cormorant Garamond', serif;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15vh;
    /* Position quotes in upper portion */
    pointer-events: none;
    /* Let clicks pass through to canvas if needed */
}

/* Quote Styling */
.quote-container {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    opacity: 0;
    animation: fadeIn 3s ease-in forwards 1s;
}

.quote {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    /* Stronger shadow for readability over earth/stars */
    letter-spacing: 0.02em;
}

.author {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.9;
    display: block;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.author::before {
    content: "— ";
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .quote {
        font-size: 1.8rem;
    }

    .container {
        padding-top: 10vh;
    }
}