@media (max-width: 1240px){
    .team__item--4{
        left: 275px;
    }
    .direction{
        padding: 10%  4% 1%;
    }
}

@media (max-width: 1174px){
    .slider__item-img{
        width: 100%;
        height: 250px;
    }
    .slider{
        margin: 0;
    }
    .slider__item{
        padding: 10px;
    }
}

@media (max-width: 1100px){
    .direction{
        padding: 10% 3% 1%;
    }
}
@media (max-width: 1040px){
    .direction {
        padding: 10% 7% 1%;
    }
    .team__item--5{
        bottom: 80px;
    }
    .top__inner{
        background-image: none;
    }
    .direction__item{
        flex-wrap: wrap;
    }
    .direction__item-img{
        margin: 0 auto 30px;
        order: -1;
    }
    .direction__item-content{
        max-width: 100%;
    }
    .hotel__gallery{
        margin: 0 auto 30px;
        order: -1;
    }
    .direction__item-title--contacts{
        margin-bottom: 0;
    }
    .direction__item{
        justify-content: center;
    }
    body{
        background-attachment: fixed;
    }
    
}

@media (max-width: 992px){
    .header__inner{
        flex-wrap: wrap;
        height: auto;
        padding-top: 25px;
    }
    .menu{
        order: 1;
        width: 100%;
    }
    .menu__list{
        justify-content: flex-end;
        padding-top: 30px;
    }
    .tools__items{
        flex-wrap: wrap;
    }
    .tools__item{
        width: 50%;
        margin-bottom: 30px;
        padding-right: 10px;
    }

}

@media (max-width: 860px){
    
    .team__item{
        display: none;
    }
    .team__inner{
        padding: 80px 0;
    }
    .footer__inner{
        flex-wrap: wrap;
    }
    .footer__form{
        width: 100%;
        margin-top: 25px;
    }
    .direction__item-img--3{
        order: -1;
    }
}

@media (max-width: 768px){
    .top__inner
    .direction,
    .blog{
        padding: 80px 0 60px;
    }
    .tools{
        padding-top: 80px;
    }
    .tools__inner{
        padding-bottom: 60px;
    }
    .top__inner-img{
        background-image: none;
    }
}

@media(max-width:650px){
    .direction__item-img--3{
        width: 90%;
    }
    .direction__item-img{
        width: 85%;
    }
    .direction__item-img--2{
        width: 85%;
    }
}

@media (max-width: 524px){
    .header__inner{
        display: block;
    }
    .menu__list{
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        background-color: #fff;
        text-align: center;
        transition: all .7s;
        transform: translateY(-300%);
        
    }
    .menu__list.menu__list--active{
        transform: translateY(0%);
        transition: all .5s;
    }
    .menu__btn{
        display: block;
        position: absolute;
        right: 10px;
        top: 25px;
    }
    .user-nav{
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        padding-top: 30px;
    }
    .menu__list-item + .menu__list-item{
        margin-left: 0;
    }
    .top__title{
        font-size: 28px;
        line-height: 32px;
    }
    .top__btn{
        margin-bottom: 25px;
    }
    .tools__item{
        width: 100%;
    }
    .tools__title,
    .direction__item-title,
    .team__title,
    .blog__title{
        font-size: 24px;
        line-height: 30px;
    }
    .direction__item{
        margin-bottom: 40px;
    }
    .slider__item{
        padding: 0;
    }
    .footer .logo{
        width: 100%;
        margin-bottom: 25px;
    }
    .footer__inner{
        justify-content: space-around;
    }
}