* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background-color: #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

/* Estilos del contenedor principal de login */
.login {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(135deg, #0fa759, #038f5d);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: slideIn 1s ease-in-out;
}

/* Animación de entrada */
@keyframes slideIn {
    from {
        transform: translateY(-50%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Estilos del formulario */
.Formulario-contenedor {
    display: flex;
    flex-direction: column;
}

h2 {
    font-size: 2em;
    color: white;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

label {
    font-size: 1em;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 500;
}

input {
    font-size: 1em;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 2px solid #0fa759;
    outline: none;
    transition: border 0.3s ease;
}

input:focus {
    border-color: #038f5d;
}

/* Botón de submit */
.btn-1 {
    background-color: #038f5d;
    color: white;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-1:hover {
    background-color: #027846;
    transform: scale(1.05);
}

/* Enlace "Volver" */
.volver {
    margin-top: 10px;
    text-align: center;
}

.volver a {
    font-size: 1em;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.volver a:hover {
    color: black;
    text-decoration: underline;
}

/* Responsividad */
@media (max-width: 480px) {
    .login {
        width: 90%;
        padding: 30px;
    }

    h2 {
        font-size: 1.5em;
    }
}