/* Basis-Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6; /* Für bessere Lesbarkeit */
    background-color: #f4f4f4; /* Heller Hintergrund */
}

header, footer {
    background-color: #00721c;
    color: white;
    text-align: center;
    padding: 1em;
}

header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Schatten */
}

.menue {
    background-color: #ff383e;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px; /* Default Height */
    margin: 0; /* Standardisierte Margin */
}

/* Link-Stile */
a {
    text-decoration: none;
}

nav ul, footer ul {
    list-style-type: none;
    padding: 0;
}

/* Navigation Stile */
nav ul li, footer ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li:last-child, footer ul li:last-child {
    margin-right: 0; /* Entfernt den rechten Abstand vom letzten Element */
}

/* Absatz-Stile */
p {
    margin-bottom: 50px; 
    color: #333; 
    font-size: large;
}

/* Überschrift-Stile */
h2, h3 {
    color: #00721c; /* Farblich passend zum Header */
    margin: 20px 0; /* Gemeinsamer Margin für oben und unten */
    padding-bottom: 10px; /* Abstand für den Unterstrich */
}

h2 {
    border-bottom: 2px solid #4CAF50; /* Unterstrich für zusätzliche Betonung */
}

/* Standardstile für .content */
.contentall {
    width: 100%;

    display: flex;
    flex-direction: column; /* Standard bei kleiner Ansicht */
    align-items: center; /* Elemente zentrieren */
}

    .content {
        max-width: 80%;
    }

/* Stile für Desktop-Geräte */
@media (min-width: 1024px) {
    .container {
        max-width: 67%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        gap: 20px; /* Abstand zwischen den Flex-Elementen */
    }

    .content {
        max-width: 65%;
    padding: 20px;
    }
}

/* Medienabfrage für Bildschirme kleiner als 1024px */
@media (max-width: 1023px) {
    .container {
        flex-direction: column; /* Elemente untereinander anordnen */
        align-items: flex-start; /* Links ausrichten */
    }

    .menue {
        height: 120px; /* Erhöhte Höhe für kleine Bildschirme */
    }
}

/* Footer Stile */
footer {
    position: relative;
}

footer a {
    color: white; /* Gute Sichtbarkeit */
}

footer a:hover {
    text-decoration: underline; /* Hover-Effekt */
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }

    header, footer {
        padding: 0.5em;
    }

    h2, h3 {
        margin-top: 40px; /* Leichte Anpassung bei kleineren Bildschirmen */
    }
}

/* .content_box Stile */
.content_box {
    background-color: #f4f8c4;
    border-radius: 20px 10%; 
    margin-top: 20px;
    padding: 0 20px; /* Standardisierte Padding-Notation */
}

.content_box-pic {
  width: 100%;
  overflow: hidden;
  justify-content: space-between;
}

.content_box-pic_pic {
  float:left;
min-width: 384px;
}

.content_box-pic_text {
  float:left;
	width: calc(100% - 404px); /* Brechnung content_box-pic_pic 384 + margin-left 20 */
	margin-left: 20px;
}

@media (max-width: 800px) {
            .content_box-pic_text {
                width: 100%; /* Vollständig breit, um untereinander zu passen */
    		padding: 0 20px;
            }

.clear {
	clear: both;
}