/* -----------------------------------------
FUENTE
*/

@font-face {
  font-family: Poppins-Regular;
  src: url('../fonts/poppins/Poppins-Regular.ttf'); 
}

@font-face {
  font-family: Poppins-Medium;
  src: url('../fonts/poppins/Poppins-Medium.ttf'); 
}

@font-face {
  font-family: Poppins-Bold;
  src: url('../fonts/poppins/Poppins-Bold.ttf'); 
}

@font-face {
  font-family: Poppins-SemiBold;
  src: url('../fonts/poppins/Poppins-SemiBold.ttf'); 
}

/*--------------------------------------------
ESTILIZAR
*/  

*{
    margin: 0px; 
	box-sizing: border-box;
}

body, html {
    background-color: #ebedef;
    background: linear-gradient(to bottom right, #EBEDEF, #AEB6BF);
	font-family: Poppins-Regular, sans-serif;
    height: 100%;
    width: 100%;
    font-size: 10px;
}

/*------------------------------------------
CONTENEDOR PRINCIPAL
*/

.padre{
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 80%;
    margin-left:auto;
    margin-right:auto;
    left:0;
    right:0;  
     
}

/*--------------------------------------------
LOGO 
*/

.logo{
    margin-top: 0px;
    margin-bottom: 0px;
    align-items: center;
    content: ' ';
    display: block;
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 10px;
    border-radius: 50%;
    -moz-border-radius: 50%; 
    -webkit-border-radius: 50%;
    width: 200px;
    height: 200px;
    background: #ffff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/*-----------------------------------------------
CONTENEDOR SECUNDARIO 
*/

.hijo{
    border-radius: 10px;
    background: #ffff;
    width: 35%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.cabezal{
    width: 100%;
    position: relative;
    background: #5D6D7E;
    overflow: hidden;
    height: 20px;
    border-radius: 10px 10px 0px 0px;
    
}

.cabezal:before {
    content: ' ';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
    background-image: url(/imagenes/bg-01.jpg);
    background-repeat: no-repeat;
    background-position: 50% 0;
    -ms-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
    border-radius: 10px 10px 0px 0px;
 }
    
.cabezal h1{
    position: relative;
    text-align: center;
    z-index: 2;
    color: #fff;
    font-size: 2vw;
    font-weight: bold;
    text-shadow: 2px 2px #003d55;
    line-height: 300px;
    display: block;
    
}

/*-----------------
PADRE2 */
.formulario{ 
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/*-----------------
HIJO DE FORMULARIO */

.usuario, .contraseña, .enviar { /*hijos*/
    align-items: center;
    padding: 15px;
    
} 

.usuario span, .contraseña span{
    font-size: 18px;
    color: #2574a9;
    text-align: left;
    padding-left: 5px;
    
}

.usuario input, .contraseña input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    background-color: #f1f1f1;
    margin: 5px
}

.fholder{
    text-align: center;
    color: gray;
}



.boton{
    background-color: #2574a9; /* Azul */
    border: none;
    border-radius: 4px;
    color: white;
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    width: 100%;
}




/*----------------------- pagina responsiva */

@media screen and (max-width:1600px){
    .hijo{
        width: 45%;
    }
    .cabezal p{
        font-size: 3vw;
    }
    
}
@media screen and (max-width:1024px){
    .hijo{
        width: 60%;
    }
    .cabezal p{
        font-size: 5vw;
    }
}
@media screen and (max-width:768px){
    .hijo{
        width: 80%;
    }
    .cabezal p{
        font-size: 7vw;
    }
}
@media screen and (max-width:460px){
    .hijo{
        width: 90%;
    }
    .cabezal p{
        font-size: 8vw;
    }
}
    