/* Allgemeine Stile für den Body */
body {
    font-family: Arial, sans-serif;
    background-color: #404040;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Header mit mittiger Überschrift */
.header {
    text-align: center;
    margin-bottom: 50px;
}


/* Mittig ausgerichtete Überschriften */
h1 {
    margin: 0 0 50px;
    font-size: 80px;
    color: #FFF;
}

/* Überschrift */
h2 {
    margin-bottom: 20px;
    color: #000;
}

/* Stile für Formularelemente */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

input[type="text"],
input[type="password"] {
    width: 90%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Button-Stile */
button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
}

/* Fehlermeldung */
.error {
    color: red;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Container für Fehlermeldungen */
.error-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.error-container h1 {
    color: #dc3545;
    margin-bottom: 15px;
}

.error-container p {
    color: #555;
    margin-bottom: 20px;
}

/* Button-Stile für Links */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

/* Grundlegendes Styling für den Container */
.login-container {
    width: 100%;
    max-width: 400px; /* Begrenze die Breite des Containers */
    margin: 0 auto; /* Zentriert den Container horizontal */
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 8px;
}

/* Überschrift */
.login-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Fehlermeldungen */
.error {
    color: red;
    text-align: center;
    margin-bottom: 10px;
}

/* Eingabefelder und Labels */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%; /* Die Eingabefelder nehmen die komplette Breite des Containers ein */
    box-sizing: border-box;
}

/* Button */
button {
    width: 100%; /* Button ist genauso breit wie die Eingabefelder */
    padding: 10px;
    background-color: #007BFF;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}
