.projects .project .info, .projects .project .img-wrapper, .projects .project, .projects {
  position: relative;
}

.projects .project .info span {
  display: inline-block;
  zoom: 1;
}

.projects .project .info h2:after {
  display: block;
}

.projects .project .info, .projects .project .img-wrapper {
  box-sizing: border-box;
}

.projects .project .info h2:after {
  content: "";
}

.projects .project .info span {
  text-align: center;
}

.projects .project .img-wrapper {
  width: 50%;
}

.projects .project .img-wrapper, .projects .project {
  background-repeat: no-repeat;
}

.projects .project .img-wrapper, .projects .project {
  background-size: cover;
}

.projects .project .img-wrapper, .projects .project {
  background-position: center center;
}

.projects .project .info span {
  font-family: "AvenirNext", sans-serif;
}

.projects .project .info h3, .projects .project .info h2 {
  font-family: "bodoni_72", sans-serif;
}

.projects .project .info span {
  font-weight: bold;
  transition: background-color 250ms, color 250ms;
  padding: 1em 2em;
  cursor: pointer;
  min-width: 150px;
  border-radius: 5px;
}

.projects .project .info span {
  color: #FFFFFF;
  background-color: #99cc33;
  border-bottom: 5px solid #084628;
}
.projects .project .info span:hover {
  background-color: #add65c;
}
.projects .project .info span:active {
  background-color: #7aa329;
}

.projects {
  padding-left: 5%;
  padding-right: 5%;
}
@media screen and (min-width: 761px) and (max-width: 1440px) {
  .projects {
    padding-left: 3.75%;
    padding-right: 3.75%;
  }
}
@media screen and (max-width: 760px) {
  .projects {
    padding-left: 5.5%;
    padding-right: 5.5%;
  }
}

.projects {
  padding-top: 6vw;
  padding-bottom: 6vw;
}
@media screen and (min-width: 451px) and (max-width: 1200px) {
  .projects {
    padding-top: 6em;
    padding-bottom: 6em;
  }
}
@media screen and (max-width: 450px) {
  .projects {
    padding-top: 3em;
    padding-bottom: 3em;
  }
}

.projects .project .info h2:after {
  height: 5px;
  width: 140px;
  max-width: 100%;
  margin-top: 0.3em;
  border-radius: 3px;
}

.projects .project .info h2:after {
  background-color: #99cc33;
}

.projects .project .info h2 {
  font-size: 2.5em;
}
@media screen and (min-width: 1200px) and (max-width: 1919px) {
  .projects .project .info h2 {
    font-size: 2.5em;
  }
}
@media screen and (min-width: 451px) and (max-width: 1199px) {
  .projects .project .info h2 {
    font-size: 2em;
  }
}
@media screen and (max-width: 450px) {
  .projects .project .info h2 {
    font-size: 1.5em;
  }
}

.projects .project .info p, .projects .project .info h3, .projects .project .info span {
  font-size: 1em;
}
@media screen and (min-width: 1200px) and (max-width: 1919px) {
  .projects .project .info p, .projects .project .info h3, .projects .project .info span {
    font-size: 1em;
  }
}
@media screen and (min-width: 451px) and (max-width: 1199px) {
  .projects .project .info p, .projects .project .info h3, .projects .project .info span {
    font-size: 0.95em;
  }
}
@media screen and (max-width: 450px) {
  .projects .project .info p, .projects .project .info h3, .projects .project .info span {
    font-size: 0.9em;
  }
}

.projects .project .info h3, .projects .project .info h2 {
  font-weight: bold;
  line-height: 1em;
  margin-bottom: 0.8em;
}

.projects .project .info p {
  font-weight: normal;
  line-height: 1.65em;
  margin-bottom: 1.5em;
}

.webp .hero {
  background-image: url("/app/images/projects/hero.webp");
}

.no-webp .hero {
  background-image: url("/app/images/projects/hero.jpg");
}

.projects {
  background-color: #f7f3eb;
  display: grid;
  grid-template-columns: repeat(auto-fill, 32%);
  grid-gap: 1rem;
  justify-content: space-between;
}
.projects .project {
  margin-bottom: 2em;
  transition: opacity 200ms ease-in-out;
}
.projects .project:hover {
  opacity: 0.75;
}
.projects .project .img-wrapper {
  width: 100%;
  height: 400px;
}
.projects .project .info {
  width: 100%;
  padding: 8.3% 0;
  color: #000000;
}
.projects .project .info h3 {
  margin-bottom: 1.5em;
}
.projects .project .info p {
  width: 80%;
}
.projects .project .info span {
  margin-top: 2em;
}

@media screen and (min-width: 961px) and (max-width: 1200px) {
  .projects {
    grid-template-columns: repeat(auto-fill, 48%);
  }
  .projects .project .info {
    width: 90%;
    padding: 5%;
  }
}
@media screen and (max-width: 960px) {
  .projects {
    grid-template-columns: repeat(auto-fill, 100%);
  }
  .projects .project {
    width: 100%;
  }
  .projects .project .info {
    width: 100%;
    padding: 5% 0;
  }
  .projects .project .info p {
    width: 100%;
  }
}
