body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* Verhindert horizontales Scrollen der gesamten Seite */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: calc(1rem + 0.1vw);
    margin: 0;

    /* Hintergrundbild-Einstellungen */
    background-image: url('/static/img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

main {
    display: flex;
    flex-grow: 1;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Zentriert die Elemente vertikal */
    margin: 0px;
    background-color: #292929;
    font-size: 0.8rem;
    color: white;
    padding: 5px;
    /* Stellen Sie sicher, dass ein wenig Polsterung vorhanden ist */
}

h2 {
    margin-bottom: 1em;
}

.input-container {
    margin-bottom: 1em;
}

.input-container label {
    display: block;
}

.input-container input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.action-container {
    margin-top: 1em;
}

.action-container .remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.social-icons a {
    text-decoration: none;
    color: #333;
    padding: 0 10px;
}


/* Optional: Zusätzliche Anpassungen für kleinere Bildschirme */
@media (max-width: 768px) {
    body {
        background-position: top;
        /* Verschiebt das Bild bei kleineren Bildschirmen nach oben */
    }
}


/* Responsiveness */
@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
        width: auto;
    }

    .login-image img, .login-form {
        width: 100%;
    }
}


@media (min-width: 1200px) {
    .container {
        max-width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
}