/* Globale Einstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Einheitliches Box-Modell */
}

body {
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
    position: relative;
    font-family: "Gentium Book Plus", serif;
    background-color: #f8f5ff; /* Sanfte violette Pastellfarbe */
    color: #333;
    text-align: center;
    margin: 0;
    line-height: 1.8; /* Verbesserte Lesbarkeit */
}

/* Inhaltsbereich */
.content {
    padding: 20px;
    position: relative;
    background-color: #e4dcff; /* Pastellviolett */
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Scrollbare Abschnitte */
section {
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 2s ease-out;
}

/* Sichtbare Abschnitte */
section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Überschriften */
h1, h2 {
    color: #4b0082; /* Intensives Lila für Überschriften */
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 18px;
}

/* Animierte Effekte */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes grow {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

h1.visible {
    animation: fadeIn 2s ease forwards;
}

p.visible {
    animation: slideIn 3s ease forwards;
}

img.visible {
    animation: grow 1.2s ease forwards;
}
