/* Contanier principal of form */
.container-login-frontend {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    /* border: solid 1px #fcc; */
}

.container-logo {
    margin: auto;
    position:relative;
}

body {
    font-family: 'Poppins', sans-serif;
}


.container-login {
    width: 100%;
    display: flex;
    justify-content: center;
    border: solid 0.05em;
    border-radius: 25px;
    border-top: solid 0.5em;
    border-right: solid 0.5em;
    /* up rigth down left */
    padding: 10px 10px 20px 10px;  
}


.container-logo-perfil {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

.logo-perfil {
    width: 35%;
}

.container-input {
    width: 100%;
    margin:0;
    position: relative;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: auto;
    padding: 5px 5px 0px 5px;
}

.input-div {
    width:100%;
    height: 25%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(1, 1fr);
}

.icon-text {
    width: 100%;
    display:flex;
    flex-direction: row;
    align-items: stretch;
    column-gap: 5px;
}


.icon-text > .i {
    width: 10%;
    /* margin:auto; */
    display: flex;
    justify-content: justify;
    align-items: justify;
    padding-left: 4px;
} 

.icon-text > .text-login {
    width: 50%;
    display: flex;
    justify-content: left;
    align-items: left;
    margin:0;
    padding: 0;

    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;

    margin-top: 5px;
    margin-left: -10px;
}


.icon-text > .i, .text-login {
    margin:0;
    padding: 0;
}


.icon-text > .i {
    color: #38d39f;
}


#logo-intro {
    width:100%;
}

.input-div.two {
    margin-top: -20px;
}


.button-login {
    width: 100%;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    margin-top:-15px;
}

.auth {
   grid-column: 1 / 3;
}

.create-user {
    grid-column: 1 / 3;
}

.button-login button {
    border-radius: 30px;
}

.button-login a {
    border-radius: 30px;
}

.button-login .change-password a {
    text-decoration: none;
    /* color: #999; */
    font-size: 1.2rem;
    font-weight: bold;
}

.button-login .recover-password a {
    text-decoration: none;
    /* color: #999; */
    font-size: 1.2rem;
    font-weight: bold;
}


.button-login .change-password a:hover {
    color: #38d39f;
}


.button-login .recover-password a:hover {
    color: #38d39f;
}


.button-login .change-password, .recover-password {
    align-self: end;
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
}

.button-login .recover-password {
    justify-self: end;
}

.input-div.one > .input-login.col-sm-4 {
    width: 100%;
    margin: 0;
    padding: 0;
    /* max-width: 200px; */
}

.input-div.two > .input-login.col-sm-4 {
    width: 100%;
    margin: 0;
    padding: 0;
    /* max-width: 200px; */
}

/* Esto colocaen ancho en 100% de los inputs */
.input-div.one > .input-login.col-sm-4 > .form-group {
    width: 100%;
    margin: 0;
    padding: 0;
}


.input-div.two > .input-login.col-sm-4 > .form-group {
    width: 100%;
    margin: 0;
    padding: 0;
}
/* fin de width:100% para los inputs */


#id-username, #id-password {
    width: 100%;
    display: block;
    font-size: 1.6rem;
    font-family: 'Poppins', sans-serif;
}


/* Media query */

@media screen and (max-width: 760px) {
    .container-logo img {
        display: none;
    }

    .container-login-frontend {
        grid-template-columns: 1fr;
    }

    .container-login {
        justify-content: center;
    }

    #id-username, #id-password {
        width: 100%;
        /* display: block; */
        display: inline-block;
    }

    footer {
        display: none;
    }
}

@media screen and (max-width: 320px) {
    * {
        margin: 0px; padding: 0px;
    }

    form {
        width: 100%;
    }

    .container-logo img {
        display: none;
    }

    .container-login-frontend {
        grid-template-columns: 1fr;
        top:0;
        margin: 0;
        padding: 0;
    }

    .container-login {
        justify-content: center;
    }

    #id-username, #id-password {
        width: 100%;
        /* display: block; */
        display: inline-block;
    }

    .button-login .recover-password a {
        display: inline;
        justify-items: end;
    }

    footer {
        display: none;
    }

    .begin-buttom #link-inicio {
        width: 100%;
        font-size: 1.0em;
    }

    .button-login .change-password a {
        font-size: 1.0rem;
    }
    
    .button-login .recover-password a {
        font-size: 1.0rem;
    }
    
}


/* CSS para la pagina de inicio */

.begin-buttom #link-inicio {
    width: 30%;
    margin: auto;
}