
.service-container{
    color: white;
    padding-bottom: 15rem;
    max-width: 1728px;
    margin: 0 auto;
}
.project-card__text-box{
    max-width: 800px;
    gap: 25px;
}

.project-card__text-box > div > h2{
    line-height: 1.6rem;
}

.project-card__title,
.service-projects__title{
    gap: 2rem;
    margin-bottom: 2rem;
}



.project-card__text-box > div > h2.project_title{
    font-family: var(--font-next-art-800);
    margin: 2rem 0;
    font-size: 4rem;
    display: inline;
    line-height: 4rem;
}

.project_title.regular{
    font-family: var(--font-next-art);

}

.project_subtitle{
    font-family: var(--font-inter);
    font-size: 2rem;
    margin: 1rem 0;
    line-height: 2rem;
}

.project-description{
    font-family: var(--font-inter);
    font-weight: 300;
    line-height: 29px;
    font-size: 1.5rem;
    margin: 2rem 0;
}

.payment-systems__bottom .project-description{
    font-size: 1.1rem;
}

.extended-text{
    font-family: var(--font-inter);
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 30px;
    margin: 1rem 0;
    padding: 0 1rem;
}

.extended-text > h2{
    line-height: 1.6rem;
}

.service-container__consulting div.project-card__container p.extended-text{
    padding: 1rem;
}

.project-card__img{
    width: 40%;
    min-width: 200px;
    /*overflow: hidden;*/
}

.project-card__container{
    margin-bottom: 1rem;
}

/*div.project-card__container:not(:first-child){*/
/*    margin-top: 8rem;*/
/*}*/

.project-card__container{
    margin-top: 1rem;
}

.project-card__container ~ .project-card__container{
    margin-top: 8rem;
}


.project-card__content{
    min-height: 250px;
    gap: 3rem;
}
div:nth-child(even of .project-card__container) > div.project-card__content {
    flex-direction: row-reverse;
}

div:nth-child(even of .service-container__consulting > div.project-card__container)  > div.consulting-card__title{
    flex-direction: row-reverse;
}

.project-link{
    border: 0.5px solid #FFF;
    color: var(--green);
    max-width: fit-content;
    /*margin: 2rem auto;*/
    display: block;
    padding: 12px 60px;
    left: 50%;
    transform: translateX(-50%);
}

.project-link:hover{
    border: 3px solid #FFF;
    box-shadow: 2px 3px 5px 0px #FFF;
    color: rgba(126, 192, 137, 1);
}

.project-link__holder{
    margin: 4rem 0;
    min-height: 42px;
}

.time-price{
    gap: 3rem;
    margin: 2rem 0;
}

