
/* screen < 1520 */

@media screen and (max-width:1520px){
    .service__title{
        font-size: 22px;
        line-height: 26px;
    }
    .service__desc{
        font-size: 16px;
        line-height: 20px;
    }
    .service__text{
        padding: 30px 30px 20px 35px;
    }
    .service{
        max-height: 200px;
    }
}


/* screen < 1360 */

@media screen and (max-width:1400px){
    .navigation__item{
        padding: 0px 10px;
    }
    .navigation__link{
        font-size: 16px;
    }
    .header__wrapper{
        padding: 20px 0px;
    }
    .feedback{
        width: 40%;
    }
    .contacts__map{
        width: 60%;
    }
    .service__img img{
        height: 100%;
        max-width: 150px;
        object-fit: cover;
        object-position: right;
    }
    .service{
        max-height: 190px;
    }
}

@media screen and (max-width:1280px){
    .nav-bar{
        display: block;
    }
    .nav{
        display: none;
    }
    .services__content {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .features-content{
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 50px 40px;
    }
    .tasks__list{
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 40;
    }
    .contacts__content{
        flex-wrap: wrap;
    }
    .contacts__map{
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0px;
    }
    .feedback{
        width: 100%;
    }
    .footer__top{
        flex-wrap: wrap;
    }
    .footer__top >div{
        flex-basis: 33%;
    }
    .footer__nav_wrapper{
        justify-content: space-around;
    }
    .footer__top .footer__information{
        width: 100%;
        flex-basis: auto;
        flex-grow: initial;
        margin-top: 20px;
    }
    .contact-top{
        display: flex;
        align-items: center;
    }
    .contact-top__wrapper{
        margin-right: 30px;
    }
    .main-prices__title{
        font-size: 26px;
    }
    .table__title{
        font-size: 24px;
    }
    .table tbody p{
        padding: 20px 0px;
        font-size: 16px;
    }
    .table tbody .table__header{
        font-size: 18px;
        padding: 20px 10px;
    }
    .table tbody .table__first-item{
        padding-left: 30px;
        padding-right: 10px;
    }
    .table__footer{
        padding: 20px 30px;
        font-size: 16px;
    }
    .mobile-menu{
        position: fixed;
        background: #fff;
        display: block;

        z-index: 3;
        opacity: 0;
        visibility: hidden;
        top: 0px;
        right: -310px;
        padding: 20px 50px 20px 30px;
        box-shadow: -1px -1px 10px rgb(45 153 210 / 10%), 3px 3px 10px rgb(45 153 210 / 10%);
        transition: all 0.5s ease ;
    }
    
    .navigation__link:hover::after{
        bottom: 0;
    }
    .navigation__item{
        margin-bottom: 20px;
    }
    .navigation__link{
        padding: 5px 10px;
    }
}

@media screen and (max-width:880px){
    .title {
        font-size: 31px;
    }
    .hero{
        background: url(../img/hero-bg-mobile.png) no-repeat center bottom;
        background-size: auto 410px;
        align-items: flex-start;
        padding-top: 60px;
        max-height: 450px;
    }
    .hero__title{
        margin-top: 0px;
        text-align: center;
        width: 100%;
    }
    .hero__desc{
        width: 100%;
    }
    .hero__content{
        display: flex;
        flex-wrap: wrap;
    }
    .hero__content .button{
        margin: 0 auto;
    }
    .features__wrapper{
        padding: 60px 0px;
    }
    .features-content__desc{
        font-size: 15px;
    }
    .tasks__title{
        margin-bottom: 50px;
    }
    .tasks__list{
        gap: 30px;
    }
    .task__title{
        font-size: 18px;
    }
    .task::before{
        width: 36px;
        height: 36px;
    }
    .tasks__wrapper{
        padding: 60px 0px;
    }
    .services__wrapper{
        padding: 60px 0px;
    }
    .services__title{
        margin-bottom: 40px;
    }
    .service__img img{
        max-width: 130px;
    }
    .service{
        max-height: 160px;
    }
    .contacts__wrapper{
        padding: 60px 0px;
    }   
    .contacts__title{
        margin-bottom: 30px;
    }
    .footer__top >div{
        flex-basis: 50%;
    }
    .footer__nav_wrapper{
        margin-top: 20px;
    }
    .footer__top .footer__information{
        width: 50%;
    }
}

@media screen and (max-width:768px){
    .logo img{
        height: 45px;
    }
    .contact-top__phone{
        font-size: 18px;
    }
    .contact-top__email{
        font-size: 14px;
    }
    .hero__title{
        font-size: 30px;
        line-height: 37px;
    }
    .features-content{
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .features-content__title{
        text-align: center;
    }
    .feature{
        justify-content: flex-start;
    }
    .features__wrapper{
        padding: 60px 40px;
    }
    .tasks__list{
        grid-template-columns: 1fr;
    }
    .contacts__map{
        height: 430px;
    }
    .footer__top >div{
        flex-basis: 100%;
        margin-bottom: 30px;
    }
    .footer__nav_wrapper{
        justify-content: flex-start;
        margin-top: 0px;
    }
    .footer__header{
        font-size: 18px;
    }
    .footer__contacts_item {
        font-size: 18px;
        padding-left: 40px;
    }
    .footer__subheader{
        font-size: 18px;
    }
    .footer__information p{
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 15px;
    }
    .footer__top .footer__information{
        width: 100%;
    }
    .service__title{
        font-size: 18px;
        line-height: 20px;
        margin-bottom: 6px;
    }
    .service__desc{
        font-size: 14px;
    }
    .service__text{
        padding: 20px 20px 20px 15px;
    }
    .hero{
        max-height: 500px;
    }
    .intro__desc{
        font-size: 16px;
        margin-bottom: 10px;
    }
    .intro__wrapper{
        padding: 40px 0px 10px 0px;
    }
    .main-prices__wrapper{
        padding: 10px 0px 60px 0px;
    }
    .main-prices__title{
        margin-bottom: 25px;
    }
    .table__title{
        font-size: 22px;
        padding: 20px 10px;
    }
    .table tbody .table__header{
        padding: 10px;
        font-size: 14px;
    }
    .table tbody .table__first-item{
        padding: 10px;
    }
    .table tbody p{
        padding: 10px;
        font-size: 14px;
    }
    .table__footer{
        padding: 10px;
        font-size: 14px;
    }
    .prices-bottom{
        font-size: 16px;
        font-weight: 400;
    }
    .prices-bottom__desc a{
        font-size: 20px;
    }
    .success-form p{
        font-size: 16px;
        padding-bottom: 2px;
    }
    .success-form{
        padding: 20px 30px;
        width: 280px;
        left: calc(50% - 140px);
    }
}


@media screen and (max-width:480px){
    .container{
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        padding: 0px 20px;
        box-sizing: border-box;
    }
    .table__container{
        width: 100%;
        padding: 0px 10px;
    }
    .table__title {
        font-size: 20px;
    }
    .table tbody .table__header{
        font-size: 12px;
        padding: 10px 5px;
    }
    .table tbody p{
        font-size: 12px;
        padding: 10px 5px;
    }
    .table__footer {
        font-size: 12px;
        padding: 10px 5px;
    }
    .table__wrapper{
        margin-bottom: 30px;
    }
    .hero{
        max-height: initial;
        padding-top: 40px;
        height: auto;
        padding-bottom: 40px;
    }
    .hero__content .button{
        text-align: center;
        width: 100%;
    }
    .features__wrapper{
        padding: 40px 10px 80px 10px;
    }
    .title{
        font-size: 26px;
    }
    .tasks__wrapper{
        padding: 40px 0px 60px 0px;
    }
    .task__title{
        font-weight: 600;
    }
    .service__img img{
        max-width: 100px;
    }
    .service{
        max-height: 160px;
        align-items: center;
    }
    .contacts .container{
        padding: 0;
    }
    .contacts__map{
        margin: 0;
    }
    .feedback{
        background: transparent;
    }
    .contacts__feedback{
        padding: 40px 20px;
    }
    .feedback__title{
        text-align: center;
        margin-bottom: 20px;
    }
    .form__item input{
        padding: 15px 20px;
    }
    .contacts__wrapper{
        padding: 40px 0px 20px 0px;
    }
    .footer__top >div{
        margin-bottom: 50px;
    }
    .footer__adata{
        justify-content: center;
    }
    .logo img{
        height: 35px;
    }
    .contact-top__phone{
        font-size: 16px;
    }
    .contact-top__email{
        font-size: 12px;
    }
    .task::after{
        content: '';
        width: 36px;
        height: 36px;
        border-radius: 5px;
        background: #FFFFFF;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 2;
    }
    .task::before{
        z-index: 3;
    }
}
@media screen and (max-width:410px){
    .service__img img{
        display: none;
    }
    .service{
        min-height: 150px;
        max-height: initial;
    }
    .contact-top__wrapper{
        margin-right: 10px;
    }

}
@media screen and (max-width:380px){
    .logo img{
        height: 30px;
    }
    .contact-top__phone{
        font-size: 14px;
    }
    .hero__title{
        margin-bottom: 20px;
    }
    .features__wrapper{
        padding: 40px 0px;
    }
    
    .task::before{
        width: 25px;
        height: 25px;
        background-size: 16px;
    }
    .task::after{
        width: 25px;
        height: 25px;
    }
    .tasks__item {
        padding-left: 45px;
    }
}

@media screen and (max-width:350px){
    .table__wrapper{
        overflow: auto;
    }
}

@media screen and (max-width:340px){
    .container{
        padding: 0px 13px;
    }

}
