section.projects {
  padding: 140px 0;
}

section.projects .container {
  padding: 0 17px;
}

section.projects .col-lg-4 {
  padding: 0 20px;
}

section.projects .overlay,
section.projects .project-image {
  transition: all 0.3s ease-in-out;
}

section.projects .project-image {
  /* background-size: cover; */
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

section.projects .project-image,
section.projects .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

section.projects .overlay {
  opacity: 0.4;
  background-image: url(../../../assets/img/project-overlay.svg);
}

section.projects .project-item {
  position: relative;
  margin-bottom: 35px;
  border-radius: 100px 0px;
  overflow: hidden;
  height: 250px;
}

section.projects .project-item:hover .project-image {
  transform: scale(1.1);
}

section.projects .project-item:hover .overlay {
  opacity: 0.7;
}

section.projects .project-item p {
  font-family: Montserrat-SemiBold;
  position: absolute;
  color: #ffffff;
  left: 25px;
  bottom: 19px;
  text-shadow: 0 0 24px grey;
}

@media (max-width: 1099.98px) {
  section.projects {
    padding: 71px 0;
  }

  section.projects .col-lg-4 {
    padding: 0 15px;
    text-align: center;
  }

  section.projects .project-item {
    display: inline-block;
    margin-bottom: 11px;
    height: 207px;
  }

  section.projects .project-item p {
    bottom: 20px;
  }

  section.projects .btn {
    width: 100%;
  }
}

@media (min-width: 1100px) {
  section.projects .project-item img {
    width: 391px;
    height: 250px;
  }

  section.projects .btn {
    min-width: 180px;
  }
}
