.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 99;
    /*transition: var(--transition--main);*/
}

.header.active{
    background:rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header .wrap{
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding:0 40px;
}

.header__item{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.header__item.without_menu {
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
}

.logo{
    display: block;
    width: 131px;
    height: 40px;
}

.logo-white__icon{
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

.main-menu{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: var(--color--black);
    margin-left: 20px;
}

.main-menu__item a{
    display: block;
    margin-right: 16px;
    border-radius: 16px;
    padding: 10px 24px;
    transition: .2s;
}

.header.ramadan_item.active a {
    color: var(--color--black);
}

.header.ramadan_item a{
    color: var(--color--white);
}

.header.ramadan_item.active_mobile a {
    color: var(--color--black);
}

.main-menu__item a:hover{
    -webkit-box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.05);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.05);
    background: var(--color--white);
}

header.ramadan_item .main-menu__item a:hover {
    color: var(--color--black);
}

.header__link{
    display: inline-block;
    text-decoration: none;
    color: var(--color--black);
    background: var(--color--white);
    border-radius: 16px;
    margin-left: 10px;
    padding: 10px 24px;
    white-space: nowrap;
    -webkit-box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
}

.header__link:hover{
    -webkit-box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.05);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.05);
}

header.ramadan_item .header__link {
    color: var(--color--black);
}

header.ramadan_item .header__link:hover {
    -webkit-box-shadow: 0px 8px 16px rgba(255, 255, 255, 0.05);
    box-shadow: 0px 8px 16px rgba(255, 255, 255, 0.05);
}

header.ramadan_item .logo img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

header.ramadan_item .black_logo {
    display: none;
}

.header.ramadan_item.active_mobile .black_logo,
.header.ramadan_item.active .black_logo {
    display: block;
}

.header.ramadan_item.active_mobile .white_logo,
.header.ramadan_item.active .white_logo {
    display: none;
}

.lang_switch {
    display: flex;
    color: var(--color--black);
    padding: 0;
    margin-left: 10px;
    background: rgba(255, 255, 255, 0.499891);
    box-shadow: 0px 8px 40px rgba(0, 0, 0, 0.101289);
    backdrop-filter: blur(10.8731px);
    border-radius: 16px;
}

.lang_switch li {
    padding: 10px 20px;

}

.lang_switch li.active {
    background: rgba(255, 255, 255, 0.698235);
    box-shadow: 0px 12px 48px rgba(0, 0, 0, 0.145897);
    backdrop-filter: blur(10.8731px);
    border-radius: 16px;
}

.nav{
    margin-right: auto;
}

.nav-mobile__icon{
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.burger{
    width: 24px;
    height: 1px;
    position: absolute;
    top: 50%;
    left: 8px;
}


.burger:after,
.burger:before{
    content: '';
    width: 24px;
    height: 1px;
    position: absolute;
    left: 0;
    background: var(--color--black);
    -webkit-transition: var(--transition--main);
    -o-transition: var(--transition--main);
    transition: var(--transition--main);
}

header.ramadan_item .burger:after,
header.ramadan_item .burger:before {
    background: var(--color--white);
}

header.ramadan_item.active .burger:after,
header.ramadan_item.active .burger:before,
header.ramadan_item .burger.active:after,
header.ramadan_item .burger.active:before {
    background: var(--color--black);
}


.burger:before{
    bottom: -5px;
}

.burger:after{
    top: -5px;
}

.burger.active:before{
    bottom: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.burger.active:after{
    top: 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.header__mobile-phone{
    position: relative;
    display: none;
    margin-left: auto;
    border-radius: 16px;
    -webkit-box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.1);
    background: #ffffff50;
    font-size: 0;
    width: 40px;
    height: 40px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.ramadan_item .header__mobile-phone {
    background: #ffffff;
}

.ramadan_item.active_mobile .header__mobile-phone {
    background: #000;
}

.header__mobile-phone._none{
    opacity: 0;
}

.header__mobile-phone:before{
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-image: url(../img/icon/phone.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.active_mobile{
    background: var(--color--white)!important;
}

@media screen and (max-width: 1200px) {
    .main-menu__item a {
        margin-right: 8px;
        border-radius: 8px;
        font-size: 12px;
        padding: 5px 10px;
    }

    .header__link {
        border-radius: 8px;
        font-size: 14px;
        padding: 5px 10px;
    }

    .lang_switch {
        border-radius: 8px;
    }

    .lang_switch li {
        padding: 5px 10px;
        font-size: 12px;
    }

    .lang_switch li.active {
        border-radius: 8px;
    }

    .lang_switch li a {
        font-size: 12px;
    }

}

@media screen and (max-width: 1024px){
    .header{
        height: 80px;
    }

    .header .wrap{
        padding:0 20px;
    }

    .nav-mobile__icon{
        display: block;
    }

    .header__mobile-phone{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .header__item{
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color--white);
        padding: 40px 20px;
        width: 100%;
        height: 100vh;
    }

    .header__item.active{
        display: block;
    }

    .main-menu{
        margin-left: 0;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .main-menu__item{
        margin-right: 0;
        border-bottom: 1px solid #00000070;
    }

    .main-menu__item a{
        display: block;
        font-size: 16px;
        padding: 20px;
    }

    .main-menu__item:first-child{
        border-top: 1px solid #00000070;
    }

    .nav{
        margin-bottom: 40px;
    }

    .header__item:before{
        content: '';
        position: absolute; /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
        background: -o-radial-gradient(center,  ellipse,  rgba(93,106,232,0.3) 10%,rgba(93,106,232,0) 70%,rgba(93,106,232,0) 100%);
        background: radial-gradient(ellipse at center,  rgba(93,106,232,0.3) 10%,rgba(93,106,232,0) 70%,rgba(93,106,232,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d5d6ae8', endColorstr='#005d6ae8',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
        width: 700px;
        height: 700px;
        left: -200px;
        top: 0;
        z-index: -1;
    }

    .header__link{
        margin: 0 10px 10px 0;
    }

    .header__link.btn_last {
        margin-right: 0;
        max-width: calc(100% - 150px);
        text-align: center;
    }
}