:root{
    --azul:#134074;
    --azulOscuro:#0B2545;
    --azulGris:#8DA9C4;
    --blanco:#fff;
    --fuente:'Quicksand', sans-serif;
}
html{
    box-sizing: border-box;
}

*,*::after, *::before{
    box-sizing: inherit;
}

body{
    font-family: var(--fuente);
    background-color: var(--azulOscuro);
    display: flex;
    align-items: center; 
    background-image: url('../img/fondo1.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    margin-top: 2%;
}

.contenedor{
    margin: 0 auto;
    max-width: 1200px;
    width: 95%;
   
}

.imagen-formulario{ 
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    height: 400px;
    flex: 0 0 calc(60%);
    position: relative;
    
}
.imagen-formulario::before{
   content: '';
   position: absolute;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;
   background: linear-gradient(to right,rgba(100, 189, 237, 0.5), rgba(0, 36, 179, 0.5) );
   
}

@media(min-width:768px){
    .imagen-formulario{
        height: auto;
        background-position: right;
    }

}
@media(min-width:1200px){
    .imagen-formulario{
        background-position: center;
    }
}

@media(min-width:768px){
    .contenedor-formulario{
        display: flex;
    }
}

.formulario{
    padding: 50px;
    background-color: var(--azul);
}
.texto-formulario h2, .input label, .password-olvidada a, .texto-formulario p{
    color: var(--blanco);
}
.texto-formulario h2{
    font-size: 40px;
    text-align: center;
}
.texto-formulario {
    font-size: 22px;
    text-align: center;
    height: 250px;
    
    
    

}
.input label{
    display: block;
    font-size: 22px;
    font-weight: bold;
    margin: 20px 0;
}

.input input{
    width: 100%;
    padding: 10px 16px;
    border-radius: 5px;
    outline: none;
    border: 0;
}
.input input[type="submit"]{
    background-color: var(--azulGris);
    color: var(--blanco);
    font-size: 22px;
    font-weight: bold;
    border: none;
    margin-top: 20px;
    transition: background-color .3s ease-in-out;
}
.input input[type="submit"]:hover{
  
    cursor: pointer;
    background-color: var(--azulOscuro);
}
img{
    width: 100%;
    height: 100%;
}
.im2{
    width: 90%;
    height: 60%;
    margin: 5% 10% 5% 5%;
    text-align: center;
    position: relative !important;
}
h1{
    text-align: center;
    font-size: 30px;
    background-size: cover;
    position: relative;
    flex: 0 0 calc(60%);
    

}