.header {
    position: relative;
    background-color: transparent;
    width: 100%;
    z-index: 9999;
    padding: 0 1em;
}

.fixed {
    position: fixed;
    top: 0;
    background: #F8F6F4;
    box-shadow: 0px 0px 50px 25px #F1EDE9;
    animation: slideDown 0.35s ease-out;
    padding: 1em;
}
.sidebar-open .header.fixed{
z-index: 1
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    min-height: 80px;
}

.fixed .header__content {
    min-height: 40px;
}

.logo {
    max-width: 150px;
    color: #fff;
    font-size: 23px;
    letter-spacing: -1.5px;
    font-weight: 500;
}

.nav {
    transition: all 0.3s ease-in-out;
}

.nav__list,
.action__list {
    display: flex;
    column-gap: 40px;
}

.nav__list {
    column-gap: 40px;
    margin: 0;
}

.action__list {
    column-gap: 26px;
}

.nav__item {
    transition: all .4s ease-in-out;
}

.nav__link {
    font-weight: 300;
    font-size: 20px;
    color: #283583;
    transition: all 0.4s ease-in-out;
}

.nav__link.active {
    font-family: "Sahel-bolder";
    font-weight: 900;
}

.nav__link:hover,
.nav__link:focus {
    font-family: 'Sahel-Bolder';
    color: #283583;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: #283583;
    border-radius: 8px;
    /* padding: 8px; */

    width: 50px;
    height: 50px;
    flex-direction: column;
    align-items: center;
    row-gap: 6px;
    justify-content: center;
    aspect-ratio: 1;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: #fff;
    /* margin: 5px 0; */
    /* opacity: 0.8; */
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.nav--open {
    transform: translate(0) !important;
    height: 100vh;
    backdrop-filter: blur(15px);
    z-index: 9;
}

.hamburger--open {
    background: #746752;
}

.hamburger--open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger--open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger--open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.action__item {
    position: relative;
    height: 50px
}

.action__item.large,
.nav__item.large {
    display: block;
}

.action__item.small,
.nav__item.small {
    display: none;
}

@media screen and (min-width: 768px) and (max-width: 993px) {
    .nav__list {
        column-gap: 16px;
    }

    .action__list {
        column-gap: 16px;
    }
}

@media screen and (max-width: 768px) {
    .header__content {
        flex-direction: row-reverse;
        padding: 0;
    }

    .nav:not(.nav-tabs) {
        position: fixed;
        top: 80px;
        left: 0;
        background-color: transparent;
        width: 100%;
        padding: 10px 0 25px;
        transform: translateX(-100%);
    }

    .fixed .nav:not(.nav-tabs) {
        top: 60px;
    }

    .nav__list {
        /* width: 100%; */
        height: fit-content;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: start;
        row-gap: 20px;
        column-gap: 12px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 12px;
        padding-right: 12px;
    }

    .nav__link {
        font-size: 16px !important;
        font-weight: 400;
        color: #283583;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav__link svg {
        width: 100%;
    }

    .action__list {
        column-gap: 15px;
        margin-left: auto;
        margin-right: 15px;
    }

    .action__item.large,
    .nav__item.large {
        display: none;
    }

    .action__item.small.test .nav__link {
        display: grid;
    }

    .action__item.small.test .nav__link span {
        font-family: 'Sahel-semiBold';
        text-align: center;
    }

    .action__item.small,
    .nav__item.small {
        display: block;
    }

    #main-header .header__content .action__list .action__item.small {
        display: none;
    }

    .action__item.small {
        width: 50px;
        height: 50px;
    }

    .action__item.small.test {
        width: 82px;
    }

    .action__item.small.test .nav__link {
        display: grid;
        grid-template-columns: auto 30px;
        height: 100%;
        flex-basis: 80%;
        background-color: #DBD9E9;
        border-radius: 8px;
        padding: 0 4px;
        align-items: center;
        gap: 4px;
    }

    .action__item.small .button {
        position: relative;
        width: 100%;
    }

    .action__item.small .button .button__icon {
        width: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .nav__item.small {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: 100px;
        background: #E9E8F2;
        border: 1px solid #F8F7FB;
        border-radius: 8px 8px 24px 24px;
    }

    .nav__item.small.active {
        background: #283583;
        border: 1px solid #F8F7FB;
    }

    .nav__item.small.active .nav__link {
        color: #E9E8F2;
    }

    .nav__item.small .nav__link .icon-selected,
    .nav__item.small .nav__link .icon {
        margin-bottom: 5px;
    }

    .nav__item.small .nav__link .icon-selected {
        display: none;
    }

    .nav__item.small .nav__link .icon {
        display: block;
    }

    .nav__item.small.active .nav__link .icon {
        display: none;
    }

    .nav__item.small.active .nav__link .icon-selected {
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .footer {
        padding-bottom: 5em;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}