
header{
    position: absolute;
    width: 90%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    z-index: 100;
}

header img{
    height: 100%;
    width: 150px;
    margin: 5px;
}

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;
}


footer{
    width: 100%;
    position: absolute;
    bottom: 1px;
    color: #ffffff;
    
    /*flex.....*/
    display: flex;    
    flex-direction: column;
    text-align: right;
    z-index: 10;
    background: rgba(0,0,0,0.2);
}

footer h2 ,p{
    
    padding-right: 150px;
    margin: 2px;
    
    
}

footer p{ 
    
    font-size: 20px;
    
}

@media only screen and (max-width: 700px) {

    header label{
    cursor: pointer;
    display: block;
    color: #ffffff;
    font-size: 28px;
    padding-top: 15px;
    }
        
  .nav{ 
    position: absolute;      
    top: 100px;
    width: 110%;
    height: 62vh;
    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: 50px;
    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%);    
} 
  
    footer h2 ,p{
    
    padding-right: 20px;
    margin: 2px;
    
    
}

    
}






