body {
    font: 1.1em/1.1 Arial;
    background-color: #515458;
    margin: 0;
    padding: 0;
    color: #333;
}

.header {
    background-image: url('bilder/header-background-2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 50px;
    height: 300px;
}
.content {
    background-color: #f8f9fa; /* Leicht grau */
    padding: 20px;
}

.schrift-klein{
 font-size: x-small;   
}

.seitentitel {
    color: rgb(255, 254, 254);
    background-color: #656464;
    text-align: center;
}

.zeitleiste {
    background-color: #dadcde; /* Leicht grau */
    padding: 10px;
}

.kontaktformular {
    background-color: #dadcde; /* Leicht grau */
    padding: 10px;
}

.sidebar {
    background-color: #e9ecef;
    padding: 20px;
}
.footer {
    color: #c0c0c0;
    padding: 10px;
    text-align: center;
}

.slider-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider {
    flex-grow: 1;
    margin: 0 10px;
    width: 100%;
}
.output {
    text-align: center;
    margin-top: 10px;
    font-size: 36px;
}
.button {
    background-color: #555;
    color: white;
    border: none;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
}
.button:disabled {
    background-color: #cccccc;
}
.form-container {
    margin-top: 20px;
    text-align: center;
}

.datum{
    text-align: right;
    margin-right: 15px;
    padding: 0px;
}

.float-left {
    float: left;
    margin: 0 15px 15px 0;
}

.float-right {
    float: right;
    margin: 0 0 15px 15px;
}

.h3_literatur {
        position: relative;        /* Ermöglicht die Platzierung des Unterstrichs */
        font-size: 25px; 
        margin-top: 20px;            /* Beispiel-Schriftgröße */
        margin-bottom: 10px;       /* Platz unter der Überschrift */
}

/* Kalender rechts oben */
.calendar-container {
    flex: 0 0 300px;
    text-align: center;
}

.calendar-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.calendar-navigation a {
    text-decoration: none;
    color: #555;
    font-size: 0.8em;
    padding: 5px 10px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.calendar-navigation a:hover {
    background-color: #555;
    color: #fff;
}

.calendar {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    font-size: 0.7em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.calendar th,
.calendar td {
    width: 14.28%;
    height: 35px;
    padding: 2px;
    text-align: center;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.calendar th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.calendar td.has-event {
    background-color: #d1ecf1;
    position: relative;
    font-weight: bold;
}

.calendar td.has-event a {
    color: #555;
    text-decoration: none;
}

/* Veranstalter */
.veranstalter {
    flex: 1;
    background-color: #e7e6e6;
    padding: 20px 10px 10px 10px;
}



/* Einträge links */
.event-list {
    flex: 1;
    background-color: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.event-list h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.event-list h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.event-list .event {
    margin-bottom: 10px;
}

.event-list .event h3 {
    margin: 5px 0;
}

        /* Container-Styling */
        .form-container {
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
        }

        /* Flexbox für Label und Eingabefelder */
        .form-group {
            display: flex;
            flex-wrap: wrap; /* Zeilenumbruch für kleinere Bildschirme */
            align-items: center;
            margin-bottom: 15px;
        }

        /* Label-Styling */
        .form-group label {
            flex: 1 0 15%; /* Nimmt 30% der Zeilenbreite ein */
            text-align: right;
            margin-right: 10px;
            font-weight: bold;
        }

        /* Eingabefelder und Textarea */
        .form-group input[type="text"],
        .form-group textarea {
            flex: 1 0 75%; /* Nimmt 65% der Zeilenbreite ein */
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-sizing: border-box;
        }

        .form-group textarea {
            resize: vertical; /* Benutzer darf Textarea-Größe ändern */
        }

        /* Submit-Button */
        button {
            padding: 10px 20px;
            background-color: #555;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            text-align: right;
        }

        button:hover {
            background-color: #6b6c6e;
        }

/* Allgemeine Einstellungen */
h1 {
    text-align: center;
    margin: 25px;
    font-size: 2.0em;
    color: #fffefe;
}

h2 {
    position: relative;        /* Ermöglicht die Platzierung des Unterstrichs */
    font-size: 18px;   
    margin-top: 40px;         /* Beispiel-Schriftgröße */
    margin-bottom: 10px;       /* Platz unter der Überschrift */
  }


  h3 {
    position: relative;        /* Ermöglicht die Platzierung des Unterstrichs */
    font-size: 15px; 
    margin-top: 20px;            /* Beispiel-Schriftgröße */
    margin-bottom: 10px;       /* Platz unter der Überschrift */
  }
  
  h4 {
    position: relative;        /* Ermöglicht die Platzierung des Unterstrichs */
    font-size: 12px; 
    margin-top: 10px;            /* Beispiel-Schriftgröße */
    margin-bottom: 10px;       /* Platz unter der Überschrift */
  }
  

.mitmachen {
    padding: 10px;
    font-size: 18px; 
    text-align: center;
    background-color: #dadcde;
}


/* Container für den Veranstaltungskalender */
.kalender {
    max-width: 900px;
    margin: 20px auto;
    padding: 10px;
}

/* Veranstaltungsbox */
/* Veranstaltungsbox */
.veranstaltung {
    display: flex;
    align-items: stretch; /* Alle Elemente haben gleiche Höhe */
    margin-bottom: 20px;
    padding: 0;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 8px solid #555;
    overflow: hidden; /* Für saubere Ränder */
}

/* Datumsteil */
.veranstaltung .datum {
    flex: 0 0 120px; /* Feste Breite */
    text-align: center;
    background: #555;
    color: white;
    padding: 10px;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertikal zentrieren */
    align-items: center; /* Horizontal zentrieren */
}

.veranstaltung .datum span {
    display: block;
    font-size: 1.5em;
    margin-top: 5px;
}

/* Textbereich */
.veranstaltung .details {
    flex: 1;
    padding: 10px 20px;
}

.veranstaltung .details h2 {
    font-size: 1.5em;
    color: #555;
    margin-bottom: 10px;
}

.veranstaltung .details p {
    margin: 5px 0;
    color: #555;
    line-height: 1.6;
}

.veranstaltung .details .info {
    margin-top: 15px;
    font-size: 0.9em;
    color: #333;
}

.veranstaltung .details .info strong {
    display: inline-block;
    min-width: 100px;
}

/* Button */
.veranstaltung button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #555;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
}

.veranstaltung button:hover {
    background: #0056b3;
}



/* Navigation-Styling */
.monat-navigation {
    background-color: #555; /* Hauptfarbe der Navigation */
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.monat-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.monat-navigation ul li {
    margin: 0 15px; /* Abstand zwischen den Links */
}

.monat-navigation ul li a {
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.monat-navigation ul li a:hover {
    background-color: #0056b3; /* Dunkleres Blau beim Hover */
    color: #ffffff;
}

/* Responsive Verhalten */
@media (max-width: 600px) {
    .monat-navigation ul {
        flex-wrap: wrap; /* Zeilenumbruch bei kleinen Bildschirmen */
    }

    .monat-navigation ul li {
        margin: 5px;
    }

    .monat-navigation ul li a {
        font-size: 1em;
        padding: 6px 10px;
    }
}


.row1 {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 8px solid #555;
}

/* Titel */
.section-title {
    font-size: 1.3em;
    color: #555;
    margin-bottom: 15px;
    flex: 1 1 100%;
}





/* Datum */
.datum {
    font-size: 0.9em;
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
    flex: 1 1 100%;
}

/* Text und Bild */
.text {
    flex: 1 1 calc(70% - 20px); /* Haupttext nimmt 70% der Breite ein */
    font-size: 1em;
    line-height: 1.6;
    color: #555;
    margin-left: 0px;
    order: 2;
}

.text img {
    margin-right: 15px;
    margin-bottom: 10px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Bearbeiten-Link */
.text-right {
    text-align: right;
    margin-top: 20px;
    font-size: 0.9em;
    color: #555;
}

.text-right a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.text-right a:hover {
    color: #0056b3;
}

/* Responsive Verhalten */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
        padding: 15px;
    }

    .text {
        margin-left: 0;
        margin-top: 10px;
        order: 3;
        flex: 1 1 100%;
    }

    .datum {
        order: 1;
        margin-bottom: 5px;
    }
}





/* Kommentar-Liste */
.kommentar-liste {
    max-width: 800px;
    margin: 20px auto;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Einzelner Kommentar */
.kommentar {
    margin-bottom: 20px;
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    border-left: 5px solid #555;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Kommentar-Name */
.kommentar h4 {
    font-size: 1.1em;
    color: #555;
    margin: 0 0 5px;
}

/* Kommentar-Datum */
.kommentar .datum {
    font-size: 0.8em;
    color: #555;
    margin-bottom: 10px;
}

/* Kommentar-Text */
.kommentar p {
    font-size: 0.8em;
    color: #333;
    line-height: 1.2;
    margin: 0;
}


.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Zwei Spalten */
    gap: 20px; /* Abstand zwischen den Boxen */
    width: 80%;
    max-width: 600px;
}


.button1 {
    display: block;         /* Macht den Button zu einem Blockelement */
    width: 100%;            /* 100% der verfügbaren Breite */
    background-color: #888; /* Graue Hintergrundfarbe */
    color: white;           /* Weißer Text */
    border: none;  
    margin-top: 10px;   
    margin-bottom: 10px;        /* Kein Rahmen */
    padding: 10px 15px;     /* Innenabstand für eine angenehme Größe */
    text-align: center;     /* Zentrierter Text */
    font-size: 16px;        /* Schriftgröße */
    border-radius: 5px;     /* Abgerundete Ecken */
    cursor: pointer;        /* Hand-Cursor bei Hover */
}

.button1 a {
    color: white;           /* Linkfarbe auf Weiß setzen */
    text-decoration: none;  /* Unterstreichung entfernen */
}

.button1 a:hover {
    color: white;           /* Linkfarbe auch bei Hover Weiß belassen */
    text-decoration: none;  /* Unterstreichung bei Hover entfernen */
}



.accordion {
    max-width: 600px;
    margin: 10px auto;
    border-radius: 5px;
    overflow: hidden;
    background-color: #888;
}

.accordion-item {
    border: none;
}

.accordion-header {
    background-color: transparent;
    margin: 0;
    padding: 0;
    text-align: center;
}

.accordion-button {
    background-color: #888;
    color: #fafbfb;
    font-size: 16px; 
    padding: 15px;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    height:40px; /* Optionale Höhe für einheitliches Aussehen */
    text-align: center;
}

.accordion-button:not(.collapsed) {
    background-color: #888;
    color: #fff;
    text-align: center;
}

.accordion-button:hover {
    background-color: #737272;
    color: #fff;
}

.accordion-body {
    padding: 15px;
    font-size: 0.9rem;
    color: #6c757d;
    background-color: #ffffff;
    border-top: 1px solid #ddd;
}


.section-title {
    border-bottom: solid 1px #ddd;
    padding-bottom: 15px;
    margin-top: 10px;
    color: #000;
  }
