.header-main {
    display: flex;
    width: 100%;
    gap: 20px;
    margin-top: 4px;
    max-height: 54px;
    position: fixed;
    width: fit-content;
    border-radius: 20px;
    padding-right: 16px;
    z-index: 100;
    transition: all 200ms;
}

.header-main::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 4px;
    width: calc(100% - 80px);
    z-index: -1;
    height: 90%;
    background-color: white;
    border-radius: 10px;
    transition: all 200ms;
}

.header-main--scrolled::after {
    opacity: 0;
}

@media (max-width: 1430px) {
    .header-main::after {
        display: block;
        bottom: -7%;
    }
}
@media (max-width: 1408px) {
    .header-main::after {
        bottom: -6%;
    }
}

@media (max-width: 1380px) {
    .header-main::after {
        bottom: -5%;
    }
}

@media (max-width: 1370px) {
    .header-main::after {
        bottom: -3%;
    }
}

@media (max-width: 1350px) {
    .header-main::after {
        bottom: -1px;
    }
}

@media (max-width: 1330px) {
    .header-main::after {
        bottom: 0;
    }
}

@media (max-width: 1315px) {
    .header-main::after {
        bottom: 1px;
    }
}

@media (max-width: 1300px) {
    .header-main::after {
        bottom: -5px;
    }
}

@media (max-width: 1295px) {
    .header-main::after {
        bottom: -4px;
    }
}

@media (max-width: 1260px) {
    .header-main::after {
        bottom: -3px;
    }
}

@media (max-width: 1250px) {
    .header-main::after {
        bottom: -2px;
    }
}

@media (max-width: 1220px) {
    .header-main::after {
        bottom: -1px;
    }
}

@media (max-width: 1205px) {
    .header-main::after {
        bottom: 0;
    }
}

@media (max-width: 1180px) {
    .header-main::after {
        bottom: 1px;
    }
}

@media (max-width: 1175px) {
    .header-main::after {
        bottom: 1.5px;
    }
}

@media (max-width: 1150px) {
    .header-main::after {
        bottom: -6px;
    }
}

@media (max-width: 1130px) {
    .header-main::after {
        bottom: -5px;
    }
}

@media (max-width: 1110px) {
    .header-main::after {
        bottom: -4px;
    }
}

@media (max-width: 1080px) {
    .header-main::after {
        display: none;
    }
}

.header {
    gap: 1px;
    display: flex;
    width: 100%;
    position: relative;
    max-width: 1440px;
    padding: 20px 20px 0;
    position: fixed;
    top: 0;
    z-index: 100;
}

.header__container {
    background-color: white;
    border-radius: 20px;
    padding: 0 30px 0 3px;
    gap: 24.5px;
    display: flex;
    width: fit-content;
    clip-path: path(
        'M1026 0C1037.046 0 1046 8.95431 1046 20V43C1046 54.0457 1037.046 63 1026 63H75C70.0294 63 66 58.9706 66 54C66 51.7909 64.2091 50 62 50C59.7909 50 58 51.7909 58 54C58 58.9706 53.9706 63 49 63H20C8.9543 63 0 54.0457 0 43V20C0 8.95431 8.95431 1.56041e-07 20 0H1026Z'
    );
}

.header__logo {
    width: 54px;
    height: 100%;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    color: #383838;
}

.header__nav-link {
    text-decoration: none;
}

.header__nav-link-lk {
    text-decoration: none;
    color: #7d3ec6;
}

.header__login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
    background: #fff;
    border: 1px solid #d6bbfb;
    border-radius: 20px;
}

.header__robot {
    margin-left: auto;
    color: #fff;
    transition: all 200ms;
}

.header__robot svg {
    width: 75px;
    height: 51px;
}

.header__btn-btn {
    background: #fff;
    border-radius: 38px;
    padding: 10px 12px;
    display: flex;
    border: none;
    align-items: center;
    height: fit-content;
    gap: 8px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 10px;
    line-height: 160%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #7d3ec6;
}

.header__btn {
    margin-left: auto;
    display: none;
    gap: 20px;
    align-items: center;
}

.header__burger-btn {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 10px;
    line-height: 160%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #7d3ec6;
    gap: 8px;
    align-items: center;
    border-radius: 38px;
    padding: 10px 12px;
    border: none;
    display: none;
    height: fit-content;
    align-self: center;
    background: #fff;
}
.header__burger {
    display: none;
    position: fixed;
    /*transform: translateX(100%);*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: white;
    background-image: url('/public/static/header-burger-bg.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    align-items: center;
    justify-content: center;
    z-index: 20;
    flex-direction: column;
    /*visibility: hidden;*/
    /*opacity: 0;*/

    /*transition: transform 0.3s ease-in;*/
    /*visibility 0.3s ease;*/

    transition: opacity 400ms;
    pointer-events: none;
    opacity: 0;
}

.header__burger--open {
    /*transform: translateX(0%);*/
    opacity: 1;
    pointer-events: auto;
}

.header__burger-mask {
    position: absolute;
    width: 100%;
    height: 100%;
}
.header__burger-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    position: relative;
    z-index: 100;
    gap: 24px;

    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;

    /*    */
    margin-bottom: 60px;
}

