.page__header {
    box-shadow: 0 0.2rem 3.5rem 1.5rem rgba(120, 120, 120, 0.05);
    background-color: #ffffff;
    position: relative;
}
.page-header__drop-icon {
    display: none;
}
.page__header__inner {
    display: flex;
    align-items: center;
    height: 9rem;
    padding: 0 3.3rem;
    text-transform: uppercase;
}

.page__header__logo {
    min-width: 6.4rem;
}
.page-header__drop-btn{
    display: none;
}

.page__header__nav {
    display: flex;
    list-style: none;
    margin: 0 auto;
    padding: 0 3.3rem;
    box-sizing: border-box;
    height: 100%;
    align-items: center;
}

.page__header__nav a {
    margin: 0 2.2rem;
    font-family: "Circe-Regular";
    font-size: 1.4rem;
    
    display: flex;
    align-items: center;
    position: relative;
}

.page__header__nav a li{
    font-family: "Circe-Regular";
}

.page__header__nav a:after{
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 0%;
    height: 0.1rem;
    background: #8e3ad6;
    transition: width .3s ease-in;
}

.page__header__nav a:hover:after,
.page__header__nav a.active:after{
    width: 100%;
    transition: width .3s ease-in;
}

.page__header__nav a:hover,
.page__header__nav a li:hover,
.page__header__nav a.active li{
    color: #8e3ad6;
}

.page__header__nav a:last-child {
    margin-right: 0;
}
.page__header__nav a:first-child {
    margin-left: 0;
}

.page__header__actions {
    display: flex;
    align-items: center;
    height: 100%;
}

.page__header__actions__langs,
.lang-item {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between; 
}

.langs-list{
    position: absolute;
    bottom: 0;
    display: none;
}

.lang-item{
    cursor: pointer;
    width: 100%;
    padding: 10px 16px;
    box-sizing: border-box;
    border-top: 1px solid #f7f7f7;
}

.page__header__actions__langs{
    height: 100%;
    width: 84px;
    justify-content: center;
    user-select: none;
    z-index: 10;
}

.current-lang{
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 0 16px;
    cursor: pointer;
}

.page__header__actions__langs.opened{
    height: 258px;
    box-shadow: 0 2px 35px 15px rgba(120, 120, 120, 0.1);
    background-color: #ffffff;
}
.page__header__actions__langs.opened .current-lang{
    position: relative;
    height: 90px;
}
.page__header__actions__langs.opened .current-lang:after{
    position: absolute;
    content: '';
    left: 50%;
    transform: translateX(-50%);
    bottom: 21px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 4px 0 4px;
    border-color: #afafaf transparent transparent transparent;
}


.page__header__actions__langs.opened .langs-list{
    display: block;
    width: 100%;
    z-index: 2;
}

.page__header__actions__langs .label,
.lang-item__label {
    margin-right: 1rem;
    font-size: 1.4rem;
    font-family: "Circe-Regular";
}

.actions__item {
    width: 14rem;
    height: 4rem;
    margin: 0 1rem;
}

.actions__item:first-child {
    margin-left: 0;
}

.actions__item:last-child {
    margin-right: 0;
}


