

body{
    margin: 0;
    padding: 0;
    font-family: montserrat;
    color: white;
    /*background: linear-gradient(45deg, #757f9a, #d7dde8);*/
    height: 100vh;
    background-image:url('../../public/img/ImgFondo.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.formularioLogin{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: #611232;
    border-radius: 15px;

}

.divLogos{
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.formularioLogin h1{
    text-align: center;
    padding: 0 0 20px 0;
    border-bottom: 1px solid silver;
}

.formularioLogin form{
    padding: 0 40px;
    box-sizing: border-box;
}

form .username{
    position: relative;
    border-bottom: 2px solid #adadad;
    margin:30px 0;
}


form .contrasena{
    position: relative;
    border-bottom: 2px solid #adadad;
    margin:30px 0;
}

.username input{
    width: 100%;
    padding: 0 5px;
    height: 40px;
    font-size: 16px;
    border: none;
    background: none;
    outline: none;
    color: white;
}

.contrasena input{
    width: 100%;
    padding: 0 5px;
    height: 40px;
    font-size: 16px;
    border: none;
    background: none;
    outline: none;
    color: white;
}


.username label{
    position: absolute;
    top: 50%;
    left: 5px;
    color: #BC955C;
    transform: translateY(-140%);
    font-size: 16px;
    pointer-events: none;
    transition: .5s;
}


.contrasena label{
    position: absolute;
    top: 50%;
    left: 5px;
    color: #BC955C;
    transform: translateY(-140%);
    font-size: 16px;
    pointer-events: none;
    transition: .5s;
}

.username span::before{
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #6C3483;
    transition: .5s;
}


.contrasena span::before{
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #6C3483;
    transition: .5s;
}

.username input:focus ~ label,
.username input:focus ~ label{
    top: -.5px;
    color: #adadad;
}

.contrasena input:focus ~ label,
.contrasena input:focus ~ label{
    top: -.5px;
    color: #adadad;
}

.username input:focus ~ span::before,
.username input:focus ~ span::before{
    width: 100%;
}

.contrasena input:focus ~ span::before,
.contrasena input:focus ~ span::before{
    width: 100%;
}

.recordar{
    margin: -5px 0 20px 5px;
    color: blue;
    cursor: pointer;
}

.recordar:hover{
    text-decoration: underline;
}

.botonIngresar{
    width: 100%;
    height: 50px;
    border: 1px solid;
    background: #BC955C;
    border-radius: 25px;
    font-size: 17px;
    color: white;
    cursor: pointer;
    outline: none;
}

.botonIngresar:hover{
    border-color: #DDC9A3;
    transition: .5s;
}

.registrarse{
    margin: 30px 0;
    text-align: center;
    font-size: 16px;
    color: #98989A;
}

.registrarse a{
    color: #235B4E;
    text-decoration: none;
}

.registrarse a:hover{
    text-decoration: underline;
}

