header {
    width: 100%;
    min-height: 50px;
    background-color: var(--bg-header);
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    flex-direction: column;
    font-size: .95rem;

    section {
        margin: auto;
    }

    .header-wrapper {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .main-logo {
        font-weight: bold;
        font-size: 1.8rem;
        margin-bottom: -.6rem;
    }

    .sub-logo {
        margin-top: 0;
        font-size: .7rem;
    }
}

.header-nav {
    position: relative;

    ul {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    li {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;

        &:hover {
            filter: brightness(0.8);
            /*box-shadow: inset 0 0 100px 100px rgba(0, 0, 0, 0.2);*/
        }
    }
}

.main-menu {
    width: 1.7rem;
    height: 1.7rem;
    padding: .1rem;
    border-radius: 4px;
    background-color: var(--bg-header);

    svg {
        width: 100%;
        height: 100%;
        stroke: var(--primary);
    }

    .main-menu-button {
    }

}

.nav-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    position: absolute;
    right: 0;
    top: 2rem;
    flex-direction: column;
    gap: .8rem;
    padding: .5rem;
    transition: visibility .3s, opacity .3s;

    &.active {
        display: flex;
        align-items: flex-start;
    }

    &.show {
        opacity: 1;
        visibility: visible;
        background-color: var(--bg-main-menu);
        /*box-shadow: rgb(61, 68, 77) 0px 0px 0px 1px, rgba(1, 4, 9, 0.4) 0px 6px 12px -3px, rgba(1, 4, 9, 0.4) 0px 6px 18px 0px;*/
        box-shadow: var(--shadow-menu);
        border-radius: 8px;
    }

    li a {
        color: var(--text);
        font-size: .9rem;
        font-weight: 500;
        display: flex;
        gap: .6rem;
        align-items: center;
        justify-content: flex-start;

        svg {
            width: 1.2rem;
            height: 1.2rem;
            padding: .1rem;
            fill: none;
            stroke: var(--text-secondary);
            stroke-width: 2;
        }
    }


}
