/* ##########################  BASE ########################## */
body {
    font-family: Arial, sans-serif;
    color: black;
    background-color: rgb(226,238,216); /* Helle grüne Farbe für den Hintergrund */
}

.anmeldungModal .fade{
    animation-duration: 1s;
    animation-name: slideIn;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

nav {
    background-color: rgb(112, 178, 76); /* Grüne Farbe für die Navbar */
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

nav ul li {
    display: flex;
    align-items: center;
}

nav ul li:first-child {
    margin-right: 10px;
}

nav ul li:first-child img {
    height: 100px;
    border-radius: 50%;
    margin-right: 10px;
}

nav ul li:first-child h2 {
    margin-top: 10px;
    margin-left: 10px;
    font-size: 20px;
    color: black; /* Schwarze Schriftfarbe */
}

nav .navbar-nav .nav-item .btn {
    font-size: 17px;
    display: flex;
    border-radius: 4px;
    border: black 1px solid;
    background-color: rgb(87, 138, 59);
}

/* Navbar Toggler Button */
.navbar-toggler {
    border: none; /* Entfernt den Rand des Buttons */
    background-color: transparent; 
}

/* Navbar Toggler Icon */
.navbar-toggler-icon {
    border-radius: 2px; /* Optional: rundet die Ecken des Icons ab */
}

@media (max-width: 768px) {
    /* Logo verkleinern */
    nav ul li:first-child img {
        height: 50px; /* Logo auf 50px verkleinern */
    }

    /* Titel anpassen */
    nav ul li:first-child h3 {
        font-size: 1.25rem; /* Größe von h4 (ca. 20px) */
    }

    /* Navbar-Layout für kleine Geräte */
    nav ul {
        flex-direction: column; /* Elemente untereinander anordnen */
        text-align: center;
    }

    nav ul li {
        justify-content: center; /* Elemente zentrieren */
        margin-bottom: 10px; /* Abstände zwischen Elementen */
    }

    .navbar-toggler {
        display: block; /* Toggler sichtbar machen */
    }

    .logo-img {
        height: 50px;
    }
    
    .contact-info{
        flex-direction: column;
    }
}

/* Standard-Layout: Blöcke untereinander */
.main-news-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.termine-und-kontakte {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.info-und-highligt {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 2;
}

.termine-block, .kontakte-block, .info-block, .highlight-block{
    background-color: rgb(171, 210, 162);
    padding: 10px;
    border-radius: 5px;
}

/* Layout für größere Bildschirme */
@media (min-width: 768px) {
    .main-news-container {
        flex-direction: row; /* Blöcke nebeneinander */
    }

    .termine-und-kontakte {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .termine-block {
        flex: 1;
    }

    .kontakte-block {
        flex: 1;
    }

    .highlight-block {
        flex: 2;
    }
}

.footer {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: rgb(112, 178, 76); /* Grüne Farbe für den Footer */
}

/* ##########################  STARTSEIE ########################## */
.container .content-container {
    display: flex;
    flex-wrap: wrap;
    background-color: rgb(226,238,216); /* Helle grüne Farbe für die Startseite */
    height: auto;
}

section {
    padding-top: 1.5%;
    padding-bottom: 2.5%;
    padding-left: 5%;
    padding-right: 5%;
    background-color: rgb(226,238,216); /* Helle grüne Farbe für die Startseite */
    height: auto;
}

section .main-news-container {
    margin-top: 15px;
    gap: 10px; /* Abstand zwischen den flexiblen Elementen */
}

section .events{
    /* abgerundete Kanten */
    border-radius: 5px;
    padding: 5px;
}

section .events .event {
    background-color: rgb(171, 210, 162);
    border-radius: 10px;
    padding: 5px;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

section .events .event img {
    width: 150px;
    height: 150px;
    object-position: center;
    object-fit: cover;
}
section .events .event div {
    flex: 1;
}

/* ##########################  MANAGEMENT  ########################## */
section #eventManagement {
    margin-top: 15px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 10px;
    align-items: center;
    text-align: center;
    background-color: #f8f9fa; /* Heller Hintergrund für alle Zeilen */
}
.grid-header {
    font-weight: bold;
    background-color: #e9ecef; /* Etwas dunklerer Hintergrund für die Überschrift */
    padding: 10px;
}
.grid-item {
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
}
.btn-group {
    display: flex;
    justify-content: center;
    gap: 5px;
}