
.accueil-projects {
  /* max-width: 1200px; */
  max-width: 1400px;
  margin: auto;
}
.project-item {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 80px;
}
.project-item:nth-child(even) {
  flex-direction: row-reverse;
}
.project-item:nth-child(odd) .project-column {
  /* padding-left: 50px; */
}
.project-item:nth-child(even) .project-column {
  text-align: right;
  /* padding-right: 50px; */
}
.project-column {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-image {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(1);
  transition: var(--transition);
}
.project-image img {
  width: 100%;
  transition: var(--transition);
  transform: scale(1);
}
.project-item:hover .project-image {
  transform: scale(0.95);
}
.project-item:hover .project-image img {
  transform: scale(1.15);
}

.project-title {
  font-size: 120px;
  color: var(--main-dark);
  white-space: nowrap;
}
.project-item:nth-child(even) .project-title {
  transform: translateX(80px);
}
.project-item:nth-child(odd) .project-title {
  transform: translateX(-80px);
}
.project-tagline {
  text-transform: uppercase;
  color: #3b3b3b;
  font-size: 16px;
}
.project-subtitle {
  font-size: 60px;
}

.project-button {
  /* padding-left: 60px; */
  color: var(--black) !important;
  text-transform: uppercase;
  font-family: "Gilmer-heavy";
  display: flex;
  margin-top: 40px;
}
.project-item:nth-child(even) .project-button {
  justify-content: flex-end;
}
.project-button-line {
  height: 2px;
  background-color: var(--black);
  width: 40px;
  margin-right: 20px;
  transform: translateY(15px);
  transition: var(--transition);
  transform-origin: left;
}
.project-button:hover .project-button-line {
  transform: translateY(15px) scaleX(0.3);
}
@media screen and (max-width: 980px) {
  .project-title {
    font-size: 40px;
  }
  .project-tagline {
    font-size: 10px;
  }
  .project-subtitle {
    font-size: 20px;
  }
  .project-item:nth-child(even) .project-title {
    transform: translateX(25px);
  }
  .project-item:nth-child(odd) .project-title {
    transform: translateX(-25px);
  }
  .project-button {
    font-size: 12px;
    margin-top: 18px;
  }
  .project-image img {
    transform: scale(1.1);
  }
  .project-item:hover .project-image {
    transform: scale(1);
  }
  .project-item:hover .project-image img {
    transform: scale(1.1);
  }
}
@media screen and (max-width: 550px) {
  .project-button-line {
    height: 1.5px;
    width: 20px;
    margin-right: 10px;
    transform: translateY(15px);
  }
  .project-button {
    margin-top: 0;
  }
  .project-title {
    font-size: 35px;
  }
  .project-subtitle {
    display: none;
  }
}
