html {
    height: 100%;
    background: url('../images/bgx.jpg') no-repeat center center fixed;
    background-size: cover;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    font-family: 'Roboto', sans-serif;
    background-color: rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Animation Keyframes */
@keyframes scale_header {
    0% {
        max-height: 0;
        margin-bottom: 0;
        opacity: 0;
    }
    100% {
        max-height: 117px;
        margin-bottom: 25px;
        opacity: 1;
    }
}

@keyframes input_opacity {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes text_opacity {
    0% {
        color: transparent;
    }
    100% {
        color: inherit;
    }
}

/* Login Form */
.login-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    text-align: center;
    animation: input_opacity 0.5s ease-in-out;
}

.login-container header {
    background: #2de209;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    color: #fff;
    margin: -20px -20px 20px;
    animation: scale_header 0.6s ease-in-out, text_opacity 1s ease-in-out;
}

.login-container header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.login-container header h4 {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Inputs */
.login-input {
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-size: 1rem;
    background: #fff;
    transition: border 0.3s ease-in-out;
}

.login-input:focus {
    border-color: #538856;
    outline: none;
}

/* Submit Button */
.submit-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.login-button {
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    background: #10b41d;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.login-button:hover {
    background: #3ac210;
}

