body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

.login-container {
    display: flex;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 800px;
    height: 500px;
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.login-image {
    width: 50%;
    background-color: rgb(244, 208, 63); /* Color de fondo para la imagen */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.login-image img {
    max-width: 100%;
    height: auto;
    transform: scale(1.1);
    transition: transform 1.5s ease;
}

.login-image img:hover {
    transform: scale(1);
}

.login-form {
    width: 50%;
    padding: 20px;
    background-color: #ffffff; /* Fondo blanco para el formulario */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: slideIn 1s forwards 0.5s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

input:focus {
    border-color: rgb(244, 208, 63);
}

button {
    width: 100%;
    padding: 10px;
    background-color: rgb(244, 208, 63); /* Color del botón */
    border: none;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #caa743; /* Color más oscuro para el hover */
    transform: scale(1.05);
}

.logo {
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 1s forwards 1s;
}

.logo img {
    max-width: 100%;
    height: auto;
}
