header {
    flex-shrink: 0;
    /* Impide que el header se encoja */
    margin: 0;
    flex: 0 0 auto;
    /* El header mide lo que mide su contenido */

}

#header-left {
    display: flex;
    flex-direction: column;
}

#header-left img {
    height: 24px;

}



#header-left #h1-wrapper {
    background-color: var(--darkBackground);
    /* El color de fondo siempre va al final */
    color: var(--verde1);
    padding: 10px;
    /* Esto crea las esquinas redondeadas solo arriba */
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    letter-spacing: 1px;
    /* Para que encaje con el logo superior */
    z-index: 1;
    position: relative;
}

#header-left #h1-wrapper span {
    width: 6px;
    height: 6px;
    background: white;
}

#header-left #h1-wrapper span.corner1 {
    position: absolute;
    top: 0;
    right: 50px;
}

#header-left #h1-wrapper span.corner2 {
    position: absolute;
    top: 22px;
    right: 0;

}

#header-left #h1-wrapper span i {
    width: 6px;
    height: 6px;
    display: block;

    border-top-right-radius: 6px;
    background: var(--darkBackground)
}


#header-left h1 {
    margin: 0;
    font-size: 12pt;
    text-transform: uppercase;
    font-weight: normal;

}



header button {

    background: white;
    position: fixed;
    width: 60px;
    height: 60px;
    top: 0;
    right: 0;
    z-index: 2;
    border-radius: 6px;
    border: none;

}













#mainNav {
    padding: 0;
    margin: 0;
    position: fixed;
    z-index: 100;
    width: 240px;
    height: 100%;
    top: 0;
    right: 0;
    background: white;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    list-style: none;
    padding: 10px;

    padding: 8px;
    background:var(--darkBackground);
}

#mainNav ul {
    padding: 0;
    margin: 0;

    margin-bottom: 8px;
    padding: 8px;



}

#mainNav li {
    padding:8px;
    border-radius: 8px;
    background: var(--oscurecer);
    list-style: none;
    font-size: 9pt;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom:8px;
    color:var(--verde1);
}

#mainNav li ul{
    margin:0;
    padding:0;
    background:transparent;
}
