/* Global Styles */
* {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: 1s;
}

body {
    background: url('../assets/img/bg.jpg') center/cover no-repeat fixed;
    overflow-y: hidden;
    height: 100vh;
}

.video-fondo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Grid Layout */
.mainGrid {
    display: grid;
    justify-items: center;
}

.logo {
    width: 250px;
    height: 100px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.mainLogin {
    background-color: #eeb72b;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.login, .recuperarForm {
    width: 80%;
    background-color: black;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    padding: 20px;
}

.titleLogin {
    color: white;
    font-size: clamp(2rem, 3vw, 5rem);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
    margin-bottom: 50px;
}

.datos {
    width: 80%;
    display: flex;
    flex-direction: column;
}

.datoP, .inputs, .olvidasteContraseña, .registrate, .inicioSesion {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.datoP {
    color: gray;
    font-size: clamp(0.9rem, 2.3vw, 1.2rem);
    animation-delay: 0.8s;
}

.inputs {
    color: white;
    height: 40px;
    width: clamp(200px, 100%, 500px);
    border: 1px solid white;
    background: transparent;
    border-radius: 5px;
    margin: 5px 0;
    animation-delay: 1s;
}

.inputs:hover {
    border-color: #eeb72b;
}

#advertencia, #advertencia2, #advertencia3 {
    font-size: 10px;
    opacity: 0;
}

.olvidasteContraseña, .registrate {
    color: white;
    text-decoration: none;
    animation-delay: 1.4s;
}

.inicioSesion {
    width: clamp(200px, 80%, 500px);
    height: 40px;
    font-weight: 700;
    font-size: large;
    border-radius: 10px;
    margin-top: 20px;
    cursor: pointer;
    animation-delay: 1.2s;
}

.inicioSesion:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (width >= 900px) {
    .mainGrid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .mainLogin {
        width: 100%;
    }
    .logo {
        width: 300px;
    }
    .titleLogin {
        margin-top: 30px;
    }
    .inicioSesion {
        margin-bottom: 25px;
    }
    .inputs {
        height: 50px;
        margin-bottom: 10px;
    }
}
