
.projects-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5em 0;
    background-color: var(--color-black)
}

.projects-header h2 {
    display: flex;
    flex-direction: column;
    color: var(--color-text);
    font-size: max(8em, 5vw);
    font-family: var(--font-secondary);
    line-height: 100%;
}

.projects-header h2 span:nth-child(1) {
  transform: translateX(-100%)
}

.projects-header h2 span:nth-child(2) {
  transform: translateX(100%)
}

.sticky-cards {
    background-color: var(--color-black);
}

section.card {
    width: 100vw;
    height: 100vh;
}
  
  .card.scroll {
    position: relative;
  }
  
  .project {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 85%;
    height: 75%;
    display: flex;
  }
  
  .project-copy {
    position: relative;
    flex: 1.75;
    border-radius: 12px;
    padding: 2em;
    background: var(--color-primary);
  }
  
  .project-img {
    flex: 3;
    border-radius: 12px;
    overflow: hidden;
  }
  
  .project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .project-header h3 {
    color: var(--color-text);
    text-transform: uppercase;
    font-family: var(--font-secondary);
    font-size: 40px;
    line-height: 100%;
  }

  .project-header-arrows {
    display: flex;
    align-items: center;
    gap: 1em;
  }

  .project-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
  }

  .project-button img {
    width: 30px;
    height: 30px;
  }

  .project-button img.arrow-down {
      transform: rotate(180deg);
  }
  
  .project-header p {
    font-size: 20px;
    color: var(--color-text);
    padding: 0 !important;
  }
  
  .project-copy p {
    font-family: 'Outfit', sans-serif;
    padding: 1em 0;
  }

  .project-description {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
  }
  
  .project-footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 1em;
  }

  .project-footer p {
    text-transform: uppercase;
  }
  
  .project-footer-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .project-footer-cta {
    display: flex;
    gap: 1em;
  }
  
  .project-footer-cta .cta {
    padding: 0.5em 1em;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.125);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .project-footer-row a {
    padding: 5px;
  }
  

  
  @media (max-width: 1023px) {

    .projects-header {
      padding: 3em 0;
    } 
    

    .projects-header h2 {
      font-size: max(2.5em, 10vw);
    }
  
    .project-header h3 {
      font-size: 24px;
    }

    .project {
      flex-direction: column;
    }

    .project-footer-row {
        gap: 0.5em;
        flex-wrap: wrap;
    }
  }

  @media (max-width: 768px) {

    .project-copy {
      padding: 1em;
    }

    .project-img {
      flex: 2;
    }

    .project-footer-row {
      flex-direction: column-reverse;
    }

    .project-footer-cta {
      gap: 0.5em;
    }

    .project-footer-row a {
      width: fit-content;
    }
  }

  