/* CSS Reset für konsistente Darstellung */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
    overflow-y: auto; /* Ermöglicht vertikales Scrollen */
}

body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: linear-gradient(135deg, #f3f4f6, #e5e8ec);
    padding: 20px;
    margin: 0;
    flex-direction: column;
    min-height: 100vh;
}

/* Flaggen-Container */
.flags {
    display: flex;
    justify-content: center; /* Flaggen zentrieren */
    align-items: center;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    margin-top: 20px; /* Abstand zum oberen Rand */
    width: 100%; /* Volle Breite für den Container */
    max-width: 1200px; /* Begrenze die Breite für größere Bildschirme */
}

/* Flaggen-Bilder */
.flags img {
    margin: 0 5px;
    width: 40px;
    height: 30px;
    border-radius: 5px;
}

/* Hauptcontainer */
.container {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 5%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 600px; /* Maximale Breite */
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
    min-height: 300px; /* Minimale Höhe für kürzere Texte */
    max-height: 600px; /* Maximale Höhe für längere Texte */
    overflow-y: auto; /* Scrollen, wenn der Inhalt zu groß ist */
}
/* Überschrift */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #b89f5d;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1rem;
}

/* Fließtext */
p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Profilbild */
img.profile {
    width: 50%;
    border-radius: 60%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

/* Social Media Buttons */
.social-buttons {
    margin-top: 20px;
    margin-bottom: 20px; /* Ausreichend Abstand nach unten */
}

.social-buttons a {
    margin: 0 15px;
    font-size: 2rem;
    color: #b89f5d;
    transition: color 0.3s ease;
}

.social-buttons a:hover {
    color: #a6864b;
}

/* Abstand unter dem letzten Text */
.container p:last-of-type {
    margin-bottom: 50px; /* Vergrößerter Abstand zum unteren Rand */
}

/* Social Media Container */
.social-container {
    display: flex;
    justify-content: center; /* Zentriere horizontal */
    align-items: center; /* Zentriere vertikal */
    background-color: white;
    padding: 15px 10px; /* Erhöhtes Padding, um den Container ausgewogener zu machen */
    border-radius: 8px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 600px;
    height: auto;
}

/* Social Media Icons im Container */
.social-buttons a {
    margin: 1 1px;
    font-size: 2rem;
    color: #b89f5d;
    transition: color 0.3s ease;
}

.social-buttons a:hover {
    color: #a6864b;
}

/* Allgemeine Stile für Flexbox-Zentrierung */
body {
    display: flex;
    justify-content: center; /* Zentriere horizontal */
    align-items: center; /* Zentriere vertikal */
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 20px 0; /* Reduziertes Padding oben und unten */
    background: #f3f4f6; /* Hintergrundfarbe */
}

/* Container für den Inhalt */
.container {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 5%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    text-align: center;
    margin: 20px 0; /* Abstand oben und unten */
}

/* Flaggen-Container */
.flags {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    max-width: 600px;
    width: 100%;
}

/* Flexbox und Media Queries für Desktop */
@media (min-width: 768px) {
    body {
        align-items: center; /* Zentriere den Inhalt vertikal */
        padding-top: 20px; /* Weniger Platz oben */
        padding-bottom: 20px; /* Weniger Platz unten */
    }

    .container, .flags {
        max-width: 800px; /* Breitere Container für Desktop */
        padding: 2% 5%; /* Reduziertes Padding für Desktop */
    }
}
