:root{
    --azul:#134074;
    --azulOscuro:#0B2545;
    --azulGris:#8DA9C4;
    --blanco:#fff;
    --fuente:'Quicksand', sans-serif;
}
html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*,*::after, *::before {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}
body{
    font-family: var(--fuente);
    background-color: var(--azulOscuro);
    display: flex;
    align-items: center;
    /*height: 80vh;*/
}
.contenedor{
    /*margin: 0 auto;
    padding: 0.5rem;
    margin-top: auto;
    max-width: 1200px;
    width: 100%;*/
    margin: 0 auto;
    padding: 0.5rem;
    margin-top: auto;
    max-width: 1000px;
    width: 100%;
    padding-top: 5rem;
   
}
.imagen-formulario {
    background-image: url('../img/bd.jpg');
    background-position: center center;
    -ms-background-size: cover;
    background-size: cover;
    height: 200px;
    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(141,169,196,.5), rgba(19, 64, 116, .5) );
   
}
.formulario{
    padding: 50px;
    background: #fbfdff;
}
.texto-formulario h2, .input label, .password-olvidada a, .texto-formulario p{
    color: #0b2545; 
}
.texto-formulario h2{
    font-size: 40px;
    text-align: center;
}
.texto-formulario p{
    font-size: 22px;
    text-align: center;
}
.input label{
    display: block;
    font-size: 22px;
    font-weight: bold;
    margin: 10px 0;
}
.password-olvidada a{
    display: inline-block;
    margin-top: 20px;
    font-size: 15px;
}
.input input {
    width: 100%;
    padding: 10px 16px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    outline: none;
}
.boton{
    background-color: var(--azulOscuro);
    color: white;
    cursor: pointer;
}
.boton:hover {
    background-color: #134074;
}
.input input[type="submit"] {
    background-color: var(--azulGris);
    color: var(--blanco);
    font-size: 22px;
    font-weight: bold;
    border: none;
    margin-top: 20px;
    -webkit-transition: background-color .3s ease-in-out;
    -moz-transition: background-color .3s ease-in-out;
    -ms-transition: background-color .3s ease-in-out;
    -o-transition: background-color .3s ease-in-out;
    transition: background-color .3s ease-in-out;
}
.input input[type="submit"]:hover{
  
    cursor: pointer;
    background-color: var(--azulOscuro);
}
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 70%;
}
/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* SCROLLBAR */
/* width */
::-webkit-scrollbar {
    width: 9px;
    background: #e1e1e1;
    height: 7px;
}
::-webkit-scrollbar-thumb {
    width: 7px;
    background: #6a6464;
    height: 20px;
    -ms-border-radius: 4px;
    border-radius: 4px;
}

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

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

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