/* Grundlegende Styles für den Body (Desktop und Mobil) */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #f4f7f9;
    color: #333;
    margin: 0;
    padding: 20px;
    text-align: center;
    line-height: 1.6;
}

/* Container, der den Inhalt zentriert und ihm eine maximale Breite gibt */
.container {
    background-color: #ffffff;
    max-width: 600px; /* Maximale Breite auf großen Bildschirmen */
    margin: 20px auto;
    padding: 20px 30px 30px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

h1 {
    color: #005ab3; /* Dunkles Blau */
    margin-bottom: 10px;
}

h2 {
    color: #555;
    font-weight: 500;
    margin-bottom: 25px;
}

p {
    font-size: 1.1em; /* Größere Schrift für bessere Lesbarkeit */
    margin-bottom: 25px;
}

/* Allgemeines Button-Styling */
.button {
    display: block; /* Buttons nehmen die volle Breite ein */
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    font-weight: bold;
    color: white;
    background-color: #005ab3;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-bottom: 15px; /* Abstand zwischen den Buttons */
    text-decoration: none; /* Für <a>-Tags, die wie Buttons aussehen */
    box-sizing: border-box; /* Stellt sicher, dass Padding die Breite nicht beeinflusst */
}

.button:hover {
    background-color: #004488;
    transform: translateY(-2px);
}

/* Styling für Formulare, die Buttons enthalten */
form {
    margin: 0;
}

/* Letzter Button in einem Container hat keinen Abstand nach unten */
.button:last-child, form:last-child .button {
    margin-bottom: 0;
}

/* Spezielles Styling für Select-Dropdowns */
select {
    width: 100%;
    padding: 12px;
    font-size: 1em;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

/* Spezielles Styling für Zeit-Eingabefelder */
input[type="time"] {
    width: 100%;
    padding: 12px;
    font-size: 1.2em;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* --- Responsive Design für sehr kleine Bildschirme --- */
/* Diese Regeln gelten nur für Bildschirme, die schmaler als 400px sind */
@media (max-width: 400px) {
    body {
        padding: 10px; /* Weniger Abstand am Rand */
    }

    .container {
        padding: 20px;
    }

    p, .button, select, input[type="time"] {
        font-size: 1em; /* Schrift leicht verkleinern auf sehr schmalen Geräten */
    }
    /* Stil für den Neustart-Button */
.restart-button-container {
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

.restart-button {
    background-color: #6c757d; /* Grau */
    font-size: 0.9em;
    padding: 12px;
}

.restart-button:hover {
    background-color: #5a6268;
}
}