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

body{
    background: #D7DBDD;
    margin-top: 5px;
    
}

#contenedor{    
    margin: auto;
    display: flex;
    flex-direction: column;    
    width: 70%;
}

/*-------------------Cabecera------------*/
header{   
    display: flex;
    height: 130px;
    background: #000;     
}


.logo{
    width: 40%;
    display: flex;
    align-items: center;
   
}

.logo img{
    width: 100%;
    height: 100px;
    padding: 5px;
    padding-bottom: 2px;
    
    box-sizing: border-box;
}

.logo2{
    display: flex;
    flex-direction: column;
    
     background: #000;
    width: 75%; 
    
    
}

.logo2 p{
    
    color: #fff;
    font-weight: bold;
    text-align: right;
   padding-top: 10px;
    padding-right: 10px;
    font-size: 20px;
    
}

.logo2 h2{ 
    
    position: absolute;
    margin-top: 30px;
    margin-left: 10px;
    font-size: 30px;
    font-family: Arial Black;
    color: #F0B27A;
   text-shadow: -2px -2px 1px #A04000, 2px 2px 1px #ABEBC6, -2px 2px 1px #ABEBC6, 2px -2px 1px #fff;
}

/*......menu.......*/
nav{     
     background: #000;    
    width: 100%;
    height: 100%;
    font-size: 15px;    
    border-top: 3px solid rgba(255,255,255,0.8);
    /* flex */
    display: flex;    
    flex-direction: row; /* cuando se achica baja */
    flex-wrap: wrap;
    align-items: flex-end;   
    
}

nav a{
    display: flex;
    align-items: center;
    justify-content: center;    
    height: 100%;    
    color: #F0B27A;    
    text-decoration: none;
    font-weight: bold;    
    
    /* flex */
    flex: 1 1 auto; /* para que ocupe todo el ancho del mismo tamaño */
       
}

nav a:hover{
    background: rgba(255,255,255, .5);    
    border-right: 2px solid #fff;
    border-left: 2px solid #fff;
    border-radius: 5px;
    
}

nav a.activado{     
    background: rgba(255,255,255, .5); 
    
}

header #menu-bar , label{
    display: none;
}

/*------------footer------------*/

footer{
    display: flex;
    align-items: center;
    justify-content: center; 
	background-color: #B5B5B5;
	height: 25px;
	width: 100%;
    margin-top: 2px;
	
}
footer p{
	font-family: arial;
	font-size: 12px;	
	color: #271FE8;
}

/*--------tamaño para celular-------*/
@media only screen and (max-width: 700px) {
    
    #contenedor{        
        width: 95%;
        
    }
    
    header{
        height: 90px;
        position: relative;
        margin-bottom: 80px;
       
    }
    
    .logo{        
        height: 100%;   
     }
    
    .logo img{
        height: 90px;
        width: 250px;
    }
    
    .logo2{
        display: flex;
        align-items: center;
        position: absolute;
        margin-top: 131px;
        width: 100%;    
    } 
    
    .logo2 p{   
   
    font-size: 9px;
    padding-top: 3px;  
    
    
    
}
    
    .logo2 h2{    
    position: absolute;
    margin-top: -40px;
    margin-left: 0px;
    background: #000;
    text-align: center;
    width: 100%;  
    text-shadow: -2px -2px 1px #A04000, 2px 2px 1px #ABEBC6, -2px 2px 1px #ABEBC6, 2px -2px 1px #fff;    
    
    }
        
   header label{
    display: block;   
    margin-left: 150px;
    margin-top: 30px;
    cursor: pointer;    
    color: #fff;
    font-size: 28px;
    
    }
    
    nav{ 
    position: absolute;      
    top: -40px;
    width: 100%;
    height: 50vh;
    background: rgba(51,51,51,0.8);
    
    transition: all 0.5s;
    transform: translateX(-110%);
}

nav a{
    display: flex;
    justify-content: flex-start;
    width: 100%;    
    color: #ffffff;   
    height: 70px;
    padding-left: 20px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

nav a:hover{
    background: rgba(255,255,255,0.3);
}

header #menu-bar:checked ~* nav {
   transform: translateX(0%);   
} 


    
}
















