﻿/* Ajusta el contenedor principal para que ocupe el 100% del espacio y centre todo el contenido */
html {
    font-family: "Afacad Flux", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    font-variation-settings: "slnt" 0;
}
body {
    /*background-color: #a0c8ef;*/
    /* background-color: #0074c8;*/
    /* background: url('/imagenes/LogoAcademy_Trans.png');*/
    /*background-image: linear-gradient(to right, rgba(0, 0, 0, 0%), rgba(0, 0, 0, 0%)), url(/imagenes/LogoAcademy_Trans.png);
    background-attachment: fixed;*/ /* La imagen de fondo se queda fija */
    /*background-size: cover;*/ /* Asegura que la imagen cubra todo el área del fondo */
    /*background-position: center;*/ /* Centra la imagen en el fondo */
    /*background-repeat: no-repeat;*/ /* Evita que la imagen se repita */
    /*background-size: 800px;*/
    background-color: #1889db;
    position: relative; /* Necesario para posicionar el pseudo-elemento */
    margin: 0; /* Asegura que no haya márgenes externos del body */
    height: 100vh; /* Asegura que el body ocupe toda la pantalla */
    font-family: "Afacad Flux", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    font-variation-settings: "slnt" 0;
}
    /*body::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);*/ /* Negro con 50% de opacidad */
        /*z-index: 1;*/ /* Coloca la capa por encima del fondo */
        /*pointer-events: none;*/ /* Permite la interacción con el contenido del body */
    /*}*/

    /* Asegúrate de que el contenido esté por encima de la capa negra */
    /*body * {
        position: relative;
        z-index: 2;
    }*/
#form-ui {
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh;*/ /* Asegura que ocupe toda la altura de la ventana */
    height: 75vh;
}
#form-ui2 {
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh;*/ /* Asegura que ocupe toda la altura de la ventana */
    height: 75vh;
}

#form {
    display: grid;
    place-items: center;
    width: 300px;
    height: 90%; /* Deja que el formulario ajuste su altura según el contenido */
    padding: 25px;
    background-color: #fdfdfdf0;
    /*box-shadow: 0px 15px 60px #00c9ff;*/
    box-shadow: 0px 15px 60px #d9d9d5;
    outline: 2px solid #008ef9;
    border-radius: 10px;
}
#form1 {
    display: grid;
    place-items: center;
    width: 300px;
    height: 75%; /* Deja que el formulario ajuste su altura según el contenido */
    padding: 25px;
    background-color: #fdfdfdf0;
    /*box-shadow: 0px 15px 60px #00c9ff;*/
    box-shadow: 0px 15px 60px #d9d9d5;
    outline: 2px solid #008ef9;
    border-radius: 10px;
}

#form-body {
    width: 100%; /* Asegura que ocupe todo el espacio disponible */
    padding: 20px 0;
    text-align: center;
}

#welcome-lines {
    text-align: center;
    line-height: 1;
}

#welcome-line-1 {
    color: #008ef9;
    font-weight: 600;
    font-size: 40px;
}

#welcome-line-2 {
    color: #008ef9;
    font-size: 18px;
    margin-top: 17px;
}

#input-area {
    margin-top: 40px;
}

.form-inp {
    padding: 11px 25px;
    background: transparent;
    /*border: 1px solid #e3e3e3;*/
    line-height: 1;
    border-radius: 8px;
}

    .form-inp:focus {
        border: 1px solid #00FF7F;
    }

    .form-inp:first-child {
        margin-bottom: 15px;
    }

    .form-inp input {
        width: 100%;
        background: none;
        font-size: 13.4px;
        color: #00FF7F;
        border: none;
        padding: 0;
        margin: 0;
    }

        .form-inp input:focus {
            outline: none;
        }

#submit-button-cvr {
    margin-top: 20px;
}

#submit-button {
    display: block;
    width: 100%;
    color: #008ef9;
    background-color: transparent;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
    padding: 14px 13px 12px 13px;
    border: 0;
    outline: 1px solid #008ef9;
    border-radius: 8px;
    line-height: 1;
    cursor: pointer;
    transition: all ease-in-out .3s;
}

    #submit-button:hover {
        transition: all ease-in-out .3s;
        background-color: #008ef9;
        color: white;
        cursor: pointer;
    }

#forgot-pass {
    text-align: center;
    margin-top: 10px;
}

    #forgot-pass a {
        color: #868686;
        font-size: 12px;
        text-decoration: none;
    }

