.project__hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8vw;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.project__hero--dark {
  color: var(--offwhite-color);
  background-color: black;
}

.project__hero__img {
  position: absolute;
  height: auto;
  width: 100%;
  z-index: -1;
  opacity: 0.6;
  z-index: 1;
}

.project__hero__info {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-left: auto;
  width: 24vw;
  animation-name: slideIn;
  animation-duration: 1s;
  animation-timing-function: ease;
  z-index: 2;
}

.project__title {
  font-family: "Work Sans", sans-serif;
  font-weight: 200;
  font-size: 5vw;
  line-height: 1;
  margin: 0;
}

.project__desc {
  margin: 0;
  margin-top: 24px;
  font-size: 14px;
  opacity: 0.6;
}

.project__subheading {
  margin: 0;
  margin-top: 16px;
  font-family: "Work sans", sans-serif;
  text-transform: uppercase;
  font-size: 14px;
}

.project__subheading:first-of-type {
  margin-top: 64px;
}

.project__stat {
  margin: 0;
  margin-top: 0px;
  font-size: 14px;
  opacity: 0.8;
}

.project__hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: absolute;
  font-size: 12px;
  text-transform: uppercase;
  bottom: 32px;
}

.project__hero--dark .project__hero__cta {
  fill: var(--offwhite-color);
}

@media screen and (max-width: 1160px) {
  .project__hero__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    margin-left: 0;
    width: 100%;
    max-width: 480px;
  }

  .project__title {
    font-size: 72px;
  }
}

@media screen and (max-width: 450px) {
  .project__title {
    font-size: 60px;
    line-height: 1;
    margin: 0;
  }
}

@keyframes slideIn {
  0% {
    opacity: 0.5;
    transform: translateX(128px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.project__gallery {
  display: flex;
  flex-direction: column;
  padding: 0 8px;
  width: 100%;
  max-width: 1296px;
  margin: 0 auto;
  gap: 24px;
}

.project__gallery__img {
  position: relative;
  width: 100%;
  height: auto;
}

.project__gallery__hr {
  height: 32px;
  width: auto;
  align-self: center;
  opacity: 0.4;
}

.project__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  margin-top: 24px;
  margin-bottom: 6vw;
  width: 100%;
  max-width: 1280px;
}

.project__footer__title {
  font-size: 12px;
  font-weight: 100;
  text-transform: uppercase;
  margin: 0;
}

.project__footer__hr {
  height: 1px;
  width: 100%;
  background-color: var(--light-grey-color);
  margin-top: 8px;
  margin-bottom: 8px;
}

.project__footer__links {
  display: flex;
  gap: 16px;
}

.project__footer__link {
  color: rgba(28, 28, 28, 0.6);
  font-family: "Work Sans", sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}

.project__footer__link:hover {
  text-decoration: underline;
  color: rgba(28, 28, 28, 1);
}

/* Prev/Next */
.project__nav {
  display: flex;
  width: 100%;
}
.project__next {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 50vh;
  max-height: 50vh;
  width: 100%;
  color: var(--offwhite-color);
}
.project__next--dark {
  color: var(--offblack-color);
}
.project__nav__img {
  position: absolute;
  filter: grayscale(1);
  transition: filter 0.3s ease-in-out;
  z-index: -1;
}
.project__next:hover .project__nav__img {
  filter: grayscale(0);
}
.project__next__title {
  font-family: "Work sans", sans-serif;
  font-weight: 200;
  color: inherit;
  font-size: 5vw;
  margin: 0;
}
.project__next__subtitle {
  color: inherit;
  opacity: 0.6;
  font-family: "Work sans", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
}
@media screen and (max-width: 1000px) {
  .project__next__title {
    font-size: 48px;
  }
}