body {
    font-family: 'Cinzel', serif;
    background-image: url('obsidian_background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-text-container {
    display: flex;
    align-items: center;
    position: absolute;
    top: 255px;
    left: 130px;
    z-index: 10;
}

.logo {
    width: 100px;
    margin-right: 20px;
}

.logo-text {
    font-size: 50px;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.0;
}

.logo-text .chat {
    display: block;
    font-size: 40px;
}

.logo-text .ch {
    font-size: 22px;
    color: #b59e5b;
    text-decoration: underline;
}

.login-container {
    position: absolute;
    top: 50%;
    left: 4%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 40px;
    width: 400px;
    max-width: 100%;
    height: 45%;
    z-index: -1;
}

form {
    margin-top: 140px;
}

.input-container {
    position: relative;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-container i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    pointer-events: none;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 8px 12px 8px 40px;
    border-radius: 5px;
    border: 1px solid #555;
    font-size: 14px;
    background-color: #333;
    color: white;
    height: 30px;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #b59e5b;
}

button {
    width: 100%;
    padding: 10px 0;
    background-color: #e60000;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    color: black;
    font-weight: bold;
    text-align: center;
    margin-top: 30px;
    height: 40px;
    line-height: 1.2;
}

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

/* Links Container unten in der Login-Maske */
/* Link-Bereich unten in der Login-Maske */
.login-links-row {
    margin-top: 20px; /* Abstand zum Button vorher 50px */
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    padding: 0;
    box-sizing: border-box;
}

/* Link: REGISTRIEREN */
.login-links-row a.register-link {
    color: #b59e5b !important; /* Gold */
    text-transform: uppercase;
    font-weight: bold;
    font-size: 19px;
    text-decoration: underline;
    text-align: left;
}

/* Link: Passwort vergessen? */
.login-links-row a.forgot-password {
    color: white;
    font-size: 19px;
    text-align: right;
    white-space: nowrap;
}

.footer-links {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 12px;
    color: white;
    z-index: 100;
}

.footer-links a {
    margin: 0 5px;
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.datenschutz-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    text-align: center;
    z-index: 10;
}

.datenschutz-container h1 {
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

.datenschutz-container hr {
    border: 0;
    border-top: 3px solid #e60000;
    margin: 20px 0;
    width: 100%;
}

.datenschutz-container p {
    font-size: 18px;
    margin-bottom: 15px;
}

.datenschutz-container .close-btn {
    text-decoration: none;
    color: #e60000;
    font-size: 18px;
    margin-top: 20px;
    display: inline-block;
}

.datenschutz-container .close-btn:hover {
    text-decoration: underline;
}

/* Responsive Design für kleinere Geräte */
@media only screen and (max-width: 768px) {
    .logo-text-container {
        top: 220px;
        left: 50%;
        transform: translateX(-50%);
    }

    .login-container {
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
    }

    .input-container i {
        font-size: 14px;
    }

    .input-container input {
        font-size: 16px;
    }

    button {
        font-size: 16px;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1366px) {
    .logo-text-container {
        top: 250px;
        left: 150px;
    }

    .login-container {
        top: 50%;
        left: 4%;
        transform: translateY(-50%);
        width: 400px;
    }
}
