.splide {
  --height: 700px;
  height: var(--height);
}
.splide .splide__slide {
  padding-right: var(--unit);
  cursor: grab;
}
.splide img {
  max-height: var(--height);
  width: auto;
}
.splide .underline {
  display: inline-block;
  border-bottom: 1px solid var(--c-main);
  margin-left: var(--unit);
}

.more {
  margin-top: 200px;
}
.more h3 {
  padding: 0 var(--unit);
  font-size: 6em;
  letter-spacing: -0.35rem;
  line-height: 1;
}
.more .projects {
  border-top: 1px solid var(--c-main);
  margin-top: var(--unit);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.more .projects .projects-item {
  border-bottom: 1px solid var(--c-main);
  border-right: 1px solid var(--c-main);
  padding: var(--unit);
  position: relative;
}
.more .projects .projects-item:nth-child(4n) {
  border-right: none;
}
.more .projects .projects-item figcaption {
  margin-top: var(--unit);
  line-height: 1;
}
.more .projects .projects-item .project-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  padding: var(--unit);
  transition: opacity 0.3s ease-in-out;
}
.more .projects .projects-item .project-hover img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}
.more .projects .projects-item .project-hover:hover {
  opacity: 1;
}

@media screen and (max-width: 65rem) {
  .more h3 {
    padding: 0 10px;
    font-size: 2.8em;
    letter-spacing: -0.15rem;
    line-height: 1;
  }
  .more .projects {
    grid-template-columns: repeat(2, 1fr);
  }
  .more .projects .projects-item {
    border-right: 1px solid var(--c-main);
    padding: 10px;
  }
  .more .projects .projects-item:nth-child(2n) {
    border-right: none;
  }
  .more .projects .projects-item:nth-child(4n) {
    border-right: none;
  }
  .more .projects .projects-item figcaption {
    margin-top: 10px;
  }
  .more .projects .projects-item .project-hover {
    padding: 10px;
  }
  .splide {
    --height: 500px;
    height: var(--height);
  }
  .splide .splide__slide {
    padding-right: var(--unit);
  }
  .splide img {
    max-height: var(--height);
  }
}

/*# sourceMappingURL=home.css.map */
