body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
.image-container {
    flex: 1;
    text-align: center;
}
.image-container img {
    max-width: 90%; /* Maximale Breite auf 90% des Containers begrenzt */
    max-height: 900px; /* Maximale Höhe auf 600px begrenzt */
    height: auto; /* Höhe passt sich proportional zur Breite an */
    border-radius: 10px; /* Abgerundete Ecken */
    object-fit: contain; /* Bild wird skaliert, ohne verzerrt zu werden */
}
.form-container {
    flex: 1;
    padding: 20px;
    margin: 0 20px; /* Abstand links und rechts */
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.form-container h1 {
    text-align: center;
    color: #4682B4; /* Türkis */

}
.form-container p {
    color: #4682B4; /* Türkis */
    margin: 10px 0;
}
.form-container input[type="text"],
.form-container select, /* Dropdown-Feld */
.form-container textarea { /* Textarea-Feld */
    width: 100%; /* Gleiche Breite wie Textfelder */
    max-width: 1000px; /* Maximale Breite */
    padding: 10px; /* Innenabstand */
    margin: 5px 0; /* Abstand nach oben und unten */
    border: 1px solid #4682B4; /* Türkisfarbener Rahmen */
    border-radius: 5px; /* Abgerundete Ecken */
    font-family: Arial, sans-serif; /* Einheitliche Schriftart */
    font-size: 14px; /* Einheitliche Schriftgröße */
    box-sizing: border-box; /* Padding und Border in die Breite einrechnen */
    background-color: #fff; /* Weißer Hintergrund */
}
.form-container input[type="submit"] {
    width: 100%; /* Gleiche Breite wie die Textfelder */
    max-width: 1000px; /* Maximale Breite für größere Bildschirme */
    padding: 10px;
    background-color: #4682B4;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.form-container input[type="submit"]:hover {
    background-color: #1E90FF;
}
.error-message {
    color: red;
    text-align: center;
    margin-bottom: 10px;
}
/* Standard-Styling für das Bild */
.image-container {
    display: block; /* Bild wird standardmäßig angezeigt */
}

/* Für kleine Bildschirme im Hochformat (Portrait) */
@media screen and (max-width: 768px) , (orientation: portrait) {
    .image-container {
        display: none; /* Bild ausblenden */
        
    }
}

/* Für größere Bildschirme oder Querformat (Landscape) */
@media screen and (min-width: 769px), (orientation: landscape) {
    .image-container {
        display: block; /* Bild anzeigen */
        
    }
}