/* Grundlegende Reset-Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body-Style */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

/* Neuer Header-Bereich */
#main-header {
    background-color: #2d3a45; /* dunklerer Hintergrund */
    color: #fff;
    text-align: center;
    padding: 50px 20px;
    margin-bottom: 20px;
}

#main-header h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
}

#main-header p {
    font-size: 1.5em;
    margin-top: 0;
}

/* Header für die Navigation */
header {
    background-color: #3b4a5a;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Flexbox für Navigation und Login */
header nav {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Menü und Login-Button am Rand positionieren */
    align-items: center;
}

/* Navigationslinks */
header nav ul {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}
header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #00aaff;
}

/* Login-Button rechts */
header nav .login {
    margin-left: auto; /* Login nach rechts verschieben */
    font-size: 18px;
    text-decoration: none;
    color: #fff;
    padding: 10px 20px;
    background-color: #00aaff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

header nav .login:hover {
    background-color: #0088cc;
}

/* Main-Inhalt */
main {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Abschnitte */
section {
    margin-bottom: 40px;
}

section h1,
section h2 {
    color: #3b4a5a;
    font-size: 2.5em;
    margin-bottom: 20px;
}

section p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
}

section ul {
    list-style-type: none;
}

section ul li {
    font-size: 1.1em;
    margin-bottom: 10px;
}

/* Footer-Stil */
footer {
    background-color: #3b4a5a;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    header nav ul li {
        display: block;
        margin: 10px 0;
    }

    section h1,
    section h2 {
        font-size: 2em;
    }

    footer {
        font-size: 0.8em;
    }
}


/* Login-Formular */
.login-container {
    width: 100%;
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.login-form label {
    text-align: left;
    margin-bottom: 5px;
    font-size: 14px;
}

.login-form input {
    margin-bottom: 20px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.btn-login {
    padding: 10px 15px;
    background-color: #00aaff;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-login:hover {
    background-color: #0088cc;
}

.links {
    margin-top: 10px;
}

.links a {
    color: #00aaff;
    text-decoration: none;
    font-size: 14px;
}

.links a:hover {
    text-decoration: underline;
}

/* Passwort-Wiederherstellung Formular */
.password-recovery-container {
    width: 100%;
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.password-recovery-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.password-recovery-form {
    display: flex;
    flex-direction: column;
}

.password-recovery-form label {
    text-align: left;
    margin-bottom: 5px;
    font-size: 14px;
}

.password-recovery-form input {
    margin-bottom: 20px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.btn-recover {
    padding: 10px 15px;
    background-color: #00aaff;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-recover:hover {
    background-color: #0088cc;
}

.links {
    margin-top: 10px;
}

.links a {
    color: #00aaff;
    text-decoration: none;
    font-size: 14px;
}

.links a:hover {
    text-decoration: underline;
}

.confirmation-message {
    margin-top: 20px;
    color: #28a745;
    font-size: 16px;
    font-weight: bold;
}

.registration-form label {
    text-align: left;
    margin-bottom: 5px;
    font-size: 14px;
}

.registration-form input {
    margin-bottom: 20px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.btn-register {
    padding: 10px 15px;
    background-color: #00aaff;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-register:hover {
    background-color: #0088cc;
}

.links {
    margin-top: 10px;
}

.links a {
    color: #00aaff;
    text-decoration: none;
    font-size: 14px;
}

.links a:hover {
    text-decoration: underline;

}

.error {
    color: red;
    font-size: 14px;
}

.success-message {
    color: green;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.scroll-box {
    max-height: 200px;
    overflow-y: scroll;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    padding: 10px;
    background-color: #f9f9f9;
}

.terms-checkbox {
    margin-bottom: 20px;
}

.btn-next {
    display: inline-block;
    background-color: #00aaff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
}

.btn-next:hover {
    background-color: #007a99;
}

textarea {
    width: 80%;          /* Breite auf 80% der Seitenbreite */
    height: 10em;        /* Feste Höhe von 15 Zeilen */
    resize: vertical;    /* Nur vertikal skalierbar */
    padding: 10px;       /* Etwas Abstand im Textbereich */
    font-family: Arial, sans-serif;
    font-size: 14px;
    border: 1px solid #ccc; /* Graue Randfarbe */
    border-radius: 5px;   /* Abgerundete Ecken */
}