[class*=all-services-page-container] {
    max-width: 1400px;
    margin: 0px auto;
    padding: 0 20px;
}

.all-services-head-block{
    margin-top: 157px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.all-services-head-block-text{
    display: flex;
    flex-direction: column;
}

.all-services-head-block-text .col-1{
    display: flex;
    flex-direction: row;
}

.all-services-head-block a{
    text-decoration: none;
    color: #333333;
}

.all-services-head-block .color-text{
    color: #916BEF;
}

.all-services-head-block-img{
    position: relative;
    top: -19px;
    left: 126px;
}

.all-services-head-block-img img{
    width: 615px;
    height: 573px;
}

/* ///////////// */

.all-services-tab {
    font-family: 'Gilroy';
      display: inline-block;
      position: relative;
      top: -3px;
      z-index: 1;
      text-decoration: none;
      text-align: center;
      color: #333333;
      cursor: pointer;
  
    font-size: 18px;
}

.all-services-active{
    position: relative;
    top: -3px;
    border-radius: 15px;
    color: #FFFFFF;
    background: #916BEF;
    line-height: 60px;
}

.all-services-tabs{
    margin: 126px auto 0px;
}

.all-services-tab-labels{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.all-services-tab-labels a{
    text-decoration: none;
    flex-basis: 640px;
    margin-top: 0px;
}

.all-services-tab-labels label{
    margin-top: 0px;
}

.all-services-tab-labels label:before{
    display: none;
}

.all-services-tab:nth-child(1) {
	width: 151px;
}

.all-services-tab:nth-child(2) {
	width: 224px;
}

.all-services-tab:nth-child(3) {
	width: 220px;
}

.all-services-tab:nth-child(4) {
	width: 95px;
}

.all-services-tab:nth-child(5) {
	width: 100px;
}

.all-services-tab:nth-child(6) {
	width: 95px;
}

.all-services-tab:nth-child(7) {
	width: 269px;
}

.all-services-tab:nth-child(8) {
	width: 184px;
}

.all-services-tab:nth-child(1):hover~.animation {
	width: 151px;
	left: 0;
	background-color: #F6F6F6;
}

.all-services-tab:nth-child(2):hover~.animation {
	width: 224px;
	left: 151px;
	background-color: #F6F6F6;
}

.all-services-tab:nth-child(3):hover~.animation {
	width: 220px;
	left: 375px;
	background-color: #F6F6F6;
}

.all-services-tab:nth-child(4):hover~.animation {
	width: 95px;
	left: 595px;
	background-color: #F6F6F6;
}

.all-services-tab:nth-child(5):hover~.animation {
	width: 100px;
	left: 690px;
	background-color: #F6F6F6;
}

.all-services-tab:nth-child(6):hover~.animation {
	width: 95px;
	left: 790px;
	background-color: #F6F6F6;
}

.all-services-tab:nth-child(7):hover~.animation {
	width: 269px;
	left: 885px;
	background-color: #F6F6F6;
}

.all-services-tab:nth-child(8):hover~.animation {
	width: 184px;
	left: 1154px;
	background-color: #F6F6F6;
}

.all-services-page-articles-request-blocks{
    margin: 200px auto 200px;
    width: max-content;
}

.all-services-page-articles-request-blocks .request-block{
    margin-bottom: 200px;
}

.all-services-tab-labels label:hover{
    color: #916BEF;
}

@media(max-width: 1919px){
    [class*=all-services-page-container] {
        max-width: calc(1008px + (1400 - 1008) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }

    .all-services-head-block-img img{
        width: calc(438px + (615 - 438) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        height: calc(408px + (573 - 408) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }

    .all-services-head-block-img{
        top: calc(-14px + (-19 - -14) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        left: calc(89px + (126 - 89) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }

    .all-services-head-block{
        margin-top: calc(116px + (157 - 116) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }

    .all-services-active{
        border-radius: calc(11px + (15 - 11) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        line-height: calc(42px + (60 - 42) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }

    .all-services-tab{
        font-size: calc(13px + (18 - 13) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }

    .all-services-tab:nth-child(1) {
        width: calc(108px + (151 - 108) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }
    
    .all-services-tab:nth-child(2) {
        width: calc(159px + (224 - 159) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }
    
    .all-services-tab:nth-child(3) {
        width: calc(156px + (220 - 156) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }
    
    .all-services-tab:nth-child(4) {
        width: calc(67px + (95 - 67) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }
    
    .all-services-tab:nth-child(5) {
        width: calc(70px + (100 - 70) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }
    
    .all-services-tab:nth-child(6) {
        width: calc(67px + (95 - 67) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }
    
    .all-services-tab:nth-child(7) {
        width: calc(191px + (269 - 191) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }
    
    .all-services-tab:nth-child(8) {
        width: calc(130px + (184 - 130) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }
    
    .all-services-tab:nth-child(1):hover~.animation {
        width: calc(108px + (151 - 108) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        left: 0;
        background-color: #F6F6F6;
    }
    
    .all-services-tab:nth-child(2):hover~.animation {
        width: calc(159px + (224 - 159) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        left: calc(108px + (151 - 108) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        background-color: #F6F6F6;
    }
    
    .all-services-tab:nth-child(3):hover~.animation {
        width: calc(156px + (220 - 156) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        left: calc(267px + (375 - 267) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        background-color: #F6F6F6;
    }
    
    .all-services-tab:nth-child(4):hover~.animation {
        width: calc(67px + (95 - 67) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        left: calc(423px + (595 - 423) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        background-color: #F6F6F6;
    }
    
    .all-services-tab:nth-child(5):hover~.animation {
        width: calc(70px + (100 - 70) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        left: calc(490px + (690 - 490) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        background-color: #F6F6F6;
    }
    
    .all-services-tab:nth-child(6):hover~.animation {
        width: calc(67px + (95 - 67) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        left: calc(560px + (790 - 560) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        background-color: #F6F6F6;
    }
    
    .all-services-tab:nth-child(7):hover~.animation {
        width: calc(191px + (269 - 191) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        left: calc(627px + (885 - 427) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        background-color: #F6F6F6;
    }
    
    .all-services-tab:nth-child(8):hover~.animation {
        width: calc(130px + (184 - 130) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        left: calc(818px + (1154 - 818) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        background-color: #F6F6F6;
    }

    .all-services-tabs{
        margin: calc(88px + (126 - 88) * ( (100vw - 1366px) / ( 1920 - 1366) )) 
        auto 0px;
    }

    .all-services-tab-labels{
        margin-top: calc(29px + (40 - 29) * ( (100vw - 1366px) / ( 1920 - 1366) ));
        gap: calc(28px + (40 - 28) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }

    .all-services-tab-labels label{
        border-radius: calc(21px + (30 - 21) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }

    .all-services-tab-labels a{
        flex-basis: calc(455px + (640 - 455) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }

    .all-services-page-articles-request-blocks{
        margin: calc(142px + (200 - 142) * ( (100vw - 1366px) / ( 1920 - 1366) )) 
        auto calc(142px + (200 - 142) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }
    
    .all-services-page-articles-request-blocks .request-block{
        margin-bottom: calc(142px + (200 - 142) * ( (100vw - 1366px) / ( 1920 - 1366) ));
    }
}