@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --text-color-gray: hsl(228, 15%, 50%);
    --text-color-light: hsl(228, 12%, 75%);
    --border-color: hsl(228, 99%, 98%);
    --body-color: #fff;
    --container-color: #fff;
    --scholastico-color1: #3AAF00;
    --scholastico-color2: #38A900;
    --text-color-dark: #000000;
    --text-color-white: #fff;

    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: 'Poppins', sans-serif;
    --biggest-font-size: 2.25rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    /*========== z index ==========*/

    /*========== Opacity background ==========*/
    --opacity--bkg: rgba(255, 255, 255, 0.15);
    /*========== Background colors ==========*/
    --clr: #222327;
}

/* Responsive typography */
@media screen and (min-width: 1024px) {
    :root {
        --biggest-font-size: 4rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* position: relative; */
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-image: url(../Img/inicioBck.webp);
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--text-color-dark);
    /* color: var(--text-color); */
    transition: .3s;
}

body:before {
    position: absolute;
    content: "";
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    z-index: -1;
    /* background-color: var(--opacity--bkg); */
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

.container-form {
    /* width: 100%; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 4rem;
}

.login-form {
    position: relative;
    width: 400px;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 50px;
}

@media screen and (max-width: 480px) {
    .login-form { /* RESPONSIVE */
        width: 360px;
    } 
}

form {
    padding: 2.3rem 2.2rem;
    position: relative;
}

.logo {
    width: 100px;
    display: inline-flex;
    margin-bottom: .75rem;
}

.title {
    color: var(--text-color-white);
    font-weight: 500;
    /* font-size: 1.5rem; */
    line-height: 1;
    margin-bottom: 1.8rem;
}

.input-container {
    position: relative;
    margin: 1.8rem 0;
}

.input {
    width: 100%;
    outline: none;
    border: 2px solid #fafafa;
    background: none;
    padding: 0.6rem 1.2rem;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 25px;
    transition: 0.3s;
}

.input-container label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    padding: 0 0.4rem;
    color: #fafafa;
    font-size: 0.9rem;
    font-weight: 400;
    pointer-events: none;
    z-index: 600;
    transition: 0.5s;
}

.input-container.focus label {
    top: 0;
    transform: translateY(-98%);
    left: -7px;
}

.pInvalid {
    font-size: 0.8rem;
    color: var(--text-color-white);
}

.pErrorLogin {
    color: var(--text-color-white);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.btnLogin {
    font-family: var(--body-font);
    padding: 0.6rem 1.3rem;
    background-image: linear-gradient(147deg, #008904 20%, #7AD300 64%, #C8F000);
    border: none;
    font-size: 0.9rem;
    color: var(--text-color-white);
    border-radius: 25px;
    outline: none;
    cursor: pointer;
    transition: 0.3;
    margin-left: 2.8rem;
}

/* .btnLogin:hover {
    background-image: none;
    background-color: transparent;
    border: 2px solid var(--text-color-white);
    color: var(--text-color-white);
} */

.btnRegresar {
    font-family: var(--body-font);
    padding: 0.6rem 1.3rem;
    border: 2px solid var(--text-color-white);
    background-color: transparent;
    font-size: 0.9rem;
    color: var(--text-color-white);
    border-radius: 25px;
    outline: none;
    cursor: pointer;
    transition: 0.3;
    margin-left: 7.5rem;
}

.btnRegresar:hover {
    background-color: var(--text-color-white);
    border: none;
    color: var(--text-color-dark);
}

.showPsw {
    color: var(--text-color-white);
}

.recuperacionPsw {
    margin-top: 1rem;
    font-weight: 400;
    font-size: 0.8rem;
    color: #fff;
    cursor: pointer;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    form {
        padding: 1.7rem 1.6rem;
    }

    .input {
        padding: 0.45rem 1.2rem;
    }
    
    .btnLogin {
        padding: 0.45rem 1.2rem;
        margin-left: 2rem;
    }

    .btnRegresar {
        margin-left: 5.5rem;
    }
}

.info {
    text-align: center;
    color: var(--text-color-white);
}


/* Estilos página de mantenimiento */
.container-mantenimiento {
    background-color: rgba(0, 0, 0, 0.75);
    padding: 0.5rem 20rem;
    text-shadow: var(--text-color-dark) 1px 0 10px;;
    padding: 1rem 1rem;
}

.advertencia {
    /* text-align: center; */
    color: var(--text-color-white);
    font-weight: 200;
    font-size: 0.8rem;
}

/* Responsive Mantenimiento */
@media (max-width: 480px) {
    .container-mantenimiento {
        padding: 1.5rem 1rem;
        text-shadow: var(--text-color-dark) 1px 0 10px;
    }

    .advertencia {
        font-size: 0.7rem;
    }
}