body, html {
    margin: 0;
    padding: 0;
    /*overflow: hidden;*/
    font-family: 'Arial', sans-serif;
    color: #fff;
}

canvas {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Setzt Canvas hinter den Content */
}

.content {
    position: relative;
    z-index: 1; /* Setzt Content über Canvas */
    padding: 2rem;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(44, 46, 59, 0.9); /* Noch dunklerer semi-transparenter Hintergrund mit deinem Farbschema */
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

p {
    font-size: 1.2rem;
    max-width: 800px;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }
}

/* Animation Controls */
.animation-controls {
    margin-top: 1rem;
    text-align: center;
}

.animation-dropdown {
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    border: none;
    background-color: var(--card-bg);
    color: var(--text);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.animation-dropdown:hover {
    background-color: #3b3c50;
}

.animation-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--blue);
}

/* Wetteranimation Canvas */
#weatherCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Hinter dem Content */
    pointer-events: none;
    display: none; /* Standardmäßig ausgeblendet */
}

/* Wenn Sonnenanimation aktiv ist */
body.sun-mode {
    background-color: #87CEEB; /* Hellblauer Hintergrund */
}

/* Wenn Regenanimation aktiv ist */
body.rain-mode {
    background-color: #2a2d3e; /* Dunklerer Hintergrund */
}

.footer-buttons {
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.copyright {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.legal-links {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    gap: 1rem;
}

.legal-links a {
    color: var(--blue);
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.legal-links a:hover {
    text-decoration: underline;
}