* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url( '../img/login.jpg');
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.login-card {
    display: flex;
    width: 100%;
    max-width: 900px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    
}


.login-image {
    flex: 1; 
    background: url('img/bg.jpg') no-repeat center center/cover;
    height: 100%;
    min-width: 400px; 
}

.login-form {
    flex: 1.5;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f9f9f9;
}

.login-form h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s ease;
}

.form-group input:focus {
    border: 1px solid #4ca1af;
}

button.btn {
    padding: 12px;
    background-color: #4ca1af;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button.btn:hover {
    background-color: #3a8b8f;
    transform: translateY(-2px);
}

button.btn:active {
    background-color: #31838b;
}

#error-message {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
        height: auto;
    }

    .login-image {
        width: 100%;
        height: 200px;
        background-size: cover;
    }

    .login-form {
        padding: 20px;
        text-align: center;
    }

    .login-form h1 {
        font-size: 1.5rem;
    }

    .form-group input {
        font-size: 0.9rem;
    }

    button.btn {
        font-size: 0.9rem;
    }
}

#rive-animation {
    width: 100%;
    height: 100%;
    background: #f0f0f0;  /* Optional background to visualize the area */
}