header{
  margin-bottom: 0;
}

.text-title,
.text-description,
.choose-left-link,
.choose-right-link{
    color: #373737;
}

.content-services-page,
.content-design-page{
    position: relative;
}

.background-services-page,
.background-design-page{
    position: absolute;
    width: 100%;
    height: 100%;
}



.header-animation,
.header-design{
    overflow: hidden;
    min-height: 400px;
}

.header-animation img,
.header-design img{
    width: 100%;
    margin-top: 111px;
    height: inherit;
    max-width: 1200px;
    float: right;
    margin-bottom: 70px;
}

.text-title_services,
.text-title_design{
    font-family: 'TT Commons Bold';
    font-style: normal;
    font-weight: bold;
    font-size: 70px;
    line-height: 95px;
    letter-spacing: 0.02em;
    color: #FFFFFF;

}

.box-text-animation,
.box-text-design{
    position: absolute;
    left: 143px;
    top: 60px;
    bottom: 0;
    margin: auto;
    max-width: 484px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}



.text-description_services,
.text-description_design{
    font-family: 'TT Commons Bold';
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 33px;
    letter-spacing: 0.02em;
    color: #FFFFFF;
}

.header-services,
.header-design{
    position: relative;
}

.header-social{
    margin-bottom: 0;
}

.box-social-header-da {
    top: auto;
    bottom: 41px;
    z-index: 0;
}

.box-scroll-button{
    position: absolute;
    width: 200px;
    left: 0;
    right: 0;
    bottom: 28px;
    margin: auto;
    height: 60px;
}

.text-scroll-button{
    font-family: Open Sans;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 19px;
    text-align: center;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    margin-bottom: 0;
}

.gif-services-box,
.gif-design-box{
    position: relative;
}

.gif-services-center,
.gif-design-center{
    font-family: Open Sans;
    font-style: normal;
    font-weight: bold;
    font-size: 42px;
    line-height: 57px;
    text-align: center;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    margin: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    margin: auto;
    height: fit-content;
    height:-moz-fit-content;
    max-width: 400px;
}

.img-service-gif,
.img-design-gif{
    width: 100%;
}

.text-title{
    font-size: 50px;
    line-height: 57px;
    margin-top: 175px;
    margin-bottom: 170px;
}

.text-description{
    max-width: 240px;
}

.text-right{
    float: right;
}

.button-box{
    margin: auto;
}

.button-box .text-description{
    margin: auto;
    white-space: nowrap;
    margin-bottom: 20px;
    max-width: 360px;
}

.box-img{
    width: 100%;
    height: 514px;
    border-radius: 15px;
    background: rgba(69, 135, 233, 0.9);
    margin-top: 13px;
    margin-bottom: 170px;
    overflow: hidden;
}

/*.box-img:after{*/
/*    content: '';*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: rgba(69, 135, 233, 0.9);*/
/*    left: 0;*/
/*    top:0;*/

/*}*/

.container-ainimation-img,
.container-design-img{
    overflow: hidden;
}

.img_item{
    width: 100%;
    height: 100%;
}

.box-img-step1 img,
.box-img-step2 img,
.box-img-step3 img,
.box-img-step4 img{
    -webkit-transition:opacity 0.3s ease-out;
    -o-transition:opacity 0.3s ease-out;
    -moz-transition:opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
    -webkit-backface-visibility: hidden;
}

.box-img-step1 img:hover,
.box-img-step2 img:hover,
.box-img-step3 img:hover,
.box-img-step4 img:hover{
    opacity: 0.7;
}

.choose-left-link:before{
    top: 0px;
    transform: rotate(180deg);
}

.choose-right-link:after{
    top: 5px;
}
.choose-right-link:after,
.choose-left-link:before{
    transition: all 0.5s ease-out;
}
.choose-right-link:hover:after {
    right: -24px;
}

.choose-left-link:hover:before{
    left: -29px;
}


.show-desc{
    display: block;
}

.show-tab{
    display: none;
}

.scroll-button{
    display: block;
    margin: auto;
    width: 57px;
    height: 45px;
    background-size: contain;
    background: url("../img/scroll-button-da.svg");
    background-position: center;
    background-repeat: no-repeat;
}

.scroll-link{
    margin-top: 10px;
}



