/* Global Styles */
body {
    font-family: 'Monaco', Monospace;
    margin: 0;
    padding: 10px;
    background-color: #F5F3F1;
    color: #333;
    line-height: 1.6;
}

/* Header */
.header {
    background-color: #6e7e71;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.header h1 {
    font-size: 2.5em;
    padding: 10px;
    margin: 0;
}

.header p {
    font-size: 1.2em;
    margin-top: 10px;
    padding: 10px;
}

/* About Us Section */
.about-us {
    padding: 50px 0;
    text-align: center;
}

.about-us .container {
    max-width: 800px;
    margin: 0 auto;
}

.about-us h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.about-us p {
    font-size: 1.1em;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Details Section */
.details {
    background-color: #eccfd2;
    padding: 50px 0;
}

.details .container {
    max-width: 800px;
    margin: 0 auto;
}

.details h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
}

.detail-item {
    margin-bottom: 30px;
}

.detail-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.detail-item ul {
    list-style-type: none;
    padding: 0;
}

.detail-item ul li {
    background-color: white;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

/* RSVP-Formular */
.rsvp {
    background-color: #F5F3F1;
    padding: 50px 0;
    text-align: center;
}

.rsvp .container {
    max-width: 800px;
    margin: 0 auto;
}

.rsvp h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.rsvp form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rsvp label {
    font-size: 1.1em;
    text-align: left;
}

.rsvp input, .rsvp textarea, .rsvp button {
    font-size: 1em;
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.rsvp button {
    background-color: #6e7e71;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.rsvp button:hover {
    background-color: #cd5c5c;
}


/* Language Switch */
.language-switch {
    text-align: center;
    margin-bottom: 20px;
}

.language-button {
    padding: 10px 20px;
    margin: 5px;
    font-size: 1em;
    border: 2px solid #6e7e71;
    border-radius: 5px;
    background-color: white;
    color: #6e7e71;
    cursor: pointer;
}

.language-button.active {
    background-color: #6e7e71;
    color: white;
}

/* Footer */
.footer {
    background-color: #6e7e71;
    color: white;
    text-align: center;
    padding: 30px 0;
}

.footer p {
    margin: 0;
}


/* Slideshow-Container */
.slideshow-container {
    position: relative;
    max-width: 1000px;
    width: 100%; /* Slideshow nimmt die gesamte Breite ein */
    height: 80vh; /* Höhe beträgt 70% der Bildschirmhöhe */
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F5F3F1; /* Optional: Hintergrundfarbe für leere Bereiche */
}

/* Slides */
.slide img {
    width: 100%; /* Breite wird proportional zur Höhe angepasst */
    height: 100%; /* Bild nimmt 100% der Container-Höhe ein */
    object-fit: contain; /* Bild wird vollständig angezeigt, mit schwarzen Rändern falls nötig */
    object-position: top; 
    border-radius: 10px; /* Optionale Abrundung der Ecken */
}

/* Navigation-Pfeile */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5em;
    border-radius: 50%;
    user-select: none;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Animation */
.fade {
    animation: fadeEffect 1.5s ease-in-out;
}

@keyframes fadeEffect {
    from { opacity: 0.4; }
    to { opacity: 1; }
}
