.header {
    background-color: rgba(0, 0, 0, 0.3);
    max-width: 100%;
    width: 100%;
    padding: 16px 40px 16px 47px;
    position: fixed;
    top: 0;
    backdrop-filter: blur(4px);
    z-index: 100;
}

.header__button {
    padding: 12px 32px;
    background-color: rgba(14, 71, 166, 0.3);
    transition: background-color .5s ease-in-out;
}

.header__button:hover {
    background-color: #1b5aff;
}

.header__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.header__logo:hover {
    transform: scale(1.05);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-height: 48px;
}

.header__content--mobile {
    display: none;
}

.header__menu {
    max-width: 920px;
    width: 100%;
}

.header__list > .menu-item > a {
    font-family: "PT Sans", sans-serif;
    line-height: 135%;
    font-size: 1rem;
    cursor: pointer;
    transition: color .5s ease-in-out;
    color: var(--primary-50);
}

.header__list > .menu-item {
    transition: all .3s ease-in-out;
}

.header__list > .menu-item:hover {
    background-color: rgba(27, 90, 255, 0.44);
    border-radius: 51px;
    padding: 8px 16px;
}

.header__list > .menu-item > a:hover {
    color: #EDEDED;
}

.header__burger {
    flex-direction: column;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
    order: 2;
}

.header__burger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--neutral-400);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    transform-origin: center;
}

.header__burger-line:not(:last-child) {
    margin-bottom: 4px;
}

.header__burger--active .header__burger-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 3px);
}

.header__burger--active .header__burger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.header__burger--active .header__burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.header__burger--active {
    position: absolute;
    top: 25%;
    right: 0;
}

.header__mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--neutral-800);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    overflow-y: auto;
    padding: 80px 20px 20px;
}

.header__mobile-menu--active {
    transform: translateX(0);
}

.header__mobile-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.header__mobile-list > .menu-item > a {
    font-size: 26px;
}

.header__mobile-button {
    margin-top: 16px;
}

.current-menu-item {
    border-radius: 51px;
    background-color: rgba(17, 79, 242, 0.21);
    padding: 8px 16px;

}

@media (max-width: 1400px) {
    .header__list {
        padding: 20px;
    }

    .header__button {
        font-size: 12px !important;
    }
}

@media (max-width: 1230px) {
    .header__list > .menu-item > a {
        font-size: 0.85rem;
    }
}

@media (max-width: 1110px) {
    .header__list > .menu-item > a {
        font-size: 0.7rem;
    }

    .header__button {
        padding: 12px 20px;
    }
}

@media (max-width: 1000px) {
    .header__content--mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .header__content {
        display: none;
    }
}

@media (max-width: 500px) {
    .header__logo img {
        width: 100px;
    }
}