.design .choose-left-link:before, .design .choose-right-link:after {
    background: url(../img/orange-triagle.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media screen and (min-width: 1921px){
    .box-text-animation,
    .box-text-design{
        left: calc(143px + (100vw - 1920px)/2);
    }

    .box-social-header{
        right: calc(100px + (100vw - 1920px)/2);
    }

    .header-design img {
        margin-right: calc((100vw - 1920px)/2);
    }

    .header-animation img {
        margin-right: calc((100vw - 1920px)/2);
    }

}

@media screen and (max-width: 1919px){
    .box-text-animation,
    .box-text-design{
        left: calc(40px + (100vw - 1200px)/5);
    }

    .header-animation img,
    .header-design img
    {
        width: calc(1150px - (1920px - 100vw)/2);
    }
}

@media screen and (max-width: 1440px){
    .text-description_services,
    .text-description_design{
        max-width: 380px;
    }
}

@media screen and (max-width: 1199px){
    .text-description_services{
        max-width: 360px;
    }

    .box-text-animation,
    .box-text-design{
        left: 40px;
        max-width: 396px;
    }

    .text-description_services{
        font-size: 20px;
    }

    .header-animation img,
    .header-design img{
        width: calc(730px - (1200px - 100vw)/2);
        margin-bottom: 70px;
    }
}

@media screen and (max-width: 991px){
    .box-img{
        height: 400px;
        margin-top: 60px;
        margin-bottom: 32px;
    }
    .box-img-step1{
        margin-top: 0px;
    }
    .img_item{
        object-fit: cover;
        border-radius: 15px;
    }

    .gif-design-center,
    .gif-services-center{
        max-width: 100%;
        height: 601px;
        position: static;
        margin-top: 60px;
        line-height: 601px;
    }

    .img-service-gif,
    .img-design-gif{
        height: 100%;
    }

    .box-text-animation,
    .box-text-design{
        position: static;
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .header-animation{
        min-height: auto;
    }

    .header-animation img{
        display: none;
    }

    .box-text-animation-row,
    .box-text-design-row{
        margin:auto;
    }

    .animation-tablet-header{
        height: 489px;
        background: url(../img/animation_page_tablet_and_mobile.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center bottom;
        margin-top:110px;
    }

    .text-description_services{
        max-width: 100%;
    }

    .text-title_design,
    .text-title_services{
        font-size: 56px;
        line-height: 106.5%;
        text-align: center;
        letter-spacing: 0.02em;
        margin-left: 0px;
        margin-top: 0px;
    }


    .text-description_design,
    .text-description_services{
        font-family: 'TT Commons Bold';
        font-weight: bold;
        font-style: normal;
        max-width: 690px;
        font-size: 24px;
        line-height: 33px;
        text-align: center;
        letter-spacing: 0.02em;
        margin: auto;
        margin-top:24px;
        margin-bottom: 220px;
    }

    .text-title{
        margin-top: 72px;
        margin-bottom: 24px;
        font-size: 44px;
        line-height: 106.5%;
        text-align: center;
        letter-spacing: 0.02em;
    }

    .box-social-header-da{
        bottom: 140px;
    }

    .box-social-header-da .header-social{
        padding-left: 0;
    }
    .text-description{
        max-width: 100%;
        font-size: 24px;
        line-height: 28px;
    }


    .text-description.text-right{
        float: none;
        text-align: left !important;
        padding-top: 0;
    }
    .text-description.text-left{
        padding-top: 0;
    }
    .choose-right-link{
        float: left;
        margin-bottom: 20px;
    }

    .choose-left-link:before{
        right: -35px;
        left: auto !important;
        transform: rotate(0deg);
        top: 1px;
    }
    .choose-left-link:hover:before {
        right: -24px;
    }
    .button-box{
        margin-top: 67px;
    }

    .button-box .text-description{
        margin-bottom: 36px;
    }

    .header-design img{
        width: 100%;
        margin-bottom: 0;
    }

    .show-desc{
        display: none;
    }

    .show-tab{
        display: block;
    }

}

@media screen and (max-width: 767px){
    .button-box .text-description{
        white-space:unset;
    }

    .text-description_design,
    .text-description_services{
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 0;
        width: 100%;
    }

    .box-social-header-da{
        left: 0;
        right: 0;
        margin:auto;
    }

    .box-social-header-da .header-social-item:last-child{
        margin-right: 12px;
    }

    .animation-tablet-header{
        height: 389px;
    }
}

@media screen and (max-width: 575px){
    .gif-design-center,
    .gif-services-center{
        height: 250px;
        line-height: 250px;
    }
    .box-img{
        height: 340px;
    }
    .text-title_design,
    .text-title_services{
        font-size: 48px;
    }

    .text-description_design,
    .text-description_services{
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 170px;
        margin-top: 16px;
    }

    .box-social-header-da {
        bottom: 115px;
    }


    .scroll-button{
        display: block;
        margin: auto;
        width: 57px;
        height: 45px;
        background-size: contain;
        background: url("../img/scroll-button-da.svg");
        background-position: center;
        background-repeat: no-repeat;
    }


    .text-title{
        font-size: 28px;
        line-height: 106.5%;
        letter-spacing: 0.02em;
    }
    .text-description{
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0.02em;
        color: #373737;
        margin-bottom: 0;
    }
    .button-box .text-description{
        margin-bottom: 24px;
    }
    .choose-right-link,
    .choose-left-link{
        font-size: 14px;
        line-height: 20px;
    }
    .choose-left-link:before,
    .choose-right-link:after{
        width: 14px;
        height: 14px;
        top: 2px;
        right: -15px;
    }

    .choose-left-link:before{
        top: -1px;
    }

    .button-box {
        margin-top: 40px;
    }

    .animation-tablet-header{
        margin-top: 75px;
        background-position: center;
    }
    .header-design img{
        margin-top: 60px;
    }
    .box-text-design{
        margin-top: -50px;
    }
    .animation-tablet-header{
        background-size: 110%;
    }

    .header-design{
        max-width: 420px;
        margin: auto;
    }

    .text-scroll-button {
        display: none;
    }

}

@media screen and (max-width: 475px){
    .box-img{
        height: 240px;
    }

    .animation-tablet-header{
        height: 206px;
    }

    .header-design{
        max-width: 100%;
        margin: auto;
    }

    .header-design img{
        margin-top: 50px;
        height: 389px;
        object-fit: contain;
        width: 100%;
    }

    .animation-tablet-header {
        background-size: cover;
    }

    .text-scroll-button{
        display: none;
    }

    .box-scroll-button{
        bottom: 0;
    }

    .box-social-header-da {
        bottom: 85px;
    }

}


