.header {
    box-sizing: border-box;
    width: 100%;
    background-color: transparent;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: calc(var(--unit) * 2);
    padding-bottom: calc(var(--unit) * 2);
    padding-left: calc(var(--unit) * 2);
    padding-right: calc(var(--unit) * 2);
    z-index: 100;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    letter-spacing: 1px;
}

.header-logo-container {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.header-logo-container h1,
.header-logo-container h2 {
    font-size: var(--textsize);
}

.header-logo-container::before {
    content: '';
    display: none;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background-color: var(--text-color);
    margin-right: 8px;
    opacity: 0;
    transition: opacity .5s var(--easier);
}


.header-logo-container:hover:before {
    opacity: 1;
    transition: opacity .5s var(--easier);
}

.header-logo-container:hover .header-logo-tag {
    opacity: 1;
    transition: opacity .5s var(--easier);
}

.header-logo-name {
    margin-right: 4px;
}

.header-logo-tag {
    opacity: .5;
    transition: opacity .5s var(--easier);
}

.header-menu {
    display: flex;
    justify-content: space-between;
    width: 140px;
}

.menubutton {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: var(--unit);
    /* reset default <button> styling */
    background: none;
    color: var(--text-color);
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent; /* no grey flash on tap in iOS Safari */
    background-color: transparent;
}

@media screen and (min-width: 460px) {
    .header-logo-container {
        flex-direction: row;
    }
    
    .header-logo-container::before {
        display: inline-block;
    }

    .header-menu {
        width: 160px;
    }
}