.time-price__bar{
    border: 2px solid #FFF;
    min-width: 250px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.time-price__bar-accent-holder{
    width: 100%;
    height: 100%;
    padding: 5px;
}
.time-price__bar-accent{
    padding: 5px;
    width: 15%;
    height: 100%;
    left: 5px;
    background-color: var(--green);
    z-index: -1;
    transition: width 1s ease-in-out;
}

.time-price__text{
    font-size: 2rem;
}

.time-price__bar-text{
    z-index: 10;
    text-transform: uppercase;
}

.time-price__bar-text.plain{
    font-size: 3rem;
    font-style: normal;
    font-weight: 700;
    line-height: 30.881px; /* 61.762% */
}

.time-price__bar-text.accent{
    color: var(--green);
    font-size: 2rem;
}

.currency__round{
    width: 45px;
    height: 46px;
    border: .9px solid white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: auto;
}

.currency__round:hover{
    color: var(--green);
    border: 1.2px solid var(--green);
}
.price-field{
    color: var(--green);
}

.time-price__group{
    font-family: var(--font-next-art-700);
    gap: 20px;
    min-height: 46px;
}

.currency__active{
    border: 1.2px solid var(--green);
    color: var(--green);
}

.media-link{
    width: 235px;
    height: 65px;
    margin: 0 1rem;
}

.title-deco__accent{
    width: 30px;
    /*height: 30px;*/
    aspect-ratio: 1;
    background-color: var(--green);
}

.title-deco__accent-small{
    height: 10px;
    width: 10px;
}

.title-deco__bar{
    height: 30px;
    flex-grow: 1;
    background-color: white;
}

.title-deco__bar-small{
    height: 10px;
    max-width: 20%;
}

.service-background{
    width: 100%;
    max-height: 400px;
    overflow: hidden;
}

.service-background.accent{
    position: relative;
    z-index: -1;
    width: 100%;
}

.service-background img{
    width: 100%;
    min-height: 170px;
}

.service-title{
    color: white;
    text-transform: uppercase;
}

.service-title__w-bg{
    color: #FFF;
    font-family: var(--font-next-art);
    font-size: 6rem;
    /*font-style: normal;*/
    font-weight: 600;
    /*line-height: normal;*/
    /*display: inline-block;*/
    display: inline;
    line-height: 4rem;
}

.service-title__fixed{
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    transition: font-size 500ms ease-in-out;
}

.deco-line{
    width: 100%;
    margin-top: .7rem;
    background-color: rgba(217, 217, 217, 1);
}

.deco-line__2{
    height: 2px;
}

.deco-line__4{
    height: 4px;
}

.deco-line__5{
    height: 5px;
}

.loop-holder__services{
    background-color: rgba(255, 86, 86, 0.35);
    padding: 2rem 0;
    width: 100%;
    display: flex;
    gap: 20px;
}

.loop-holder__text-services{
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: white;
    text-transform: uppercase;
}

.loop-holder__text-services:after{
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    margin-left: 20px;
}

.movement-left{
    transition: margin-left 2000ms linear;
}

.rotated-frame__left{
    top: 0;
    transform:rotate(-31deg);
}

.rotated-frame__left > div.rotated-card:nth-child(1)
{
    margin-bottom: 13rem;
}

.rotated-frame__left > div.rotated-card:nth-child(2)
{
    margin-bottom: 8rem;
}

.rotated-frame__left > div.rotated-card:nth-child(4)
{
    margin-bottom: 11rem;
}

.rotated-card{
    transition: margin-bottom 300ms ease-in-out;

}



@keyframes textLoopServices {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

.company-title__services{
    color: rgba(255, 255, 255, 0.15);
    font-family: var(--font-next-art-700);
    font-size: 4rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-left: -3rem;
    transition: margin-left 1s ease-in-out;
}

.title-deco__line-right{
    width: 50px;
    height: 20px;
    /*margin-left: 2rem;*/
    margin-left: 15rem;
    background-color: white;
    transition: margin-left 1s ease-in-out;
}

.title-deco__line-left{
    width: 50px;
    height: 20px;
    /*margin-right: 2rem;*/
    margin-right: 15rem;
    background-color: white;
    transition: margin-right 1s ease-in-out;
}


.media-icons__services{
    max-width: 70%;
    margin: 3rem auto;
    margin-bottom: 2rem;
    padding: 2rem 1rem;
}

.page-title__services-container{
    margin: 2rem 0;
    padding: 0 20px;
}

.page-title__services{
    text-transform: uppercase;
    line-height: 6rem;
    font-size: 5rem;
    font-weight: 600;
    word-break: break-all;
}

.page-title__services-accent{
    color: var(--green);
}

.services-text__overlay{
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;

}

.services-text__overlay > div.left{
    padding-left: 2rem;
}

.services-text__overlay > div.self-end{
    padding-right: 2rem;
}

.services-text__overlay > div.right{
    padding-right: 2rem;
}

.page-mini-title{
    color: white;
}

.page-mini-title > p {
    text-transform: uppercase;
}

.service-title__container{
    overflow: hidden;
    max-width: 1728px;
    margin: 0 auto;
    color: white;
}

.consulting-card__title{
    width: 80%;
    gap: 4rem;
    margin-bottom: 1.5rem;
}

.consulting-card__title div.title-deco__bar{
    height: 20px;
}

.consulting-keywords{
    gap: 2rem;
    width: 100%;
    justify-content: space-around;
}

.consulting-keywords > div{
    display: flex;
    gap: .85rem;
    align-items: center;
}

.project-card__payment-title{
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.project-card__payment-title > div.title-deco__bar{
    height: 10px;
}

.service-projects__title > div.title-deco__bar{
    height: 20px;
}

.service-projects__title > div.title-deco__bar-small{
    height: 10px;
}

.project-card__container-payments p.extended-text{
    margin: 3rem 0;
}

.service-title__container-animated{
    overflow: hidden;
}
.service-title__container-animated .project_title{
    margin-left: -3rem;
    transition: margin-left 1s ease-in-out;
}

.service-title__container-animated .animated-bar{
    flex-grow: 1;
    display: flex;
    justify-content: end;
}

.service-title__container-animated .animated-bar > div.title-deco__bar{
    max-width: 50%;
    transition: max-width 1s ease-in-out;
}

.payment-systems__container{
    background: linear-gradient(216deg, rgba(81,121,56,.21) 43%, rgba(26,26,26,1) 86%);
    height: 25rem;
}



/*   MEDIA QUERIES   */
@media screen and (max-width: 500px) {
    .media-icons__container{
        gap: .5rem;
    }

    .media-icon__card{
        margin: 0;
    }
}

@media screen and (min-width: 501px) and (max-width: 1200px) {
    .media-icons__container{
        /*flex-direction: column;*/
        gap: 2.3rem;
    }
}


@media screen and (max-width: 580px) {
    .services-text__overlay .service-title__w-bg{
        font-size: 1.7rem;
    }
    .title-deco__line-right,
    .title-deco__line-left{
        height: 5px;
    }

    .deco-line{
        margin-top: .4rem;
    }
    .deco-line__2{
        height: .8px;
    }
    .deco-line__4{
        height: 2px;
    }
    .deco-line__5{
        height: 3px;
    }

    .project-card__payment-title > div.title-deco__bar{
        height: 5px;
    }

    .extended-text{
        font-weight: 400;
        line-height: 25px;
        text-align: justify;
    }
    .service-title__fixed{
        width: 100%;
        text-align: center;
        top: 5.5rem;
    }
    .media-link{
        width: 150px;
        margin: 0 0.5rem;
    }

    .project-link{
        padding: 9px 0;
        font-size: .7rem;
        min-width: 80%;
        max-width: 90%;
        text-align: center;
    }

    .payment-systems__container{
        height: 10rem;
    }

}

@media screen and (min-width: 581px) and (max-width: 750px) {
    .services-text__overlay .service-title__w-bg{
        font-size: 3rem;
    }
    .title-deco__line-right,
    .title-deco__line-left{
        height: 10px;
    }

    .media-link{
        width: 200px;
    }

    .payment-systems__container{
        height: 15rem;
    }
}

@media screen and (max-width: 750px) {

    /*.media-icon__card{*/
    /*    margin: 0 1rem;*/
    /*}*/
    .services-text__overlay div.mar-b__1_5{
        margin-bottom: 1rem !important;
    }

    .title-deco__line-right{
        margin-top: 1rem;
    }

    .title-deco__line-left{
        margin-bottom: 1rem;
    }

    .project-card__container-payments div.time-price,
    .service-container__games .time-price{
        flex-direction: column;
    }

    .project-card__container-payments > div:not(:first-child),
    .project-card__container-games > :not(:first-child)
    {
        padding: 0 1rem;
    }

    .media-icons__services{
        margin: 0 auto;
        max-width: 100%;
    }

    .time-price{
        gap: 1rem;
    }
    .time-price__text,
    .time-price__bar-text.accent,
    .time-price__bar-text.plain{
        font-size: 1.3rem;
    }

    .service-title__w-bg{
        line-height: 2.8rem;
    }

    .service-projects__title > div.title-deco__bar {
        height: 10px;
    }




    .page-title__services{
        font-size: 2rem;
        line-height: 3rem;
    }

    .consulting-card__title .project_title{
        margin-left: 20px;
        /*line-height: 20px;*/
    }

    .service-container__consulting .project-card__img{
        width: 100%;
    }
    .service-container__consulting .project-card__img img{
        width: 100%;
        height: auto;
    }
    .service-container__consulting .project-description{
        font-size: 1.1rem;
    }
    .consulting-keywords{
        padding: 20px;
        flex-wrap: wrap;
    }
    .consulting-card__title{
        gap: 2rem;
        width: 100%;
    }
    .consulting-card__title div.title-deco__bar{
        height: 10px;
        min-width: 100px;
    }

    .service-title__fixed{
        font-size: 1rem;
    }

    .project_title,
    .company-title__services{
        font-size: 2rem;
        line-height: 2rem;
    }

    .service-container__games .title-deco__accent,
    .service-container__apps .title-deco__accent{
        width: 10px;
        min-width: 10px;
        height: 10px;
    }

    .service-container__games .title-deco__bar,
    .service-container__apps .title-deco__bar{
        height: 10px;
        min-width: 20px;
    }

    .media-icon{
        width: 35px;
        height: 35px;
    }

    .project-card__title{
        flex-wrap: wrap-reverse;
    }

}

@media screen and (min-width: 1250px){
    .rotated-card img{
        max-width: 63%;
    }
}


@media screen and (min-width: 751px) and (max-width: 980px) {
    .services-text__overlay .service-title__w-bg{
        font-size: 4rem;
    }
}

@media screen and (min-width: 981px) and (max-width: 1200px) {
   .services-text__overlay .service-title__w-bg{
       font-size: 5rem;
   }

}

@media screen and (max-width: 1200px) {
    .service-container__consulting .project-card__content,
    .service-container__games .project-card__content,
    .service-container__apps .project-card__content{
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    div:nth-child(even of .project-card__container) > div.project-card__content{
        flex-direction: column;
    }

    .service-container__consulting .project-card__img,
    .service-container__games .project-card__img,
    .service-container__apps .project-card__img{
        width: 100%;
        min-width: 100%;
        display: flex;
        justify-content: center;
    }

    .service-container__games .project-card__img > img,
    .service-container__apps .project-card__img > img{
        max-width: 80%;
    }

    .service-container__consulting .project-card__text-box,
    .sservice-container__apps .project-card__text-box{
        max-width: 1000px;
    }

    .service-container__consulting .project-description,
    .service-container__games .project-description,
    .service-container__apps .project-description,
    .project-description{
        font-size: 1.1rem;
        line-height: 1.5rem;
        text-align: justify;
    }

    .service-container__consulting .media-icons__services{
        /*max-width: 80%;*/
    }

    div:nth-child(odd of .service-container__consulting > div.project-card__container) > div.consulting-card__title > h2.project_title{
        margin-right: 20px;
        margin-left: 0;
    }

    .project_subtitle{
        font-size: 1.7rem;
    }


    .set-height{
        min-height: 400px;
    }
    .rotated-frame__left{
        width: 300px;
    }

    .rotated-frame__left > div.rotated-card:nth-child(1){
        margin-bottom: 7rem;
    }

    .rotated-frame__left > div.rotated-card:nth-child(2){
        margin-bottom: 5rem;
    }

    .rotated-frame__left > div.rotated-card:nth-child(4){
        margin-bottom: 5rem;
    }

}

@media screen and (min-width: 1201px) and (max-width: 1500px){
    .project-card__container{
        padding: 1rem;
    }

    .project-card__text-box > div > h2.project_title{
        font-size: 2rem;
        line-height: 2rem;
    }
    .project-description{
        font-size: 1rem;
        line-height: 1.2rem;
    }
    .service-projects__title{
        padding: 0.3rem 0;
    }

    .title-deco__accent{
        width: 20px;
    }

    .title-deco__bar{
        height: 20px;
    }

    .project-card__title{
        padding-left: 1rem;
    }
}

@media screen and (min-width: 1201px) {
    .service-container__consulting .page-title__services-container{
        max-width: 1000px;
    }
}



@media screen and (min-width: 751px) and (max-width: 1200px) {
    .service-background img{
        min-height: 320px;
    }

}

@media screen and (min-width: 501px) and (max-width: 1501px) {
    .media-icon__card{
        margin: 0 1rem;
    }
}

@media screen and (max-width: 1501px) {
    .project_title{
        max-width: 500px;
        font-size: 1.5rem;
        line-height: 1.9rem;
    }

    .media-icon__card{
        gap: 14px;
    }

}

@media screen and (min-width: 1501px) {
    .project-card__payment-title > .project_title{
        font-size: 2.2rem;
        line-height: 2.4rem;
        max-width: 500px;
    }
}

@media screen and (max-width: 1728px) {
    .service-title__container-animated{
        margin-left: 2rem;
    }
    .service-container__games{
        padding: 0 1rem;
    }
    .payment-systems__bottom{
        padding: 0 1rem;
    }
}




