/* Grundlegendes Layout */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Fuzzy Bubbles', sans-serif;
    background-color: #ffffff;
    color: #333;
    font-size: large;
}

/* Navigation */
.navbar {
    background-color: #ffffff;
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
    flex-wrap: wrap;
}

.navbar li a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.navbar li a:hover {
    background-color: #e0f0e0;
    color: #000;
}

/* Hintergrundgrafik links und rechts */
.background-wrapper {
    background-image: url("./Blumenborduere_links.jpeg"), url("./Blumenborduere_rechts.jpeg");
    background-repeat: repeat-y, repeat-y;
    background-position: left top, right top;
    background-size: auto 100%;
    background-color: #ffffff;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    padding: 2rem;
}

/* Inhalt zentrieren und begrenzen */
.content {
    background: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    width: 100%;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Überschrift */
.centered-header {
    text-align: center;
    margin-bottom: 2rem;
}

.centered-header h1 {
    font-size: 3rem;
    color: #6fa96f;
    margin: 0;
    font-family: 'Fuzzy Bubbles';
    font-weight: bold;
}

.centered-header h2 {
    font-size: 2rem;
    font-family: 'Fuzzy Bubbles', sans-serif;
}

/* Bild */
.image_1 img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Info-Abschnitt */
.info-text {
    text-align: center;
}

.info-section {
    text-align: center;
    margin-bottom: 3rem;
}

.info-section h2 {
    color: #588c6b;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Fuzzy Bubbles', cursive;
}

/* Anfahrt (Map) */
.map-section {
    text-align: center;
    margin-bottom: 3rem;
}

.map-section h2 {
    color: #588c6b;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
}

/* Galerie-Hinweis */
.gallery-info {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #e8f5e9;
    border-radius: 8px;
}

.gallery-info h2 {
    color: #6fa96f;
    font-size: 1.8rem;
}

.gallery-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.2rem;
    background-color: #6fa96f;
    color: white;
    text-decoration: none;
    border-radius: 6px;
}

.gallery-link:hover {
    background-color: #588c6b;
}

/* Kontaktseite Styles */
.contact-intro {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-card h3 {
    margin-top: 0;
    color: #649c6d;
}

.contact-card p {
    margin: 5px 0;
}

.contact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
    text-align: center;
}

.contact-card {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .contact-list {
        grid-template-columns: 1fr;
    }
    .background-wrapper {
        background-image: none;
    }
}

/* Timeline */
.timeline-fancy {
    position: relative;
    margin: 4rem 0;
    padding: 2rem 0;
}

.timeline-fancy::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #6fa96f;
    transform: translateX(-50%);
}

.timeline-entry {
    position: relative;
    width: 50%;
    padding: 1.5rem 2rem;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.timeline-entry.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-entry.left {
    left: 0;
    text-align: right;
}

.timeline-entry.right {
    left: 50%;
    text-align: left;
}

.timeline-entry .time {
    font-weight: bold;
    color: #588c6b;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-entry .desc {
    background: #e0f0e0;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    display: inline-block;
    max-width: 90%;
}

.emoticons {
    text-align: center;
    font-size: 50px;
}

@media (max-width: 768px) {
    .timeline-entry,
    .timeline-entry.left,
    .timeline-entry.right {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 3rem;
    }

    .timeline-fancy::before {
        left: 20px;
    }

    .timeline-entry .desc {
        max-width: 100%;
    }
}

/* Anmeldung */
.registration-container {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

.registration-container h1 {
    font-size: 2.5rem;
    color: #6fa96f;
    margin-bottom: 1.5rem;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.registration-form input,
.registration-form select,
.registration-form textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
}

.registration-form button {
    padding: 1rem;
    background-color: #b9e5c2;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.registration-form button:hover {
    background-color: #a5d4b2;
}

/* Formular */
.container {
    max-width: 600px;
    background: #fff;
    padding: 25px;
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.container h1 {
    font-size: 2.5rem;
    color: #6fa96f;
    margin-bottom: 1.5rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form input,
form textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

form select {
    appearance: none;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    width: 100%;
    background-color: #fff;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23999" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5rem;
}

form button {
    padding: 1rem;
    background-color: #b9e5c2;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #a5d4b2;
}

.hidden {
    display: none;
}

#dankeNachricht {
    text-align: center;
    margin-top: 30px;
}

#dankeNachricht h2 {
    color: #6fa96f;
    font-size: 2rem;
    font-family: 'The Girl Next Door', cursive;
    margin-top: 2rem;
}

#dankeNachricht p {
    font-size: 1.2rem;
    color: #333;
}

.teilnehmer {
    border-top: 1px solid #ddd;
    padding-top: 1rem;
    margin-top: 1rem;
    text-align: left;
}

.teilnehmer label {
    display: block;
    margin-top: 0.5rem;
    font-weight: normal;
}

textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
}

.anmeldung-erklaerung p {
    text-align: center;
    font-size: 1.1rem;
    color: #333;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.countdown-wrapper {
    text-align: center;
    background-color: #e8f5e9;
    margin: 2rem auto;
    border-radius: 10px;
    max-width: 400px;
    font-size: 1.5rem;
    color: #2f6135;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }

.countdown-wrapper h2 {
    padding-top: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-bottom: 1rem;
  }