* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #62b27e;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column; /* Vertikale Anordnung von Überschrift und Container */
}

.main-header {
    text-align: center;
    font-size: 60px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #333;
}

.container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block; /* Label wird immer über der Checkbox sein */
}

/* Anpassung für das Layout der Checkboxen */
.checkbox-group {
    display: flex;
    flex-direction: row; /* Checkboxen nebeneinander */
    justify-content: space-between; /* Platz zwischen den Checkboxen */
    margin-top: 15px;
}

.checkbox-group div {
    display: flex;
    align-items: center; /* Vertikale Ausrichtung der Checkbox und des Labels */
}

input[type="checkbox"] {
    margin-right: 10px; /* Abstand zwischen Checkbox und Label */
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    resize: vertical;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

#responseMessage {
    margin-top: 15px;
    text-align: center;
    color: green;
}

/* Media Query für kleine Bildschirme (z.B. Handys) */
@media (max-width: 768px) {
    .checkbox-group {
        flex-direction: column; /* Checkboxen untereinander statt nebeneinander */
        align-items: flex-start; /* Anordnung linksbündig */
    }

    .checkbox-group div {
        margin-bottom: 2px; /* Abstand zwischen den Checkboxen */
    }

    input, textarea, select {
        font-size: 16px; /* Größere Schrift für mobile Geräte */
    }

    .main-header {
        font-size: 40px; /* Kleinere Schriftgröße für die Überschrift auf mobilen Geräten */
    }
}
