.header-menu {
    display: flex;
    justify-content: space-between;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #05347f;
}

.header-menu a {
    color: inherit;
    font-size: 18px;
    padding-bottom: 30px;
    white-space: nowrap;

}

.header-menu__item-arrow {
    display: inline-block;
    position: relative;
    top: 1px;
}

.header-menu__item-link_grey {
    background: rgba(181, 186, 217, 0.28);
    box-shadow: 0px 0px 6px #B5BAD9;
    border-radius: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 125px;
    height: 38px;
    text-transform: uppercase;
    font-size: 14px !important;
    padding-bottom: 0px !important;
    font-weight: bold;
}

@media screen and (min-width: 800px) {
    .header-menu__submenu>li:hover>.header-menu__submenu,
    .header-menu>li:hover>.header-menu__submenu {
        opacity: 1;
        pointer-events: auto;
    }
    .header-menu>li {
        position: relative;
        padding: 0px;
        margin: 0 18px;
    }
    .header-menu__submenu {
        opacity: 0;
        transition: .3s;
        pointer-events: none;
        -webkit-transition: .3s;
        -moz-transition: .3s;
        -ms-transition: .3s;
        -o-transition: .3s;
        top: 40px;
        left: 102%;
        transform: translate(-50%, -0%);
        display: flex;
        background: #FFFFFF;
        border: 1px solid #FCE4E8;
        box-shadow: 0px 1px 8px #EFDEE9;
        border-radius: 23px;
        position: absolute;
        width: fit-content;
        justify-content: space-evenly;
        padding: 25px 5px;
        z-index: 2;
    }
    .header-menu__submenu::before {
        content: '';
        background: #ffff;
        position: absolute;
        width: 30px;
        height: 30px;
        border-left: 1px solid #FCE4E8;
        border-top: 1px solid #FCE4E8;
        transform: rotate(45deg);
        box-shadow: -5px -3px 8px -5px #EFDEE9;
        z-index: 3;
        top: -16px;
        border-radius: 7px 0px 0px 0px;
    }
    .header-menu__submenu li {
        color: #05347F;
        font-size: 18px;
        position: relative;
        z-index: 5;
        margin: 0 15px;
        list-style: none;
        width: 112px;
    }
    .header-menu__submenu-item-title {
        display: none;
        font-size: 14px;
        line-height: 85%;
        text-align: center;
        margin-top: 8px;
    }

    .header-menu__submenu-item-title a {
        white-space: normal;
        font-size: 14px;
    }

    .header-menu__submenu img {
        height: 110px;
    }
}

@media (max-width: 1200px) {
    .header-menu a {
        font-size: 16px;
    }
    .header-menu__item-link_grey {
        font-size: 13px !important;
        width: 110px;
        height: 35px;
    }
}

@media (max-width: 1000px) {
    .header-menu a {
        font-size: 14px;
    }
    .header-menu>li {
        position: relative;
        margin: 0 10px;
    }
    .header-menu__item-arrow {
        top: 1px;
        width: 12px;
    }
    .header-menu__submenu {
        padding: 10px 5px;
        top: 42px;
    }
    .header-menu__submenu li {
        width: 85px;
    }
     .header-menu__submenu img {
        height: 80px;
    }
}

@media screen and (max-width: 800px) {
    .header__menu {
        position: absolute;
    }
    .header-menu {
        flex-direction: column;
        position: fixed;
        justify-content: flex-start;
        left: -100%;
        top: 65px;
        transition: .3s;
        -webkit-transition: .3s;
        -moz-transition: .3s;
        -ms-transition: .3s;
        -o-transition: .3s;
        height: 100vh;
    }
    .header-menu.active {
        left: 0;
        width: 100%;
        background: linear-gradient(107.84deg, #E5E6F2 31.09%, #FFFFFF 116.95%);
        padding-top: 15px;
    }
    .header-menu>li {
        width: 100%;
        margin: 10px 45px;
    }
    .header-menu>li:first-child {
        font-weight: bold;
    }
    .header-menu a {
        font-size: 16px;
        padding: 0 35px;
        width: 100%;
    }
    .header-menu__submenu-item-link {
        display: none;
    }
    .header-menu__submenu {
        display: none;
    }
    .header-menu__submenu.active {
        display: block;
        width: 100%;
        background: rgba(255, 255, 255, 0.42);
        margin: 10px 0 0;
    }
    .header-menu__submenu.active li {
        list-style: none;
        padding: 7px 0;
        font-weight: 500;
    }
    .header-menu__item-link_grey {
        font-size: 16px !important;
        width: 100px;
        height: 30px;
        background: none;
        box-shadow: none;
        text-transform: none;
        font-weight: 500;
        display: block;
    }
    .header-menu__submenu li {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .header-menu {
        top: 50px;
    }
}