html{
    cursor: none;
    overflow-x: hidden;
}

body{
    background-color: #FFFFFF;
    overflow: hidden;
    margin: 0;
    font-family: "Montserrat-regular";
}

.container{
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1800px;
}

.circle {
    height: 24px;
    width: 24px;
    border-radius: 24px;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2147483647;
    transition: scale 0.3s;
}

.line {
    width: 100%;
    height: 15px;
    background: linear-gradient(90deg, #ff0040 0%, #139dff 100%);
}

.top-rotate-line{
    margin: 100px 0;
    transform: rotate(6deg);
}

.bottom-rotate-line {
    margin: 100px 0;
    transform: rotate(-6deg);
}

.rainbow-text{
    background: linear-gradient(to right,
                #FF0040 20%,
                #e000a8 30%,
                #0190cd 70%,
                #139DFF 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    background-size: 300% auto;
    animation: TextShine 3s ease-in-out infinite alternate;
}

.rainbow-block{
    background: linear-gradient(to right,
                #FF0040 20%,
                #e000a8 30%,
                #0190cd 70%,
                #139DFF 80%);
    background-size: 200% auto;
    animation: TextShine 3s ease-in-out infinite alternate;
}

.infinite-scroll{
    z-index: 3;
    margin: -250px 0 100px 0;
    /* margin-top: -400px; */
    display: flex;
    justify-content: center;
    background: linear-gradient(to right,
                #FF0040 20%,
                #e000a8 30%,
                #0190cd 70%,
                #139DFF 80%);
    background-size: 250% auto;
    animation: TextShine 3s ease-in-out infinite alternate;
    overflow: hidden;
}

.infinite-scroll h1{
    z-index: 4;
    font-family: "Gerhaus";
    letter-spacing: 5px;
    color: #fff;
    font-size: 48px;
    padding: 25px 6rem;
    white-space: nowrap;
    animation: move-rtl 3000ms linear infinite;
}

@keyframes move-rtl{
    0% {
        transform: translateX(0);
    }
    100%{
        transform: translateX(-100%);
    }
}

/* welcome */
.welcome{
    margin: 110px 0 120px 0;
    /* margin-bottom: 80px; */
    padding: 0px 30px;
    height: 1200px;
}

.welcome__container {position: relative;}

.welcome__container::before {
    content: "";
    position: absolute;
    z-index: 5;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    top: 800px;
    left: -420px;
    background: linear-gradient(#090909, #494949);
}

.welcome__title{
    text-align: center;
    font-family: "Gerhaus";
    font-weight: normal;
    font-size: clamp(30px, 16vw, 327px);
    background: linear-gradient(90deg, #292929 0%, #4e4e4e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.shine-rect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 150px;
    height: 100%;
    background: rgba(255, 255, 255, 0.518);
    /* background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 100%); */
    transform: skewX(-20deg);
    animation: shine-rect 4s infinite cubic-bezier(0.1, 0.7, 0.8, 0.3); 
}

@keyframes shine-rect {
    0% {
        left: -100%;
    }
    80% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}


.welcome__image {
    position: absolute;
    right: 0;
    top: 200px;
    transition: 0.3s;
    animation: welcomeImgAnimation 2s ease-in-out infinite alternate;
}

@keyframes welcomeImgAnimation{
    from{
        transform: translateY(0);
    }

    to{
        transform: translateY(20px) rotate(2deg);;
    }
}

.welcome__subtitle-container{
    margin-left: 70px;
    max-width: 820px;
    line-height: 60px;
}

.welcome__subtitle{
    font-size: 64px;
    font-family: "Montserrat-semiBold";
    letter-spacing: 10px;
    font-weight: normal;
    line-height: 1.2;
}

@keyframes TextShine {
    0% {background-position: 0% 50%;}
    50% {background-position: 80% 40%;}
    100% {background-position: 0% 50%;}
}

.welcome__quote{
    background: linear-gradient(116deg, #1b1b1b 0%, #848484 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 32px;
}


/* services */
.services{
    z-index: 1;
    position: relative;
    margin-bottom: 140px;
    padding: 0px 30px;
}

.services__container{position: relative;}

.services__container::before{
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: -350px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(#090909, #494949);
}

.services__description{
    margin-bottom: 90px;
    text-align: center;
}

.title-text{
    font-size: 112px;
    font-family: "Montserrat-bold";
    color: #292929;
}

.services__quote{
    margin: 30px auto;
    max-width: 1200px;
    color: #545454;
    letter-spacing: 3px;
    font-size: 36px;
}


.services__cards{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}


.services__card-item{
    display: block;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 35px;
    width: 570px;
    height: 360px;
    border-radius: 5px;
    background: linear-gradient(136deg, #0d0d0d 0%, #263e59 100%);
    transition: 0.5s;
}

.services__card-item::before {
    content: "";
    position: absolute;
    z-index: -10;
    bottom: 0;
    left: 0;
    border-radius: 0px 0 5px 5px;
    width: 100%;
    height: 0px;
    background: linear-gradient(to right,
                #FF0040 20%,
                #e000a8 30%,
                #0190cd 70%,
                #139DFF 80%);
    background-size: 180% auto;
    animation: TextShine 3s ease-in-out infinite alternate;
    transition: 0.6s;
}

.services__card-item:hover::before{
    height: 3%;
}

.services__card-item:hover{
    transform: scale(1.03) !important;
}

.services__card-item img{transition: .5s;}

.services__card-item:hover img{
    transform: scale(1.1) rotate(3deg);
}

.services__sites-card{z-index: 10;}

.services__montage-card{z-index: 9;}

.services__design-card-description{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services__design-card-title{
    color: #fff;
    text-align: start;
    font-size: 33px;
    font-family: "Montserrat-bold";
}


.services__btn-link{
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 70px;
    border-image: linear-gradient(to right, #F70546 0%, #139DFF 100%) 1;
    border-width: 4px;
    color: #292929;
    font-size: 25px;
    border-style: solid;
    transition: 0.3s;
}

.services__btn-link:hover{
    color: #fff;
    background: linear-gradient(to right, #F70546 0%, #139DFF 100%);
}


/* projectspage */
.projectspage {
    padding: 150px 30px;
    text-align: center;
    background-color: #060606;
}

.projectspage__container{max-width: 1900px;}

.projectspage__title {
    margin-bottom: 30px;
    font-family: "Montserrat-SemiBold";
    font-size: 96px;
    letter-spacing: 5px;
    color: #fff
}

.projectspage__title .underline{font-style: normal;}

.projectspage__subtitle {
    margin: 0 auto;
    max-width: 1200px;
    font-family: "Montserrat-medium";
    font-size: 32px;
    color: #86868B;
}

.arrow {
    font-size: 76px;
    color: #86868B;
}


.projectspage__buttons {
    margin: 0 auto;
    max-width: 1700px;
    margin-top: 60px;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.projectspage__btn {
    font-size: 24px;
    color: #fff;
    background: #2e2e30;
    border: none;
    border-radius: 10px;
    padding: 18px 80px;
    transition: .3s;
}

.projectspage__btn.active {
    background: #606063;
}

.projectspage__btn.active:hover {
    background: #606063;
}

.projectspage__btn:hover {
    background: #212122;
}

.projectspage__cases {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.projectspage__case {
    content-visibility: auto;
    background: #060606;
    border-radius: 20px;
    max-width: 600px;
    max-height: 420px;
    width: 100%;

    display: block;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.projectspage__case.hidden {
    display: none !important;
    opacity: 0;
}

.projectspage__case-img {
    vertical-align: bottom;
    border-radius: 20px;
    transition: .3s;
}

.projectspage__case-img:hover {
    opacity: 0.5;
    transform: scale(1.1);
}

.prjectspage__btn{
    color: #fff;
}


.fancybox__container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 99999 !important;
}

.fancybox__backdrop {
    background: rgba(0, 0, 0, 0.8) !important;
}



/* advantages */
.advantages{
    position: relative;
    z-index: 10;
    padding-bottom: 100px;
    background-color: #050505;
}

.advantages::before{
    content: url("../images/conceptix_psevdoEl.png");
    position: absolute;
    z-index: -10;
    top: 800px;
    opacity: 0.01;
}

.advantages__container{padding: 0 30px;}

.advantages__description{
    position: relative;
    padding: 140px 0;
    text-align: center;
}

.advantages__description::before{
    content: "";
    position: absolute;
    top: 50px;
    right: -600px;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: linear-gradient(152deg, #ff0033 0%, #1356ff 100%);
    filter: blur(100px);
}

.advantages__title{
    font-size: 112px;
    font-family: "Montserrat-bold";
    background: linear-gradient(128deg, #FFFFFF, #8f8f8f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.advantages__title span{
    font-family: "Gerhaus";
    letter-spacing: 5px;
}

.advantages__quote{
    font-size: 36px;
    color: #d6d6d6;
}


.advantage-block{
    position: relative;
    display: flex;
    gap: 60px;
    max-width: 1210px;
    padding: 30px;
}

.advantage-count{
    font-size: 128px;
    letter-spacing: 0.03em;
    color: #fff;
    opacity: 0.5;
}

.advantage-title{
    font-family: "Montserrat-bold";
    font-size: 52px;
    letter-spacing: 0.03em;
    color: #fff;
}

.advantage-subtitle{
    font-size: 28px;
    letter-spacing: 0.03em;
    color: #bdbdbd;
}

.advantages__experience-advantage .advantages__container{
    display: flex;
    justify-content: end;
}


.advantages__more-advantages{
    margin-top: 200px;
}

.advantages__more-advantages .advantages__container{
    position: relative;
    height: 750px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.advantages__more-advantages .advantages__container::before{
    content: url("../images/arrow.svg");
    position: absolute;
    top: -200px;
    right: -290px;
}

.advantage-block-first{
    position: relative;
    z-index: 10;
    align-self: flex-start;
}

.advantage-block-first::before{
    content: url("../images/conceptix_psevdoEl.png");
    position: absolute;
    z-index: -10;
    top: 0px;
    right: -400px;
    opacity: 0.01;
}

.advantage-block-last{
    align-self: flex-end;
}

.advantages__more-advantages .advantage-block{
    max-width: 800px;
    text-align: center;
    flex-direction: column-reverse;
}



/* cta */
.cta{padding: 160px 30px;}

.cta__container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta__title {
    margin-bottom: 40px;
    max-width: 1260px;
    font-family: "Montserrat-bold";
}

.cta__title .underline {font-style: normal;}

.cta__subtitle {
    position: relative;
    margin-bottom: 100px;
    color: #545454;
    letter-spacing: 1px;
    font-size: 36px;
}

.cta__subtitle::before {
    content: url("../images/arrow.svg");
    position: absolute;
    transform: rotate(70deg);
    top: 210px;
    left: 550px;
}

.cta__button{
    margin-bottom: 180px;
    font-size: 32px;
    width: 330px;
    height: 100px;
}


/* lazy */
.lazy-img {
    filter: blur(20px);
    transition: filter 0.3s ease;
}

.lazy-img:not([data-src]) {
    filter: blur(0);
}


/* media requires */
@media (hover: none) {
    .circle {
        display: none !important;
    }

    html {
        cursor: auto !important;
    }
}

@media screen and (max-width: 1850px) {
    /* services */
    .services__cards {
        gap: 50px;
        justify-content: space-evenly;
    }
}

@media screen and (max-width: 1650px) {
    /* welcome */
    .welcome{height: 1600px;}

    .welcome__container{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px
    }

    .welcome__subtitle-container{
        margin-left: 0;
        text-align: center;
        max-width: 100%;
    }

    .welcome__image {position: unset;}

    .welcome__subtitle{font-weight: bold;}


    /* advantages */
    .advantages__more-advantages .advantages__container::before{
        content: none;
    }
}

@media screen and (max-width: 1350px) {
    /* projectspage */
    .projectspage__case {
        max-width: 70%;
        max-height: 100%;
    }

    .projectspage__case-img {
        width: 100%;
        height: auto;
    }

    /* services */
    .services__container::before {content: none;}

}


@media screen and (max-width: 1050px){
    /* advantages */
    .advantage-block {
        display: flex;
        flex-direction: column-reverse;
    }

    .advantage-block{
        text-align: center;
        width: 100%;
    }

    .advantages__more-advantages .advantages__container {
        flex-wrap: wrap;
        height: auto;
    }

    .advantages__more-advantages .advantage-block {max-width: 100%;  }

    .advantages__title{font-size: 10vw;}

    .advantages::before{content: none;}
    .advantage-block-first::before{content: none;}

    /* welcome */
    .shine-rect{width: 80px;}
    .welcome__container::before {
        content: none;
    }

    /* footer */
    .footer__container {
        justify-content: center;
    }
    .footer__info{
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 900px) {
    /* projectspage */
    .projectspage__case {
        max-width: 100%;
    }

    .projectspage__buttons {
        gap: 15px;
        justify-content: flex-start
    }

    .projectspage__btn {
        padding: 15px 60px;
    }
}

@media screen and (max-width: 750px){
    /* welcome */
    .welcome{margin-top: 150px;}

    .infinite-scroll{
        margin: -380px 0 100px 0;
    }

    /* cta */
    .cta__title{
        font-size: 80px;
    }
    .cta__button{
        width: 280px;
        height: 90px;
    }
    .cta__subtitle::before{
        content: none;
    }
    /* services */
    .services__card-item{
        height: auto;
        flex-direction: column-reverse;
        align-items: center;
    }
    .services__design-card-title{
        font-size: 45px;
        margin-bottom: 30px;
        text-align: center;
    }
    .services__design-card-description{
        align-items: center;
    }
    .services__design-card-img{
        margin-bottom: 20px;
        
    }

   /* projectspage */
   .projectspage__title {
       font-size: 76px;
   }

   .projectspage__subtitle {
       max-width: 650px;
       font-size: 25px;
   }

   .projectspage__btn {
       font-size: 20px;
       padding: 15px 50px;
   }
    
}

@media screen and (max-width: 650px){
    .infinite-scroll{
        margin: -500px 0 100px 0;
    }
}

@media screen and (max-width: 600px) {
    /* welcome */
    .welcome{margin-bottom: 50px;}
    .shine-rect {
        width: 30px;
    }

    /* projects */
    .projects__title {
        font-size: 90px;
    }

    /* advantages */
    .advantages__quote{font-size: 25px;}

    .advantage-title{font-size: 35px;}
    .advantage-subtitle{font-size: 28px;}
    .advantage-count{font-size: 90px;}
    .advantage-block{
        padding: 25px;
        gap: 20px;
    }

    /* cta */
    .cta__title {
        font-size: 65px;
    }

    /* projects */
    .projects::before{content: none;}
}

@media screen and (max-width: 550px) {

    /* projectspage */
    .projectspage {
        margin-top: 60px;
    }

    .projectspage__title {
        font-size: 60px;
    }

    .projectspage__subtitle {
        max-width: 650px;
        font-size: 22px;
    }

    .projectspage__buttons {
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .projectspage__btn {
        font-size: 20px;
        padding: 15px 50px;
    }
}

@media screen and (max-width: 500px) {
    /* welcome */
    .welcome {max-height: 1000px; margin-top: 120px;}
    .welcome__subtitle{
        font-family: "Montserrat-medium";
        letter-spacing: 5px;
        font-size: 55px;
    }

    .welcome__quote{
        margin: 20px 0;
        line-height: normal;
        font-size: 28px;
    }

    .welcome {
        margin-bottom: 0px;
    }

    .infinite-scroll{display: none;}


    /* services */
    .title-text{font-size: 80px;}
    .services__quote{font-size: 28px;}

    /* projects */
    .projects__more-examples{font-size: 33px;}

    /* advantages */
    .advantages__description{
        padding: 80px 0;
    }

    .top-rotate-line{
        margin: 60px 0;
    }
    
    .bottom-rotate-line {
        margin: 60px 0;
    }
    
    .advantage-title{font-size: 28px;}
    .advantage-subtitle{font-size: 22px;}
    .advantage-count{font-size: 70px;}
    .advantage-block{
        padding: 20px;
        gap: 30px;
    }

    /* cta */
    .cta{padding: 120px 30px 0px 30px;}

    .cta__title {
        font-size: 62px;
    }
    .cta__subtitle{
        margin-bottom: 70px;
        font-size: 28px;
    }
    .cta__button {
        font-size: 28px;
        width: 250px;
        height: 80px;
    }
}

@media screen and (max-width: 460px) {
    /* projectspage */
    .projectspage__buttons {
        gap: 10px;
    }

    .projectspage__btn {
        font-size: 20px;
        padding: 12px 40px;
    }
}

@media screen and (max-width: 430px){
    /* welcome */
    .welcome{max-height: 850px;}
    .welcome__subtitle{font-size: 45px;}
    .welcome__quote{font-size: 23px;}

    /* services */
    .title-text{font-size: 62px;}

    .services__design-card-title{
        font-size: 33px;
    }
    
    .services__quote{font-size: 23px;}

    .services__design-card-img{
        width: 230px;
    }

    .services__btn-link{
        font-size: 23px;
    }

    /* projects */
    .projects__title {font-size: 62px;}
    .projects__examples{font-size: 28px;}
    .projectspage{padding: 110px 30px;}
    
    /* advantages */
    .advantages__quote {
        font-size: 24px;
    }
    .advantages__more-advantages{
        margin-top: 60px;
    }
    .line{
        height: 12px;
    }

    /* cta */
    .cta__title {
        font-size: 52px;
    }

}

@media screen and (max-width: 410px) {
    /* projectspage */
    .projectspage__title {
        font-size: 48px;
    }

    .projectspage__subtitle {
        font-size: 18px;
    }

    .projectspage__buttons {
        gap: 10px;
    }

    .projectspage__btn {
        font-size: 18px;
        padding: 11px 32px;
    }
}