/************* MENU PRINCIPAL *************/
body {
    margin: 0;
    font-family: sans-serif;
}    
header { 
    width: 100%;
    height: 114px;        
    background: #F0DAE3;        
} 
/************* APARTADO SUPERIOR *************/
#logo{
    position: relative;
    width: 40%;
    height: 113px;
    float: left;
    background-color: #A4A9AD;
    text-align: center;
}    
#logo img {
    padding: 30px;  
}
/************* PRINCIPAL *************/
figure {
    position: relative;    
    margin: 0;
    display: inline-block;
    flex-wrap: wrap;
}

figcaption { 
    bottom: -10px;
    position: absolute;
}
#btn-menu {
    display: none;
}
.texto_menu {
    left: 80px;
    font-size: 3.6em;
    font-weight: bold;
    color: rgba(21, 29, 34, 0.87);
}
header label {
    display: none;
    width: 64px;
    height: 64px;
    padding: 8px;
    border-right: 1px solid #fff;    
    box-sizing: border-box;
} 
header label:hover{
    cursor: pointer;
    background: rgba(0,0,0,0, 0.3);
}
.menu { 
    float: left;
}
.menu ul {
    margin: 0;
    list-style: none;
    padding: 28px 0px 0px 0px;
    display: flex;
}
.menu li {
    text-align: center;
    flex-grow: 1;        
}
.menu li:hover {
    background: rgba(248, 246, 246, 0.3);
}
.menu li a {
    display: block;
    padding: 20px 6px;
    color: #B34FC5;
    font-size: 0.9em;
    font-weight: bolder;
    text-decoration: none;
    box-sizing: border-box;
}
/************* REDES *************/
#redes{
    position: relative;
    top: 30%;
    width: 16%;
    height: 46px;
    float: right;
    margin: 0px auto;
    text-align:center;
}
#redes img{
    padding-top: 6px;
    padding-left: 2px;
    width: 32px;
    height: auto;
}
/************* MENU RESPONSIVE*************/
@media (max-width: 1050px){  
   header {
        height: 178px;             
    }     
    header label {
        display: inline-block; 
    } 
    #logo{
        position: relative;
        width: 100%;
        height: 113px;
        float: none;
        background-color: #A4A9AD;
        text-align: center;
    }    
    #logo img {
        padding: 16px;
        width: 70%;
        margin-top: 10px;
    } 
    .menu {
        position: absolute;
        background: rgba(240, 218, 227, 0.9);
        width: 100%;
        visibility: hidden;
        opacity: 0;
        transition: all 0.1s;
        z-index: 10;
    }
    .menu ul {
        width: 100%;
        flex-direction: column;
        font-size: 1.6em;       
    }
    .menu li {
        border: 1px solid gray;
        border-top: 1px solid #fff;
    }
    #btn-menu:checked ~.menu {
        visibility: visible;
        opacity: 1;
        transition: all 0.5s;
    }
    #redes{ 
        position:relative;
        top: -2px;
        width: 70%;
        height: 64px;
        float: right;
        margin: 0px auto;
        text-align:center;
    }
    #redes img{
        padding-top: 8px;
        padding-left: 20px;
        width: 48px;
        height: auto;
    }  
}
@media (max-width: 425px){
   header { 
       height: 178px;
    }         
    #redes{
        position:relative;
        top: -2px;
        width: 80%;
        height: 64px;
        float: right;
        margin: 0px auto;
        text-align:center;
        margin-bottom: -64px;
    }    
    #redes img{ 
        padding-top: 10px;
        padding-left: 6px;
        width: 42px;
    }
    #logo img {
        margin-top: 20px;
    }     
}
@media (max-width: 760px){    
    .texto_menu{
        display: none;
    }
}