
.header .header__link {
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 25px;
}

.header .section-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.header .header-topmenu__auth {
    float: none;
    color: #475669;
}

.header {
    border-bottom: 1px solid #c6d4ed;
    background-color: rgb(74, 121, 209);
}

/*Анимация при наведении на аватарку юзера*/

/* весь контейнер поддерживает перспективу */
.header__user {
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;margin-left: 50px;
    -webkit-perspective: 1000;
    perspective: 1000;
}

/* переверните сторону при проведении мышью  */
.header__user:hover .header__user-in {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.header__user,
.header__user-in .bth__ava-40,
.header__user-in .header__auth {
    width: 40px;
    height: 40px;
}

/* здесь находится скорость перевертывания */
.header__user-in {
    -webkit-transition: 0.6s;
    -o-transition: 0.6s;
    transition: 0.6s;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    position: relative;
}

/* скройте обратную сторону во время переворота */
.header__user-in .bth__ava-40, .header__user-in .header__auth {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

/* лицевая сторона размещена над обратной */
.header__user-in .bth__ava-40 {
    z-index: 2;
    background-color: #DDDDDD;
}

/* обратная, изначально скрытая сторона */
.header__user-in .header__auth {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    color: rgb(74, 121, 209);
    background-color: white;
    font-size: 25px;
    line-height: 40px;
    border-radius: 50px;
    text-align: center;
    z-index: 10;
}

.header__anonim {
    color: white;
    background-color: #F5B553;
    font-size: 25px;
    padding-top: 4px;
    border-radius: 50px;
    text-align: center;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: block;
}

.header__anonim:hover {
    background-color: #e27200;
    color: white;
}

.header__logo-mobile {
    display: none;
}

.header__logo {
    width: 160px;
    display: inline-block;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("/i/tourcentre/logo.png");
}

@media screen and (max-width: 750px) {

    .header__logo-mobile {
        display: block;
    }

    .page header.header {
        width: 100%;
    }

    .header .section-wrapper {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .header__user{
        margin-left: 0;
    }
    .header .header__link {
        display: none;
    }

}