.formulario{
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, 20%);
    width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgb(0 0 0 / 90%);
}
.formulario h1{
    text-align:center;
    padding: 0 0 20px 0;
    border-bottom: 1px solid silver;
}
.formulario form{
    padding: 0 40px;
    box-sizing: border-box;
}


.formulario_registro{
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 90%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgb(0 0 0 / 90%);
}
.formulario_registro h1{
    text-align:center;
    padding: 0 0 20px 0;
    border-bottom: 1px solid silver;
}
.formulario_registro form{
    padding: 0 40px;
    box-sizing: border-box;
}
.form-row{
	width: 300px;
}

form .username{
    position: relative;
    border-bottom: 2px solid #adadad;
    margin: 20px 0;
}
.username input{
    max-width: 1000px;
	width: 100%;
    padding: 0 5px;
    height: 25px;
    font-size: 12px;
    border: none;
    background: none;
    outline: none;
}
.username label{
    position: absolute;
    top: -20px;
    left: 5px;
    color: #555555;
    font-size: 16px;
    pointer-events: none;
}
.username span::before{
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgb(0, 42, 255);
    transition: .5s;
}
.username input:focus ~ label,
.username input:focus ~ label{
    top: -20px;
    color: rgb(0, 42, 255);

}
.username input:focus ~ span::before,
.username input:focus ~ span::before{
    width: 100%;    
}
form .contrasena{
    position: relative;
    border-bottom: 2px solid #adadad;
    margin: 20px 0;
}
.contrasena input{
    width: 100%;
    padding: 0 5px;
    height: 25px;
    font-size: 12px;
    border: none;
    background: none;
    outline: none;
}
.contrasena label{
    position: absolute;
    top: -20px;
    left: 5px;
    color: #555555;
    font-size: 16px;
    pointer-events: none;
}
.contrasena span::before{
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgb(0, 42, 255);
    transition: .5s;
}
.contrasena input:focus ~ label,
.contrasena input:focus ~ label{
    top: -20px;
    color: rgb(0, 42, 255);

}
.contrasena input:focus ~ span::before,
.contrasena input:focus ~ span::before{
    width: 100%;    
}
.recordar{
    margin: -5px 0 20px 5px;
    color: #1100ff;
    cursor: pointer;
}
.recordar{
    text-decoration: underline;
}
input[type="submit"]{
    width: 100%;
    height: 50px;
    border: 1px solid;
    background:#1100ff;
    border-radius: 25px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    outline: none;
}
input[type="submit"]:hover{
    color: #fff;
    transition: .5s;
    font-size: 20px;
}
.registrarse{
    margin: 30px 0;
    text-align: center;
    font-size: 16px;
    color: black;
    font-weight: bold;
    text-decoration: underline;
}

.color_texto_blanco{
    text-decoration-color: #fff;
    color: #fff;
    text-decoration: none;
}

