.header {
    position: fixed;
    height: var(--header-height);
    top: 0;
    left: 0;
    width: 100%;
    background-color: hsl(from var(--theme-header-background) h s calc(l * 0.9));
    font-size: 1.3em;
}
.header-item-container {
    position: absolute;
    left: 2ch;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 2ch;
    height: 100%;
    color: var(--theme-header-main-text);
    width: calc(100% - (2 * 2ch));
}
.header-item-container a {
    text-decoration: underline;
    color: var(--theme-header-main-text);
}
.header-account {
    margin-left: auto;
}
.light {
    color: var(--theme-header-light-text)
}
.header-popout-button-div {
    display: none;
}
#header-popout {
    display: none;
}
@media (width <= 80ch) {
    .header-popout-button-div {
        margin-left: auto;
        display: block;
    }
    .header-popout-button-div > button {
        appearance: none;
        border: none;
        background: none;
        color: var(--theme-header-main-text);
        font-size: 2em;
    }

    .header-item-container > :not(.header-popout-button-div):not(:first-child) {
        display: none;
    }

    #header-popout:popover-open {
        position: fixed;
        top: calc(var(--header-height));
        left: auto;
        bottom: auto;
        right: 0;
        margin: 0;
        display: block;
    }
}
