.iconmenu{
    margin: 0px;
}

.iconimg{
    width: 50px;
    height: 50px;
}

header{
    width: 100%;
    height: 50px;
    background: #248c79;
    color: #fff;
    position: fixed;    /* Siempre fijo */
    top: 0;
    left: 0;
    z-index: 100;        /* Siempre por delante de todos los elementos */
}

h1{
    margin-left: 40%;
    float: left;
}

#menu-bar{
    display: none;
}

header label{
    float: right;
    font-size: 28px;
    margin: 6px 0;
    cursor: pointer;
}

.menu{
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 150px;/* Tamaño del menu desplegable (100hv Ocupa siempre el tamaño total de la ventana) */
    background: rgba(51,51,51,0.9);
    transition: all 0.5s;
    transform: translateX(100%);
}

.menu a{
    display: block;
    color: #fff;
    height: 50px;
    text-decoration: none;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

.menu a:hover {
    background: rgba(255,255,255,0.5);
}

#menu-bar:checked ~ .menu{
    transform: translateX(70%);
}