.header__burger-login {
    margin-top: 52px;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
    background: #fff;
    border: 1px solid #d6bbfb;
    border-radius: 8px;
    padding: 10px;
    width: 40px;
    height: 40px;
    border-color: transparent;
    margin-bottom: 60px;
    z-index: 100;
    position: relative;
}

.header__burger-robot {
    left: 16px;
    position: absolute;
    top: 17%;
    color: white;
    width: 48px;

    svg {
        width: 100%;
        height: 100%;
    }
}
.header__burger-close {
    border-radius: 38px;
    padding: 10px 10px;
    /*width: 44px;*/
    /*height: 40px;*/
    right: 16px;
    position: absolute;
    top: 8%;
    z-index: 101;
    display: flex;
    border: none;
    align-items: center;
}

.header__container__login-btn {
    display: none;
}

@media (max-width: 1300px) {
    .header-main .header__logo {
        width: 48px;
    }
}

@media (max-width: 1150px) {
    .header-main .header__logo {
        width: 40px;
    }
    .header__robot {
        display: none;
    }
}

@media (max-width: 1080px) {
    .header-main {
        margin-top: 0;
    }
    .header-main .header__nav {
        display: none;
    }
    .header__btn {
        display: flex;
        gap: 10px;
    }

    .header__btn-btn {
        padding: 10px 15px;
    }

    .header__burger {
        display: flex;
    }

    .header-main {
        width: calc(100% - 32px);
        left: 16px;
        top: 20px;
        padding-left: 40px;
        align-items: center;
        padding-right: 16px;
        margin-top: 70px;
        height: 100px;
    }
    .header-main .header__logo {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 980px) {
    .header {
        padding: 0;
        padding-bottom: 228px;
        /*background: #fff;*/
        clip-path: none;
        background-image: url('/public/static/header-mobile-bg.svg');
        background-repeat: no-repeat;
        background-size: cover;
        /*background-position: 0 -115px;*/
        background-position: 0 -20px;
        position: relative;
    }

    .header__container {
        width: 100%;
        padding-left: 15px;
        padding-right: 16px;
        background-color: transparent;
        position: fixed;
        top: 70px;
        left: 0;
        z-index: 1;
        clip-path: none;
        justify-content: space-between;
        transition: all 200ms;
        width: calc(100% - 20px);
        margin-left: 10px;
        gap: 10px;

        /*height: 100%;*/
    }
    .header__logo {
        width: 90px;
    }

    .header__burger-btn {
        display: flex;
        padding: 20px 20px;
    }

    .header__robot {
        display: none;
    }

    .header__nav {
        display: none;
    }
    .header__login-btn {
        display: none;
    }
    .header__container__login-btn {
        margin-left: auto;
        display: flex;
        align-items: center;
        justify-content: center;

        font-family: var(--font-family);
        font-weight: 700;
        font-size: 10px;
        line-height: 160%;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: #7d3ec6;
        gap: 8px;
        border-radius: 38px;
        padding: 20px 30px;
        border: none;
        height: fit-content;
        align-self: center;
        background: #fff;
    }
}

@media (max-width: 930px) {
    .header-main {
        top: 10px;
        padding-left: 50px;
    }
}
@media (max-width: 810px) {
    .header-main {
        top: 20px;
        padding-left: 35px;
    }
}

@media (max-width: 768px) {
    .header-main {
        top: 50px;
        padding-left: 30px;
    }
    .header {
        padding-bottom: 198px;
    }

    .header__container {
        top: 54px;
    }
    .header__burger-btn {
        padding: 12px 20px;
    }

    .header__container__login-btn {
        padding: 12px 20px;
    }

    .header__logo {
        width: 80px;
    }
}

@media (max-width: 710px) {
    .header__btn {
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .header-main {
        top: 40px;
        padding-left: 25px;
    }
    .header-main .header__logo {
        width: 80px;
    }
}

@media (max-width: 580px) {
    .header-main {
        top: 30px;
        padding-left: 25px;
    }
    .header-main .header__logo {
        width: 65px;
    }
}
@media (max-width: 500px) {
    .header-main {
        top: 10px;
        padding-left: 25px;
    }

    .header__btn-btn {
        padding: 10px 12px;
    }

    .header-main .header__logo {
        width: 54px;
    }
    .header {
        padding-bottom: 160px;
    }

    .header__burger-btn {
        padding: 10px 12px;
    }

    .header__container__login-btn {
        padding: 10px 12px;
    }
    .header__logo {
        width: 54px;
    }

    .header__container {
        top: 46px;
    }
}
@media (max-width: 480px) {
    .header-main {
        top: 10px;
        padding-left: 25px;
    }

    .header {
        /*background-position: 0 -50px;*/
    }
}

@media (max-width: 420px) {
    .header-main {
        top: -10px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 380px) {
    .header-main {
        top: -10px;
        padding-left: 15px;
    }
}

@media (max-width: 380px) {
    .header-main {
        top: -10px;
        padding-left: 10px;
    }
}
@media (max-width: 340px) {
    .header-main {
        top: -10px;
    }
}
