.how-work {
  background-color: #141517;

      margin-top: -100px;
    z-index: 3;
    position: relative;
}


.container-white{
        background-color: #fafaff;
}

@media screen and (max-width: 95rem) and (min-width: 42.0625rem) {
    .container-white{
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

@media screen and (max-width: 42rem) {
    .container-white{
        padding-left:  0.625rem ;
        padding-right:  0.625rem ;
    }
}

@media screen and (min-width: 57.5625rem) {
    .how-work {
        border-top-left-radius: 4.375rem;
        border-top-right-radius: 4.375rem;
    }
}

@media screen and (max-width: 57.5rem) and (min-width: 42.0625rem) {
    .how-work {
        border-top-left-radius: 3.125rem;
        border-top-right-radius: 3.125rem;
    }
}

@media screen and (max-width: 42rem) {
    .how-work {
        border-top-left-radius: 1.25rem;
        border-top-right-radius: 1.25rem;
    }
}


@media screen and (min-width:1081px) {
    .how-work {
        padding-top: 100px;
        padding-bottom: 180px;
    }
}
@media screen and (max-width:1080px) and (min-width:641px) {
    .how-work {
        padding-top: 75px;
        padding-bottom: 150px;
    }
}
@media screen and (max-width:640px) {
    .how-work {
        padding-top: 30px;
        padding-bottom: 135px;
    }
}

@media screen and (max-width: 95rem) and (min-width: 42.0625rem) {
  .how-work {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media screen and (max-width: 42rem) {
  .how-work {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
  }
}

.how-work__inside {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.how-work__inside__items {
  display: grid;
}

@media screen and (min-width: 1081px) {
  .how-work__inside__items {
    grid-template-columns: 1fr 1fr;
    row-gap: 50px;
  }
}
@media screen and (max-width: 1080px) {
  .how-work__inside__items {
    grid-template-columns: 1fr;
  }
}

.how-work__inside__item:nth-child(odd) {
  position: relative;
}
.how-work__inside__item:nth-child(even) {
  position: relative;
}

@media screen and (min-width: 1081px) {
  .how-work__inside__item:nth-child(odd):not(:nth-child(5)) {
    padding-bottom: 50px;
  }
  .how-work__inside__item:nth-child(even) {
    padding-left: 50px;
    
  }
.how-work__inside__item:nth-child(even):not(:last-child) {
padding-bottom: 50px;
}
}
@media screen and (max-width: 1080px) {
  .how-work__inside__items {
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width: 1081px) {
  .how-work__inside__item:nth-child(1)::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #ffffff1a;
    bottom: 0;
    left: 0;
  }
  .how-work__inside__item:nth-child(3)::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #ffffff1a;
    bottom: 0;
    left: 0;
  }
  .how-work__inside__item:nth-child(2)::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 132px;
    background-color: #ffffff1a;
    top: 0;
    left: 0;
  }
  .how-work__inside__item:nth-child(2)::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 1px;
    background-color: #ffffff1a;
    bottom: 0;
    left: 0;
  }
  .how-work__inside__item:nth-child(4)::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 132px;
    background-color: #ffffff1a;
    top: 0;
    left: 0;
  }
  .how-work__inside__item:nth-child(4)::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 1px;
    background-color: #ffffff1a;
    bottom: 0;
    left: 0;
  }
  .how-work__inside__item:nth-child(6)::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 132px;
    background-color: #ffffff1a;
    top: 0;
    left: 0;
  }
}

.how-work__inside__item__title {
  background: linear-gradient(266.48deg, #ffffff 3.18%, #ff9741 98.8%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-family: 'TT Firs Neue', sans-serif;
  font-weight: 300;
  
  line-height: 100%;
}

@media screen and (min-width:1081px) {
    .how-work__inside__item__title {
        font-size: 40px;
    }
}

@media screen and (max-width:1080px) and (min-width:641px){
    .how-work__inside__item__title {
        font-size: 30px;
    }
}

@media screen and (max-width:640px) {
    .how-work__inside__item__title {
        font-size: 25px;
    }
}

.how-work__inside__item__subtitle {
  font-family: "Mulish", sans-serif;
  font-weight: 400;
  
  line-height: 110.00000000000001%;
  letter-spacing: 0%;
  color: #fff;
  
}

@media screen and (min-width:1081px) {
    .how-work__inside__item__subtitle {
        margin-top: 20px;
        font-size: 16px;
    }
}

@media screen and (max-width:1080px) {
    .how-work__inside__item__subtitle {
        margin-top: 10px;
        font-size: 16px;
    }

    .how-work__inside__item:not(:last-child) {
        padding-bottom: 20px;
        border-bottom: 1px solid #FFFFFF1A;
    }
    .how-work__inside__item:not(:first-child) {
        padding-top: 20px;
    }
    .how-work__inside__item{
        position: relative;
    }

    
}

@media screen and (max-width:640px) {
    .how-work__inside__item__subtitle {
        margin-top: 10px;
        font-size: 14px;
    }
}

@media screen and (min-width: 1281px) {
  .how-work__inside__item__subtitle {
    max-width: 567px;
  }
}

@media screen and (max-width: 1280px) and (min-width: 1081px) {
  .how-work__inside__item__subtitle {
    max-width: 450px;
  }
}

.how-work__inside__title {
  background: linear-gradient(266.48deg, #ffffff 3.18%, #7b7b7b 98.8%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  font-family: 'TT Firs Neue', sans-serif;
  font-weight: 300;
  font-size: 62px;
  line-height: 90%;
}
