
body{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;    
    height: 100vh;
}

/*Se edita el espacio del formaulario Se crea recuadro*/
.formulario{
    position: absolute;
    top: 50%; /*Ubicación de nuestro div formulario, arriba*/
    left: 50%; /*Ubicación de nuestro div formulario, izquierda*/
    transform: translate(-50%, -50%);
    width: 400px; /*Ancho recuadro*/
    background: rgb(134, 187, 251);
    border-radius: 11px;
}

/*Formato al titulo*/
.formulario h1{
    text-align: center; /*Se centra el texto*/
    padding: 0 0 20px 0;
    border-bottom: 2px solid gray;
}

/*Formato al las cajas de texto*/
.formulario form{ /*Editamos el form*/
    padding: 0 40px;
    box-sizing: border-box;
}

/*Formato caja de texto usuario*/
form .nombre-usuario{
    position: relative;
    border-bottom: 2px solid black;
    margin: 30px 0;
}

/*Formato del combo box*/
.combo{
    width: 100%;
    padding: 0 5px;
    height: 30px;
    margin-bottom: 20px;
}

.rol-id{
    width: 50%;
    font-size: 17;
    border: 1px solid;
    border-radius: 25%;
    position: relative;
}

/*Formato al input*/
.nombre-usuario input{
    width: 100%;
    padding: 0 5px;
    height: 40px;
    font-size: 17px;
    border: none;
    background: none;
    outline: none;
}

/*Formato a la etiqueta*/
.nombre-usuario label{
    position: absolute;
    top: 50%;
    left: 5px;
    color: black;
    transform: translateY(-50%);
    font-size: 17;
    pointer-events: none;
}

/*Formato de la linea*/
.nombre-usuario span::before{
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #6C3483;
}

/*Animación del texto*/
.nombre-usuario label,
.nombre-usuario label{
    top: -5px;
    color: black;
}

/*Formato al texto Olvido su contraseña*/
.olvidar{
    margin: -5px 0 20px 5px;
    color: blue;
    cursor: pointer;
}

.olvidar:hover{
    text-decoration: underline;
}

/*Formato del boton Iniciar*/
input[type="submit"]{
    width: 100%;
    height: 50px;
    border: 1px solid;
    background: #063c7e;
    border-radius: 25px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    outline: none;
    margin-bottom: 40px;
}

/*Formato boton cancelar*/
input[type="button"]{
    width: 100%;
    height: 50px;
    border: 1px solid;
    background: #063c7e;
    border-radius: 25px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    outline: none;
    margin-bottom: 40px;
}

@media (min-width:320px) {
    .form{
        margin: auto;
        width: 240px;
        margin-top: 60px;

    }

    .nombre-usuario label,
    .nombre-usuario label{
        font-size: 17px;
    }
}