#bar {
    position: relative;
    left: 50%;
    bottom: -50px;
    width: 28px;
    height: 8px;
    margin-left: -33px;
    background-color: #00FF7F;
    border-radius: 10px;
}

    #bar:before,
    #bar:after {
        content: "";
        position: absolute;
        width: 8px;
        height: 8px;
        background-color: #ececec;
        border-radius: 50%;
    }

    #bar:before {
        right: -20px;
    }

    #bar:after {
        right: -38px;
    }

/* From Uiverse.io by Yaseen549 */
.inputlogin {
   /* background-color: #212121;*/
    /*max-width: 190px;*/
    height: 40px;
    padding: 10px;
    /* text-align: center; */
    border: 2px solid #008ef9;
    border-radius: 5px;
    /* box-shadow: 3px 3px 2px rgb(249, 255, 85); */
    font-size:15px;
}

    .inputlogin:focus {
        color: #008ef9;
        /*background-color: #212121;*/
        outline-color: #008ef9;
        box-shadow: -3px -3px 15px rgb(0, 142, 249);
        transition: .1s;
        transition-property: box-shadow;
        font-size:15px;
    }
.check{
    font-size:18px;
    margin-right:78px;
}
a {
    text-decoration: none;
    color: #008ef9;
    font-size: 18px;
   
}
.titular{
    text-align:center;
    color: white;
    margin-top:85px;
}
p{
    font-size:20px;
}
/*estilos para pantalla escritorio*/
@media (min-width: 1000px) and (max-width: 1366px) {
    .titular {
        text-align: center;
        color: white;
        margin-top: 15px;
    }

    #form-ui {
        display: flex;
        justify-content: center;
        align-items: center;
        /* height: 100vh; */
         height: 75vh; 
    }
    #form1 {
        display: grid;
        place-items: center;
        width: 300px;
        height: auto; /* Deja que el formulario ajuste su altura según el contenido */
        padding: 25px;
        background-color: #fdfdfdf0;
        /*box-shadow: 0px 15px 60px #00c9ff;*/
        box-shadow: 0px 15px 60px #d9d9d5;
        outline: 2px solid #008ef9;
        border-radius: 10px;
        margin-top: 150px;
    }
    #form {
        display: grid;
        place-items: center;
        width: 300px;
        height: auto; /* Deja que el formulario ajuste su altura según el contenido */
        padding: 25px;
        background-color: #fdfdfdf0;
        /*box-shadow: 0px 15px 60px #00c9ff;*/
        box-shadow: 0px 15px 60px #d9d9d5;
        outline: 2px solid #008ef9;
        border-radius: 10px;
        margin-top: 280px;
    }
}

/*estilos para laptop y Escritorio*/
@media (max-width: 400px) and (max-height: 867px){
    html {
        font-size: 40px;
    }

    .titular {
        text-align: center;
        color: white;
        margin-top: 0;
    }

    #form {
        display: grid;
        place-items: center;
        width: 300px;
        height: auto;
        padding: 25px;
        background-color: #fdfdfdf0;
        /* box-shadow: 0px 15px 60px #00c9ff; */
        box-shadow: 0px 15px 60px #d9d9d5;
        outline: 2px solid #008ef9;
        border-radius: 10px;
        margin-top: auto;
    }

    #form1 {
        display: grid;
        place-items: center;
        width: 300px;
        height: auto;
        padding: 25px;
        background-color: #fdfdfdf0;
        /* box-shadow: 0px 15px 60px #00c9ff; */
        box-shadow: 0px 15px 60px #d9d9d5;
        outline: 2px solid #008ef9;
        border-radius: 10px;
        margin-top: 0px;
        margin-bottom:-150px;
    }
    img{
        width:150px;
        height:40px;
    }
    #form-ui2 {
        display: flex;
        justify-content: center;
        align-items: center;
        /* height: 100vh;*/ /* Asegura que ocupe toda la altura de la ventana */
        height: 75vh;
        margin-top:-85px;
       /* margin-left:25px;*/
    }
    #form-ui {
        display: flex;
        justify-content: center;
        align-items: center;
        /* height: 100vh;*/ /* Asegura que ocupe toda la altura de la ventana */
        height: 75vh;
        margin-top:15px;
    }
}
/* Para pantallas más grandes (monitores) */
@media (min-width: 1000px) {
    #form-ui2 {
        margin-top: 0px; /* Ajuste para monitores */
    }
}
