.header-migs {
    position: sticky;
    display: flex;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--black-color);
    box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
    z-index: 999;
}

.nav-migs {
    display: flex;
    width: 100%;
    max-width: 1280px;
    padding: 0 24px;
    height: var(--header-height);
    font-family: var(--poppins-font);
    font-size: var(--normal-font-size);
}

.nav-list-migs {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    column-gap: 0.5rem;
    padding: 1rem 0.75rem;
}

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

.nav__block {
    width: fit-content;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.notification-openbtn {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    justify-content: center;
    align-items: center;
    border-radius: 0.75rem;
    position: relative;
    cursor: pointer;
    transition: background-color .3s, transform .3s;
    background-color: var(--black-color-light);
}

.notification-openbtn:hover {
    background-color: var(--black-color-lighten);
}

.notification-amount {
    position: absolute;
    top: -0.425rem;
    right: -0.425rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    font-family: var(--poppins-font);
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 100%;
    color: var(--white-color);
    background-color: #660EBA;
    border-radius: 0.5rem;
}

.nav-logo,
.nav-burger,
.nav-close {
    color: var(--white-color);
}

.nav-data-migs {
    height: 100%;
    gap: 0.75rem;
    display: flex;
    width: fit-content;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
}

.nav-toggle-migs {
    position: relative;
    width: 32px;
    height: 32px;
}

.nav-burger,
.nav-close {
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 1.25rem;
    cursor: pointer;
    transition: opacity .1s, transform .4s;
}

.nav-close {
    opacity: 0;
}

.profile-toggle.desktop {
    display: flex;
}

.profile-toggle.mobile {
    display: none;
}

.nav-link-migs {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: var(--white-color) !important;
    border-radius: 1rem;
    height: 2.5rem;
    padding: 0.625rem 0.75rem;
    display: flex;
    column-gap: .5rem;
    align-items: center;
    transition: background-color .3s;
    overflow: hidden;
}

.link-migs-profile {
    height: 2.75rem;
}

.nav-link-migs:hover {
    border-radius: 1rem;
    background-color: var(--black-color-lighten);
}

.nav-link-migs.active,
.dropdown-item-migs.active {
    background-color: var(--black-color-light);
}

.show-menu-migs {
    opacity: 1 !important;
    top: var(--header-height) !important;
    pointer-events: initial !important;
}

.show-icon-migs .nav-burger {
    opacity: 0;
    transform: rotate(90deg);
}

.show-icon-migs .nav-close {
    opacity: 1;
    transform: rotate(90deg);
}

.dropdown-item-migs {
    border-radius: 1rem;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 1.25rem;
    font-weight: initial;
    transition: transform .4s;
}

.dropdown-link-migs,
.dropdown-link-feed,
.dropdown-sublink {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: var(--white-color) !important;
    background-color: var(--black-color-light);
    padding: 1.25rem 1.25rem 1.25rem 2.5rem;
    text-wrap: nowrap;
    display: flex;
    align-items: center;
    column-gap: .5rem;
    transition: background-color .3s;
}

.dropdown-link-migs:hover,
.dropdown-link-feed:hover,
.dropdown-sublink:hover {
    background-color: var(--black-color-lighten);
}

.dropdown-menu-migs {
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    overflow: hidden;
}

.dropdown-menu-migs,
.dropdown-submenu {
    opacity: 0;
    max-height: 0;
    pointer-events: none;
    transition: max-height .4s ease-out, opacity .3s, top .3s;
}

.dropdown-item-migs.active .dropdown-menu-migs,
.dropdown-subitem.active>.dropdown-submenu {
    opacity: 1;
    width: fit-content;
    max-height: 1000px;
    pointer-events: initial;
}

.dropdown-item-migs.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-add {
    margin-left: auto;
}

.dropdown-sublink {
    background-color: var(--black-color-lighten);
}

@media screen and (min-width: 1118px) {

    .nav-migs {
        justify-content: space-between;
    }

    .nav-toggle-migs {
        display: none;
    }

    .dropdown-item-migs {
        position: relative;
    }

    .dropdown-menu-migs,
    .dropdown-submenu {
        max-height: initial;
        position: absolute;
        left: -20px;
        top: calc(var(--header-height) - 0.95rem);
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s, top .3s;
    }

    .dropdown-menu-migs.profile {
        top: calc(var(--header-height) - 0.8rem);
    }

    .dropdown-link-migs,
    .dropdown-link-feed,
    .dropdown-sublink {
        padding-inline: 1rem 3.5rem;
    }

    .dropdown-subitem .dropdown-link-migs,
    .dropdown-subitem .dropdown-link-feed {
        padding-inline: 1rem;
    }

    .dropdown-submenu {
        position: absolute;
        left: 100%;
        top: .5rem;
    }

    /* Show dropdown submenu */
    .dropdown-subitem:hover>.dropdown-submenu {
        opacity: 1;
        top: 0;
        pointer-events: initial;
        transition: top .3s;
    }
}

@media screen and (max-width: 1118px) {

    .dropdown-item-migs.active .dropdown-menu-migs,
    .dropdown-subitem.active>.dropdown-submenu {
        width: 100%;
    }

    .nav-menu-migs {
        position: absolute;
        left: 0;
        top: 2.5rem;
        width: 100%;
        height: auto;
        overflow: hidden;
        pointer-events: none;
        opacity: 0;
        transition: top .4s, opacity .3s;
    }

    .nav-menu-migs::-webkit-scrollbar {
        width: 0;
    }

    .profile-toggle.desktop {
        display: none;
    }

    .profile-toggle.mobile {
        display: flex;
        flex-direction: column;
    }

    .nav-list-migs {
        flex-direction: column;
        background-color: var(--black-color);
        border-bottom-right-radius: 1rem;
        border-bottom-left-radius: 1rem;
    }
}

@media screen and (max-width: 900px) {

    .migs_navbar_menu {
        display: none;
        flex-direction: column;
        background-color: #272727;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        padding-top: 10px;
        padding-bottom: 18px;
        z-index: 999;
    }

    .migs_navbar_menu.active {
        display: flex;
    }

    .navbar_mobile {
        display: block;
    }

}