/*------- nav drop --------*/
.nav-drop, .nav-drop__title, ul{
    width: 10rem;
    list-style: none;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
    position: relative;
    z-index: 10;
}
.nav-drop__title { 
    line-height: 9rem;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.nav-drop__title-text {
    font-family: "Circe-Regular";
    font-size: 1.4rem;
    position: relative;
}
.nav-drop:hover .nav-drop__item, 
.nav-drop:hover .nav-drop__title, 
.nav-drop:hover .nav-drop__title-text::after{
   opacity: 1;
   color: #8e3ad6;
}

.nav-drop__wrapper:hover {
    height: 13.5rem;
    box-shadow: 0 2px 35px 15px rgba(120, 120, 120, 0.1);
    background-color: #ffffff;
}

.nav-drop__title-text::after {
    content: '';
    position: absolute;
    top: 3rem;
    right: 42%;
    display: block;
    border-top: 0.6rem solid #8e3ad6;
    border-bottom: 0.6rem solid transparent;
    border-right: 0.6rem solid transparent;
    border-left: 0.6rem solid transparent;
    opacity: 0;
    transition: all 0.3s;
    height: 100%;
}

.nav-drop__item{
    position: absolute;
    top: 9rem;
    opacity: 0;
    z-index: 99; 
}

.nav-drop__text {
    background-color: #ffffff;
    width: 100%;
    border-top: 0.2rem solid #fcfcfc;
    
}

.nav-drop__link {
    display: flex;
    justify-content: center;
    padding: 0.8rem 0;
    font-size: 1.4rem;
    
}
.nav-drop__link::after {
    display: none;
}
.header-nav__list {
    display: flex;
}

.mobile-header__nav {
    display: none;
}



.position-overflow-rel-hide {
    position: relative;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .page__header__nav,
    .page__header__actions{
        display: none;
    }
    .nav-drop, .nav-drop__title, ul {
        width: 100%;
    }
    .nav-drop, ul{
        height: auto;
    }
    .page__header__inner {
       flex-wrap: wrap;
       padding: 0;
       height: auto;
    }

    .page__header__inner.fixed{
        position: fixed;
        z-index: 10;
        background: white;
        overflow: hidden;
        display: block;
    }
  

    .page-header__logo-btn-container {
        min-width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 2.7rem;
        padding-bottom: 1.7rem;
    }

    .current-lang .flag{
        min-width: 24px;
    }

    .mobile-header__nav {
        z-index: 1000;
        width: 100%;
        background-color: #ffffff;
        height: calc(100vh - 90px);
        padding-top: 1rem;
        padding-bottom: 100px;
        box-sizing: border-box;
        position: relative;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    .mobile-header__nav-list {
        text-align: right;
        box-sizing: border-box;
        padding-right: 2.6rem;

    }

    .mobile-header__nav-item {
        padding-bottom: 2.5rem;
        user-select: none;
    }

    .mobile-header__nav-link,
    .mobile-header__nav-item,
    .mobile-header__nav-link--hover{
        color: #4a4a4a;
        font-family: "Circe-Regular";
        font-size: 2rem;
        font-weight: 400;
        line-height: 2.6rem;
    }


    .mobile-header__actions.actions{
        width: 100%;
    }

    .mobile-header__actions-center {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding-top: 1rem;
        box-shadow: 0 2px 35px 10px rgba(120, 120, 120, 0.15);
    }


    .mobile-header__actions-btn {
        width: 262px;
        height: 50px;
        margin-bottom: 1rem;
       
    }
    .mobile-header__action-lang {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .page__header__logo {
        padding-left: 3rem;
    }

    .page-header__drop-btn {
        padding-right: 3rem;
        display: block;
       
    }

    .mobile-header__actions .opened{
        box-shadow: none;
        background: transparent;
        width: 100%;
        height: 165px;
        align-items: flex-start;
    }

    .page__header__actions__langs .label {
        color: #4a4a4a;
        font-size: 2rem;
        font-weight: 400;
        line-height: 2.6rem;
        text-transform: uppercase;
    }
    .mobile-header__action-lang {
        margin-top: 2.8rem;
        margin-bottom: 1.6rem;
    }
  

    .open {
        opacity: 1;
        z-index: 100;
    }

    .mobile-nav__drop-item {
        text-align: right;
        display: none;
        z-index: 100;
    }
    .mobile-nav__drop-text,
    .mobile-nav__drop-link {
        color: #4a4a4a;
        font-family: "Circe-Regular";
        font-size: 2rem;
        font-weight: 400;
        z-index: 300;
        display: block;
        line-height: 3rem;
    }

    .mobile-nav__drop-text {
        margin-top: 1.5rem;
        
    }
    .mobile-header__nav-link--hover {
        position: relative;
    }

    .mobile-header__nav-link--hover::before {
        content: '';
        position: absolute;
        display: block;
        border-top: 0.6rem solid #8e3ad6;
        border-bottom: 0.6rem solid transparent;
        border-right: 0.6rem solid transparent;
        border-left: 0.6rem solid transparent;
        left: -30%;
        top: 30%;
        height: 100%;
    }
   
    .mobile-header__nav-item:hover {
        display: block;
    }

    .mobile-header__nav-link{
        position: relative;
    }

    .mobile-header__nav-link:after{
        position: absolute;
        content: '';
        left: 0;
        bottom: 0;
        width: 0%;
        height: 0.1rem;
        background: #8e3ad6;
        transition: width .3s ease-in;
    }

    .mobile-header__nav-item:hover .mobile-header__nav-link:after{
        width: 100%;
        transition: width .3s ease-in;
    }

    .mobile-nav__drop-link:hover {
        color: #8e3ad6;
        transition: all .3s;
    }   
}

