/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding: 0;
    margin: 0;
}

header {
    background: #2e7d32; /* Dunkles Grün passend zum Logo */
    color: #fff;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between; /* Falls du rechts andere Elemente hast */
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

.nav-links li {
    margin: 0 1.5rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

#logo {
    margin-right: auto; /* Schiebt das Logo ganz nach links */
    flex-shrink: 0;     /* Verhindert, dass das Logo kleiner wird */
    height: 6rem;
}

#lewpic {
    float: right;
    max-width: 40%;
    height: auto;
    margin-left: 1rem;
}

main {
    text-align: center;
    padding: 2rem;
}

.ansprache {
    text-align: left;
    padding: 2rem;
}

#hero {
    background-color: #a5d6a7;
    color: white;
    padding: 1rem;
    margin-top: 2rem;
    background-image: url("monikablum.jpeg");
    background-size: cover;
    background-position: center;
    text-shadow: 0.6rem 0.6rem 1.6rem rgba(0, 0, 0, 0.5);
    display: flex; /* Flexbox aktivieren */
    flex-direction: column; /* Elemente untereinander anordnen */
    align-items: center; /* Elemente horizontal zentrieren */
    justify-content: center; /* Elemente vertikal zentrieren */
    text-align: center; /* Text zentriert */
}

#hero-text {
    background-color: rgba(0, 0, 0, 0.3); /* Dunkler Block */
    padding: 3px;
    width: 100%; /* Optional, falls du möchtest, dass es sich ausdehnt */
    margin-bottom: 1rem; /* Abstand zu den anderen Elementen */
}

#hero h1, #hero p {
    margin: 0.5rem 0; /* Geringer Abstand zwischen den Elementen */
}

h1, h2 {
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

.cta-btn {
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 0.3rem;
    padding: 0.5rem;
    font-size: 1rem;
    text-decoration: none;
}

.cta-btn:hover {
    background: #388e3c;
    cursor: pointer;
}

section {
    max-width: 80rem;
    margin: 3rem auto;
    padding: 1rem;
}

.story-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.story-item {
    background: #ffffff;
    border: 1px solid #ccc;
    padding: 1rem;
    margin: 1rem;
    border-radius: 8px;
    width: 45%;
}

.story-item img {
    max-width: 100%;
    border-radius: 8px;
}

footer {
    background: #2e7d32;
    color: #fff;
    padding: 1.5rem;
    text-align: center;
    a {
        color: #000000;
    }
    a:hover {
        color: #FFFFFF; /* Optional: Etwas helleres Grün beim Hover, kannst du anpassen */
    }
}

a {
    color: #008800;
}

a:hover {
    color: #006600; /* Optional: Etwas helleres Grün beim Hover, kannst du anpassen */
}


/* Block für Mitmachen */
.block {
    overflow: hidden; /* Oder overflow: auto */
    background-color: #e8f5e9; /* Sanftes Grün, passend zur Natur */
/*    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;*/
    border: 1px solid #c8e6c9; /* Dezente Umrandung */
}

h2 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

ul.mitmachen-list, ul.ziele-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

ul.mitmachen-list li, ul.ziele-list li {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem; /* Abstand zur Linie */
    border-bottom: 0.01rem solid #66bb6a; /* Feine grüne Linie */
}

ul.mitmachen-list li:last-child, ul.ziele-list li:last-child {
    border-bottom: none; /* Keine Linie nach dem letzten Element */
    padding-bottom: 0rem;
}

ul.mitmachen-list p, ul.ziele-list p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

ul.mitmachen-list li strong, ul.ziele-list li strong {
    font-size: 1.2rem;
    color: #388e3c;
}



@media (max-width: 70em) {
    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    #hero {
        padding: 2rem 1rem;
    }

    .story-item {
        width: 90%;
    }
}
