body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #1a1a2e);
    color: #ffffff;
    text-align: center;
    margin: 0;
    padding: 0;
}

header {
    background: linear-gradient(90deg, #1a1a30, #2b2b4e);
    padding: 20px;
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background 0.5s ease-in-out;
}

header:hover {
    background: linear-gradient(90deg, #3a3a6a, #252542);
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.login-form {

    padding: 250px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 350px;
    transition: all 0.3s ease-in-out;
    animation: slideIn 0.5s ease-out;
}



@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Überschrift des Formulars */
.login-form h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: white
    
}

/* Eingabefelder */
.login-form div {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fffdfd;
}

.login-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 15px;
    font-size: 16px;
    transition: border 0.3s ease;
    font-weight: 550;
    margin-bottom: 10px;
}

.login-form input:focus {
    outline: none;
    border-color: #2575fc;
    box-shadow: 0 0 10px rgba(37, 117, 252, 0.5);
}

/* Button */
.login-form button {
    width: 100%;
    padding: 15px;
    background-color: #2575fc;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.login-form button:hover {
    background-color: #6a11cb;
    transform: translateY(-3px);
}



.login-form input:hover {
    border-color: #6a11cb;
}


.login-form .error {
    color: #ff4e50;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}


@media (max-width: 500px) {
    .login-form {
        width: 90%;
        padding: 25px;
    }

    .login-form h2 {
        font-size: 20px;
    }
}

* Container für das Login-Formular */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin-top: 50px;  
}

/* Formular-Stile */
.login-form {
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 500px;
    transition: all 0.3s ease-in-out;
    animation: slideIn 0.5s ease-out;
    box-sizing: border-box; 
    margin-top: 50px;  
}


@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.login-form h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #ffffff;
}


.login-form div {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fffefe;
}

.login-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 15px;
    font-size: 16px;
    transition: border 0.3s ease;
    font-weight: 550;
    margin-bottom: 10px;
    box-sizing: border-box; 
}

/* Fokus-Effekt */
.login-form input:focus {
    outline: none;
    border-color: #2575fc;
    box-shadow: 0 0 10px rgba(37, 117, 252, 0.5); 
}

/* Button */
.login-form button {
    width: 100%;
    padding: 15px;
    background-color: #2575fc;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    margin-top: 10px; 
    box-sizing: border-box; 
}


.login-form button:hover {
    background-color: #6a11cb;
    transform: translateY(-3px); /* Schwebende Animation */
}


.login-form input:hover {
    border-color: #6a11cb;
}

/* Stil für Fehlermeldung */
.login-form .error {
    color: #ff4e50;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

/* Responsives Design */
@media (max-width: 500px) {
    .login-form {
        width: 90%;
        padding: 25px;
    }

    .login-form h2 {
        font-size: 20px;
    }
}

/* Logo-Stile */
.logo {
    max-width: 50%;
    height: auto; 
    display: block; 
    margin: 0 auto; 
    animation: logoAnimation 3s ease-in-out infinite; 

}

/* Animation für das Logo */
@keyframes logoAnimation {
    0% {
        transform: scale(1);
        opacity: 0.8; 
    }
    50% {
        transform: scale(1.1);
        opacity: 1; 
    }
    100% {
        transform: scale(1); 
        opacity: 0.8; 
    }
}

