/*=============================
Project Two Css
===============================*/
.project-two {
  position: relative;
  display: block;
  padding: 70px 0px 80px;
  /*background: #eee;*/
  z-index: 1;
}

.project-two img,
.project-two .img {
  max-width: 100%;
  transition: all 0.3s ease-out 0s;
}

.project-two .container {
  overflow: hidden;
  max-width: 1200px;
  padding-left: 15px;
  padding-right: 15px;
}

.project-two .overlay-content {
  position: absolute;
  left: 0;
  bottom: 29px;
  right: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 800ms ease;
  z-index: 5;
}

.project-two .swiper-slide-active .overlay-content {
  opacity: 1;
  transform: translateY(0%);
  transition-delay: 500ms;
}

.project-two .swiper-slide img {
  border-radius: 20px;
  /*height: 450px;*/
  min-height: 450px;
  max-height: 450px;
  width: 100%;
  object-fit: cover;
}

.project-two .swiper-slide-active img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.project-two .overlay-content p {
  color: #fff;
}

.project-two .overlay-content h2 {
  font-size: 30px;
  line-height: 40px;
  font-weight: 700;
  text-transform: capitalize;
}

.project-two .overlay-content h2 a {
  color: #fff;
}

/*=============================
	one__shape animation
===============================*/

.animation__shape2 {
  position: absolute;
  left: 0px;
  bottom: 0px;
  right: 0px;
  background-position: center center;
  background-repeat: repeat-x;
  background-size: cover;
  min-height: 16px;
  animation: bgSlide 20s linear infinite;
  z-index: 1;
  filter: contrast(0);
}

@keyframes bgSlide {
  0% {
    background-position: 0 0;
  }

  20% {
    background-position: -100px 0;
  }

  40% {
    background-position: -200px 0;
  }

  60% {
    background-position: -150px 0;
  }

  80% {
    background-position: -100px 0;
  }

  100% {
    background-position: 0px 0;
  }
}

@media(max-width:768px) {
  .project-two .overlay-content h2 {
    font-size: 22px;
    line-height: 30px;
  }

  .project-two .overlay-content {
    bottom: 19px;
  }

  .project-two .swiper-slide img {
    min-height: 250px;
    max-height: 250px;
  }

  .project-two .swiper-slide-active img {
    height: 300px;
  }


}