body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    display: flex;
    background: url('../images/fondo1.jpg') no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden; /* Evita la barra de desplazamiento horizontal */
}

.container {
    display: flex;
    width: 100%;
    height: 100%;
}

.login-section {
    flex: 1; /* Ocupa todo el ancho */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 150px; /* Margen de 20px */
    box-sizing: border-box;
}

.logo {
    width: 150px; /* Ajusta el tamaño del logo según sea necesario */
    margin-bottom: 20px;
}

.inicio-sesion {
    width: 100%;
    max-width: 600px; /* Limita el ancho máximo */
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px; /* Limita el ancho máximo */
}

.input-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.input-group {
    width: 48%;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #62878C;
    font-family: Arial, sans-serif; 
    font-size: 18px; 
}

.input-group input {
    padding: 15px;
    border: 2px solid #4caf50;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    background-color: #4caf50;
    color: white;
    font-size: 16px;
}

.input-group input::placeholder {
    color: white;
}

@media (max-width: 768px) {
    .input-row {
        flex-direction: column;
    }

    .input-group {
        width: 100%;
        margin-bottom: 20px;
    }
}


button {
    padding: 15px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    width: 100%;
}

button:hover {
    background-color: #45a049;
}

@media (max-width: 768px) {
    body, html {
        background: url('../images/fondo2.png') no-repeat center center fixed;
        background-size: cover;
    }

    .login-section {
        flex: 1;
        padding: 20px;
    }

    .input-group {
        width: 100%;
        margin: 10px 0; /* Espaciado vertical entre los campos en dispositivos móviles */
    }

    button {
        width: 100%;
    }
}
