header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background-color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

header.float {
    position: fixed;
    background-color: transparent;
}

.header-nav {
    display: flex;
    justify-content: flex-end;
    padding-left: 6rem;
    overflow: hidden;
}

/* DESKTOP */
@media only screen and (min-width: 1024px) {
    header {
        right: unset;
        bottom: 0;
        height: 100vh;
        width: 2.7rem;
        flex-direction: column;
        align-items: flex-start;
        flex-shrink: 1;
    }

    .header-nav {
        transform-origin: top left;
        transform: translateY(1.2rem) rotate(-90deg);
        padding-left: 0;
        width: max-content;
        justify-content: unset;
    }
}


/* 
LOGO
*/
#h-logo {
    display: flex;
}

#h-logo img {
    height: 2.2rem;
    width: auto;
    transition: transform 250ms ease-in-out;
}

.h-logo--logo_container,
.h-logo--frame_container {
    margin-top: 2px;
}

.h-logo--frame_container {
    margin-left: 4px;
    overflow: hidden;
}

.h-logo--frame_container.ani img {
    transform: translateX(-100%);
}

/* DESKTOP */
@media only screen and (min-width: 1024px) {
    #h-logo img {
        height: 2rem;
        transition: 250ms ease-in-out;
    }

    .h-logo--logo_container,
    .h-logo--frame_container {
        margin-top: 0;
    }

    .h-logo--frame_container {
        margin-left: 2px;
    }

    .h-logo--logo_container img.ani {
        height: 2.75rem !important;
    }
}


/* 
BUTTON
*/
#h-button {
    display: flex;
    align-items: center;
}

.h-button--toggle {
    width: 3rem;
    display: flex !important;
    padding: 2px;
    margin: 0 .5rem;
    border: 1px solid white;
    border-radius: 4rem;
}

.h-button--toggle_circle {
    height: 1.2rem;
    width: 1.2rem;
    border-radius: 2rem;
    border: 1px solid white;
    margin: 0 auto;
    transition: background 250ms ease-in-out, margin 250ms ease-in-out;
}

.h-button--toggle-videos .h-button--toggle_circle {
    background-color: white;
    margin: 0 0 0 auto;
}

.h-button--toggle-about .h-button--toggle_circle {
    background-color: white;
    margin: 0 auto 0 0;
}

/* DESKTOP */
@media only screen and (min-width: 1024px) {
    #h-button {
        order: 1;
    }
}

/* 
HOVER
*/
@media (hover: hover) {
    #h-button:hover .h-button--toggle_circle {
        background-color: white;
        margin: 0 auto 0 !important;
    }
}


/* 
FILTERS
*/
#h-filter {
    position: relative;
}

#h-filter.h-filter_desktop {
    display: none;
}

#h-filter.h-filter_mobile {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    position: sticky;
    top: 56px;
    left: 0;
    right: 0;
    background-color: black;
    z-index: 5;
}

.h-filter--container {
    display: flex;
    padding: .25rem 3rem .75rem .5rem;
}

.h-filter--link {
    display: block !important;
    min-width: fit-content;
    opacity: .5;
    transition: opacity 250ms ease-in-out;
    margin-right: 1rem;
}

#h-filter .h-filter--link:last-of-type {
    margin-right: .25rem;
}

.h-filter--link.active {
    opacity: 1;
}

.h-filter--button {
    display: flex !important;
    min-width: fit-content;
    position: sticky;
    top: 0;
    right: 0;
    padding: .25rem .5rem .75rem;
    bottom: 0;
    background-color: black;
    margin-left: auto;
}

.h-filter--button img {
    display: block;
    height: .9rem;
    width: auto;
    margin: auto 0;
}

/* TABLET */
@media only screen and (min-width: 768px) {
    #h-filter.h-filter_mobile {
        display: none;
    }

    #h-filter.h-filter_desktop {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        margin-right: .5rem;
    }

    .h-filter--container {
        display: flex;
        order: 2;
        padding: .5rem 0 .5rem .5rem;
    }

    .h-filter--button {
        order: 1;
        right: unset;
        left: -2px;
    }

    .h-filter--button img {
        margin: 4px 0 0 0;
    }
}

/* DESKTOP */
@media only screen and (min-width: 1024px) {
    #h-filter {
        order: 2;
    }

    #h-filter.h-filter_desktop {
        margin-right: 0;
        padding-right: 1rem;
    }

    .h-filter--container {
        width: 100%;
        overflow-x: scroll;
        overflow-y: scroll;
        padding: .3rem 0 .2rem 1rem;
    }

    .h-filter--button {
        padding: .3rem 0 .1rem 1rem;
        right: 0;
        left: unset;
        margin-left: 0;
    }

    .h-filter--button img {
        margin-top: 2px;
    }
}

/* 
HOVER
*/
@media (hover: hover) {
    .h-filter--link:hover {
        opacity: 1;
    }
}