/* Allgemeine Stile */
html {
    scroll-behavior: smooth;
    height: 100%;
}

section a {
    color: #1f1f1f;
    text-decoration: none;
    font-weight: bold;
    
}

section a:hover {
    color: rgba(0, 0, 0, 0.61);
    /* Ändert die Farbe beim Hover */
}

/* Container für zentrierte Inhalte */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    width: 100%;
}

/* Header-Styling */
header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 0;
}

recht {fontsize:0.5rem;}
/* Titel */
body {
    background-image: url('bilder/hintergrund.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    font-family: "Afacad Flux", sans-serif;
    margin: 0;
    padding: 0;
    background-color: rgba(152, 152, 152, 0.57);
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

/* Titel */
h1 {
    font-family: "all-round-gothic", sans-serif;
    font-weight: 600;
    font-size: 3rem;
    margin-bottom: 1em;
    margin-top: 3em; color: rgba(255, 255, 255, 0.72);
}

h1 span {
    font-size: inherit;
}

/* Farbzuweisung für "Leander" */
.h1-container {
    display: flex;
    justify-content: center;
    gap: 2px;
}

.letter-L {
    color: #f5e4b6;
}

.letter-e1 {
    color: #5C778C;
}

.letter-a {
    color: #B54848;
}

.letter-n {
    color: #598E59;
}

.letter-d {
    color: #878787;
}

.letter-e2 {
    color: #C6AF1E;
}

.letter-r {
    padding-right: 15px;
    color: #3A415D;
}

/* "Raab" bleibt schwarz */
.letter-Raab {
    color: rgba(51, 51, 51, 0.63);
}

.center-align {
    text-align: center;
}

.portrait {
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

/* Navigation */
nav {
    font-family: "all-round-gothic", sans-serif;
    font-weight: 600;
    all: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(175, 175, 175, 0.31);
    padding: 1rem 2rem;
    border-radius: 50px;
    width: auto;
    max-width: 100%;
    margin: 20px auto;
}

/* Navigation Liste */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.5em;
}

/* Navigation Links */
nav ul li {
    display: inline;
}

nav ul li a {
    font-family: "all-round-gothic", sans-serif;
    font-weight: 500;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 30px;
    background-color: transparent;
    transition: background-color 0.2s ease-in-out, color 0.3s;
    display: block;
    color: #333333;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Hauptabschnitt */
section {color: #000000;
    font-family: "all-round-gothic", sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    padding: 2rem;
    max-width: 60%;
    margin: 4em auto;
    border-radius: 50px;
    background-color: rgba(170, 170, 170, 0.51);
    padding-left: 3em;
    padding-right: 3em;
}

/* Überschriften */
h2 {
    font-family: "all-round-gothic", sans-serif;
    font-weight: 600;
    font-size: 1.7rem;
    color: #222;
 

    padding-bottom: 10px;
}

/* Bildergalerie */
.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.gallery img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.musik-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.musik-container img {
    width: 200px;
    height: auto;
    border-radius: 100px;
}

.musik-text-container {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.datum-text {
    font-size: 14px;
    font-weight: bold;
    color: #666;
    margin-bottom: 5px;
    align-self: flex-start;
}

.musik-text {
    max-width: 400px;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}

/* Footer bleibt unten */
footer p {
    font-family: "all-round-gothic", sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.79);
    width: 100%;
    margin-top: auto;
}

/* Spacer */
.spacer50px {
    height: 50px;
}

/* Media Queries für kleinere Bildschirme */
@media (max-width: 768px) {
    /* Navigation */
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1em;
    }

    /* Container */
    .container {
        padding: 1rem;
    }

    /* Titel */
    h1 {
        font-size: 2.5rem;
    }

    /* Hauptabschnitt */
    section {
        padding: 1.5rem;
        margin: 2em 1em;
    }

    /* Galerie */
    .gallery {
        flex-direction: column;
        align-items: center;
    }
.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px; /* Gleiche Breite wie das Bild */
    text-align: center;
    word-wrap: break-word;
}
    /* Musikcontainer */
    .musik-container {
        flex-direction: column;
        gap: 15px;
    }
}
