:root {
    --headerandfooterBackroundlinear: linear-gradient(180deg, #F9C1A8 0%, #FAF7F6 100%);
    --headerBackroundcolorlogo: #F9C1A8;
    --borderwhitestandard: 2px solid white;
    --whiteStandard: white;
    --linkemailcolor: #0D96FE;

    --font-family-dancing-regular: 'DancingScript';
    --fonts-family-monts500: "Monts500";
    --fonts-family-poppins500: "Poppins500";
    --fonts-family-poppins300: "Poppins300";
    --fonts-family-roboto500: "Roboto500";

    --font-size-large: 1.2rem; /* Textgröße für große Displays */
    --font-size-medium: 1rem; /* Textgröße für mittlere Displays */
    --font-size-small: 0.9rem; /* Textgröße für kleine Displays */
}

body {
    font-family: Arial, sans-serif;
    font-size: var(--font-size-medium); /* Standard Textgröße */
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Globale Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Flex-Container */
.flexContainer {
    display: flex;
    flex-wrap: wrap; /* Umbruch bei kleinen Bildschirmen */
    justify-content: center; /* Zentriert horizontal */
    align-items: center; /* Zentriert vertikal */
    width: 100%; /* Nimmt die gesamte Breite */
    margin:auto;
    max-width: 1200px; /* Maximale Breite */
    padding: 5%; /* Innenabstand */
    gap: 15px; /* Abstand zwischen den Containern */
    background-color: #f0f0f0;
    box-sizing: border-box;
}

/* Einzeln Container */
.container {
    flex: 1 1 90%; /* Nimmt 90% der Breite bei kleinen Bildschirmen */
    max-width: 500px; /* Maximale Breite auf großen Bildschirmen */
    padding: 5%; /* Anpassbare Innenabstände */
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Typografie */
h1 {
    font-size: 1.8rem;
    color: #F9C1A8;
    text-align: center;
}

h2 {
    font-size: 1.4rem;
    color: #555;
    margin: 20px 0;
}

p {
    font-size: var(--font-size-small);
    line-height: 1.6;
    margin: 10px 0;
    text-align: center;
}

a {
    color: #F9C1A8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    margin: 10px 20px;
    padding: 0;
    list-style-type: disc;
}

/* Verbesserung für kleine Bildschirme */
@media (max-width: 768px) {
    :root {
        --font-size-medium: 0.95rem; /* Kleinere Textgröße */
        --font-size-small: 0.85rem; /* Noch kleinere Textgröße */
    }

    .flexContainer {
        gap: 10px; /* Weniger Abstand zwischen Containern */
    }

    .container {
        padding: 4%; /* Weniger Innenabstand */
        flex: 1 1 100%; /* Nimmt die gesamte Breite */
        max-width: 300px;
    }

    h1 {
        font-size: 1.6rem; /* Kleinere Überschriften */
    }

    h2 {
        font-size: 1.2rem;
    }
}
