@charset "utf-8";
/* CSS Document */



*{
    margin: 0;
    box-sizing: border-box;
}

body{
    background: #D7DBDD;
    font-family: 'Acme', sans-serif;
   margin-top: 0;
}

#contenedor{   
    
    display: flex;
    align-items: center;
    /*flex-direction: column; */
    flex-flow: column nowrap; 
    
}


#titulo{
	background:#E7E7E7;
	height: 20px;
	text-align: left;
	margin: 0px;
}

/*--------CABECERA--------------------*/
header{
    
   background: linear-gradient(rgb(121,121,122),rgb(255,255,255));
    
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    z-index: 100;
}

header img{
    height: 100%;  
    
}

header label{
    display: none;
}


.nav{     
    width: 50%;
    font-size: 15px;    
     
    /* flex */
    display: flex;    
    flex-direction: row; /* cuando se achica baja */
    flex-wrap: wrap; 
    align-items: center;
    
}

.nav a{
    
    padding: 10px;
    color: #ffffff; 
    background: rgba(0,0,0,0.2);
    text-decoration: none;
    text-align: center;
    
    
    /* flex */
    flex: 1 1 auto; /* para que ocupe todo el ancho del mismo tama単o */
       
}

.nav a:hover{
    background: rgba(0, 0, 0, .5);
    border-radius: 8px;
}

.nav a.activado{
    
    background: rgba(0, 0, 0, .5);
    border-radius: 8px;
}

#menu-bar{
    display: none;
}



/*--------------------------FIN CABECERA----------*/
#cuerpo{
	display: flex;
    align-items: center;
    margin: auto;
    padding-top: 50px;
    height: 600px;	
    width: 100%;	
	text-align:center;	
}
form{
    width: 500px;
    margin: auto;
    background: rgba(0,0,0,0.3);
    padding: 10px 20px;
    box-sizing: border-box;    
    border-radius: 20px;
    
}

form h2{
    color: #ffffff;
    text-align: center;
    margin: 0;
    font-size: 30px;
    margin-bottom: 20px,        
}

input,textarea{
    width: 100%;
    margin-bottom: 20px;
    padding: 7px;
    box-sizing: border-box;
    font-size: 17px;
    border: none;
}
textarea{
    min-height: 100px;
    max-height: 200px;
    max-width: 100%;
}

#boton{
    background: #31384A;
    color: #ffffff;
    border-radius: 8px;
    padding: 10px;
    width: 50%;
}

#boton:hover {
    cursor: pointer;
    
}

@media only screen and (max-width: 700px) {
    
   #cuerpo{
	
    padding-top: 0px;
    
}
    form{
        margin-top: 50px
    }
    
    header label{
    display: block;
    }
       
    header{
    height: 50px;  
    
    }
    
  .nav{ 
    position: absolute;      
    top: 100px;
    width: 100%;
    height: 50vh;
    background: rgba(51,51,51,0.8);    
    transition: all 0.5s;
    transform: translateX(-100%);
}

.nav a{
    display: flex;
    align-items: center;    
    width: 100%;    
    color: #ffffff;
    text-align: left;
    height: 70px;
    text-decoration: none;    
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

nav a:hover{
    background: rgba(255,255,255,0.3);
}

#menu-bar:checked ~ .nav {
    transform: translateX(0%);    
}          
}





/*-----------------------------------*/

 header label{
     color: #ffffff;
    float: right;
    font-size: 28px;
    margin: 8px;
    cursor: pointer;
}


footer{
    height: 30px;
    width: 100%;
    font-size: 10px;
    background: rgba(19,64,231,0.4);
    color: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}


