@charset "UTF-8";
/* Mixins
================================================== */
/* Breakpoints
================================================== */
/*
320px – very small phones (old iPhones, edge cases)

375px – modern iPhone width (very common)

450px – large phones / Pro Max

768px – iPad portrait

1024px – iPad landscape

1280px – common laptop

1440px – large monitors

1920px – full HD (usually max-width, not layout change)









*/
.section-projectscroll {
  background-color: var(--color-background-grey);
}
@media (min-width: 1200px) {
  .section-projectscroll .project-cards {
    height: 100vh;
    overflow: hidden;
  }
}

.section-projectscroll .project-scroll__footer {
  max-width: 25em;
  margin-bottom: 0em;
}
.section-projectscroll .buttons {
  margin-top: 1.5em;
  margin-bottom: 3em;
}
.section-projectscroll .project-scroll-intro {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  margin-bottom: 2em;
}
.section-projectscroll .project-scroll-intro > :first-child {
  margin-top: 0;
}
.section-projectscroll .project-scroll-intro > * {
  width: 100%;
}
.section-projectscroll .project-cards {
  margin-right: -0.5rem;
  margin-left: -0.5rem;
  box-sizing: border-box;
}
.section-projectscroll .project-cards ul, .section-projectscroll .project-cards li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.section-projectscroll .project-card {
  padding: 1em 0.5rem;
  transition: ease-in 0.25s;
  justify-content: space-between;
}
.section-projectscroll .project-card .heading {
  margin-top: 0;
}
.section-projectscroll .project-card .media-wrap {
  width: 100%;
  padding-bottom: 50%;
  position: relative;
}
.section-projectscroll .project-card .media-wrap .btn-with-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  opacity: 0;
}
.section-projectscroll .project-card .media-wrap .media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.section-projectscroll .project-card:focus, .section-projectscroll .project-card:hover {
  background-color: #000;
  color: #fff;
}
.section-projectscroll .project-card:focus .media-wrap .btn-with-arrow, .section-projectscroll .project-card:hover .media-wrap .btn-with-arrow {
  opacity: 1;
}
@media (min-width: 1200px) {
  .section-projectscroll .project-cards {
    margin-right: auto;
    margin-left: auto;
  }
  .section-projectscroll .project-card {
    padding: 1em;
  }
  .section-projectscroll .project-card {
    display: flex;
    flex-wrap: wrap;
  }
  .section-projectscroll .project-card .heading {
    width: 17rem;
  }
  .section-projectscroll .project-card .media-wrap {
    width: calc(100% - 18rem);
  }
}
@media (min-width: 1200px) {
  .section-projectscroll {
    display: flex;
    flex-wrap: wrap;
  }
  .section-projectscroll .project-scroll-intro {
    width: calc(34% - 1em);
  }
  .section-projectscroll .project-cards {
    width: calc(66% - 1em);
    border-left: solid 1px var(--color-grey);
  }
  .section-projectscroll .project-cards ul {
    padding-left: 0.75em;
  }
}
@media (min-width: 1400px) {
  .section-projectscroll .project-scroll-intro {
    width: calc(44% - 1em);
  }
  .section-projectscroll .project-cards {
    width: calc(56% - 1em);
  }
}

.project-cards {
  transition: 0.5s;
}
.project-cards.loading {
  opacity: 0;
}

@media (min-width: 1200px) {
  .project-scroll-cards-swiper {
    height: 100vh;
  }
  .project-scroll-cards-swiper .swiper-slide {
    height: auto !important;
    margin: 0 !important;
  }
  .project-scroll-cards-swiper .swiper-slide .project-card {
    margin: 0 1em;
    border-bottom: solid 1px var(--color-grey);
  }
}