.first-home-block {
  width: 100%;
  margin-top: 50px;
  padding: 0 20px;
}

.first-home-title {
  margin-bottom: 10px;
}
.first-home-title h1 {
  font-size: 3.3rem;
}

.first-home-postitle p {
  font-size: 0.9rem;
  line-height: 1.8rem;
}

.second-home-block {
  margin-top: 70px;
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.second-block-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  direction: rtl;
  -webkit-animation: textAnimate 40s linear infinite;
          animation: textAnimate 40s linear infinite;
}

.second-block-text {
  white-space: nowrap;
  -webkit-padding-end: 40px;
          padding-inline-end: 40px;
  font-size: 5rem;
  font-family: "impact" !important;
  color: #e9e9e9;
  text-align: right;
}

.span-margin-class {
  margin: 0 140px;
}

.third-home-block {
  width: 100%;
  overflow: hidden;
  margin-bottom: 60px;
}

.third-home-container {
  width: 100%;
  height: 100%;
}

.third-home-swiper {
  width: 100%;
  height: 50vh;
  overflow: hidden !important;
}

.swiper-slide-link {
  display: block;
  width: 100%;
  height: 100%;
}
.swiper-slide-link:hover img {
  -webkit-filter: brightness(0.7);
          filter: brightness(0.7);
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.swiper-slide-link img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  display: inline-block;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.project-title {
  position: absolute;
  text-transform: uppercase;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  text-align: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.3 ease-in-out;
  transition: 0.3 ease-in-out;
  text-decoration: none;
  color: #fff;
  z-index: 2;
}

.swiper-slide:hover .project-title {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 880px) {
  .first-home-block {
    margin-top: 20px;
    padding: 0 16px;
  }
  .first-home-title h1 {
    font-size: 1.8rem;
  }
  .second-home-block {
    margin-top: 40px;
  }
  .second-block-text {
    font-size: 2.8rem;
    -webkit-padding-end: 24px;
            padding-inline-end: 24px;
  }
  .span-margin-class {
    margin: 0 60px;
  }
  .third-home-block {
    margin-bottom: 40px;
  }
  .project-title {
    font-size: 0.9rem;
    opacity: 1;
    visibility: visible;
  }
}
@-webkit-keyframes textAnimate {
  from {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}
@keyframes textAnimate {
  from {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}