body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
}

h1 {
    text-align: center;
    color: #333; /* Dunkelgraue Farbe für den Titel */
}

.language-selector {
    text-align: center;
    margin-bottom: 20px;
}

.language-selector a {
    margin: 0 10px;
    text-decoration: none; /* Kein Unterstrich */
    color: #665; /* Blaue Farbe für Links */
}

.language-selector a:hover {
    text-decoration: underline; /* Unterstreichen bei Hover */
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.container div {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    margin: 10px;
    padding: 5px;
    flex-basis: calc(30% - 20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 75px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.container div:hover {
    transform: scale(0.95);
}

.container img {
    max-width: 100%;
    border-radius: 5px;
    margin: 5px 0;
}

h2 {
    font-size: 1.4em;
    margin: 0 0 5px;
    color: #668; /* Dunkelorange Farbe für Untertitel */
}

p {
    flex-grow: 1;
    margin: 0;
    color: #666; /* Hellgraue Farbe für den Text */
}

/* Einladungstext Stil */
.invitation-box {
    background-color: #fff;
    border: 2px solid #668; /* Dunkelorange Rahmen */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    padding: 20px;
    max-width: 600px; /* Maximale Breite der Box */
    text-align: left; /* Text linksbündig */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.invitation-box:hover {
    transform: translateY(-5px); /* Hebt die Box bei Hover an */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.invitation-box h2 {
    font-size: 1.6em; 
    color: #333;
    margin-bottom: 10px;
}

.invitation-box p {
    color: #666; /* Hellgraue Farbe für den Text */
    margin: 10px 0; /* Abstand zwischen den Absätzen */
}
#logo {
    max-width: 100%; /* Ensure the logo is responsive */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Prevent distortion */
}

/* Footer Style */
footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #888; /* Hellgraue Farbe für Fußzeile */
}

footer a {
    color: #007BFF; /* Farbe für Links in der Fußzeile */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline; /* Unterstreichen bei Hover in der Fußzeile */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container div {
        flex-basis: calc(45% - 20px); /* Breite für kleine Bildschirme */
    }
}

@media (max-width: 480px) {
    .container div {
        flex-basis: 50%; /* Vollbild für sehr kleine Bildschirme */
    }
}