/* Allgemeine Styles für den Body */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Container für das Formular */
form {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 600px;
}

/* Formularelemente */
label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #333;
}

input, textarea, button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

textarea {
    height: 100px;
    resize: vertical;
}

/* Button Styles */
button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

/* Fehlerhafte Eingabefelder hervorheben */
input:invalid, textarea:invalid {
    border-color: red;
}

/* Responsives Design für Mobilgeräte */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    form {
        padding: 15px;
    }

    label {
        font-size: 14px;
    }

    input, textarea, button {
        font-size: 14px;
        padding: 12px;
    }

    button {
        font-size: 16px;
    }
}
