/* Allgemeine Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

html, body {
    height: 100%; /* Stellt sicher, dass HTML und Body die volle Höhe einnehmen */
}

body {
    display: flex;
    justify-content: center; /* Horizontale Zentrierung */
    align-items: center;     /* Vertikale Zentrierung */
    min-height: 50vh;       /* Mindesthöhe: 100% des Viewports */
    background-color: #f0f0f0;
}

/* Container für das Login-Formular */
.container-login {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    display: flex;            /* Flexbox für zentrierte Inhalte */
    justify-content: center;  /* Zentriert den Inhalt horizontal */
    align-items: center;      /* Zentriert den Inhalt vertikal */
    flex-direction: column;   /* Inhalt in einer Spalte anordnen */
}

.container {
    width: 100%;
    height: 100%;
    max-width: 600px;
    padding: 20px;
    justify-content: center;  /* Zentriert den Inhalt horizontal */
    flex-direction: column;   /* Inhalt in einer Spalte anordnen */
    color: #000;
}

/* Das Login-Box-Design */
.login-box {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;               /* Volle Breite nutzen */
    background: rgba(255, 255, 255, 0.7);
}

/* Überschrift */
.login-box h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

/* Eingabegruppe */
.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Button-Styling */
button {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.button {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

.box-header {
    background: #ccc;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    text-align: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
}

.box-title {
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

.box-content {
    padding: 1em;
    text-align: left;
    background: rgba(255, 255, 255, 0.9);
}

.box-last {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: left;
    background: rgba(255, 255, 255, 0.9);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* Responsive Design */
@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    .login-box {
        padding: 20px;
    }

    button {
        font-size: 14px;
    }
}

#header {
    padding: 0 10px 0 20px;
    background-image: url(../img/header.gif);
    background-repeat: no-repeat;
    background-position: 20px 0px;
    background-size: 100%;
    max-width: 800px;
    height: 140px;
}