/* General settings*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom font */
@font-face {
    font-family: 'SoleilRegular';
    src: url('../fonts/SoleilRegular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Body */
body {
    font-family: 'SoleilRegular', sans-serif;
    color: #333;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background image */
body {
    background: url('../img/background_login.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
}

/* Header */
header {
    background: #fff;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Headlines */
h1 {
    font-family: 'SoleilRegular', serif;
    font-size: 2em;
}

/* Logo */
.logo {
    max-height: 50px;
    margin-left: 20px;
}

/* Main */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container */
.login-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.login-container h1 {
    margin-bottom: 20px;
    padding-top: 20px;
}

.login-container input {
    font-family: 'SoleilRegular', serif;
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-container button {
    font-family: 'SoleilRegular', serif;
    padding: 20px;
    width: 275px;
    border: none;
    border-radius: 4px;
    background: #98cec9;
    color: white;
    cursor: pointer;
    margin-top: 20px;
}

.login-container button:hover {
    font-family: 'SoleilRegular', serif;
    background: #ef7928;
}

.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container input {
    font-family: 'SoleilRegular', serif;
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    margin-left: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.toggle-password {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
}

.forgot-password-container {
    margin-top: 5px;
    align-self: flex-end;
}

.forgot-password-link {
    color: #888;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password-link:hover {
    text-decoration: underline;
}


/* Footer */
footer {
    background-color: #f1f1f1;
    padding: 10px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 20px;
}

.footer-left {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.footer-right {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.footer-right a {
    display: flex;
    gap: 10px;
    font-size: 14px;
    text-decoration: none;
    color: #333;
}

/* Media Query für kleine Bildschirme */
@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Responsives Design */
@media (max-width: 768px) {
    .login-container {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .logo {
        max-height: 40px;
    }
}