@font-face {
  font-family: charter;
  font-style: italic;
  font-weight: normal;
  font-stretch: normal;
  src: url('fonts/charter-italic.woff2') format('woff2');
  font-display: block;
}

@font-face {
  font-family: metropolis;
  font-style: normal;
  font-weight: bold;
  font-stretch: normal;
  src: url('fonts/metropolis-bold.woff2') format('woff2');
  font-display: block;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: #1a1a1a;
  font-family: charter;
  line-height: 1.4;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  -webkit-text-size-adjust: none;
	touch-action: manipulation;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 50vw;
  background: #666;
}

::-webkit-scrollbar-thumb:hover {
  background: #777;
}

header, footer {
  margin: 0 auto;
  width: 80vw;
  min-height: 100vh;
  max-width: 800px;
  overflow-x: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

#logo {
  display: block;
  width: 500px;
  max-width: 80vw;
  max-width: 80svw;
  margin: 25% auto;
}

header p, footer p {
  color: #f2f2f2;
  font-style: italic;
  font-size: 1.5rem;
  text-align: center;
  margin: 2rem 0;
}

a:link {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: underline;
}

footer {
  position: relative;
}

footer div {
  align-content: center;
  position: absolute;
  inset: 0;
}

.copyright {
  color: #828282;
  font-family: metropolis;
  font-style: normal;
  font-weight: bold;
  letter-spacing: 4px;
  font-size: 0.7rem;
  font-style: normal;
  text-align: center;
  margin: 2rem auto;
  position: absolute;
  width: 100%;
  bottom: 0;
}

hr {
  margin: 0;
  border: 0;
}

header hr, footer hr {
  margin: 150px auto;
  width: 200px;
  height: 2px;
  background-color: #f2f2f2;
}

.slider {
  width: 100%;
  display: flex;
  align-items: stretch;
  overflow-y: hidden;
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-snap-align: start;
  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
  height: 100%;
  background-color: white;
}

.slider::-webkit-scrollbar {
  display: none;
}

.slider > * {
  display: block;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  height: 100svh;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  opacity: 80%;
  transition: opacity .4s ease-in-out;
  object-fit: contain;
  flex: 1;
}

.slider .is-current {
  opacity: 100%;
}

.slider .card {
  order: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-style: italic;
  font-size: 1.5rem;
  color: #1a1a1a;
  padding: 7rem 3rem;
  flex: 0 0 80%;
  height: auto;
  opacity: 100%;
  background-color: white;
}

.slider ul {
  padding: 0;
  margin: 0;
}

.slider li {
  list-style: none;
}


.slider-nav {
  position: relative;
  width: 100%;
  height: 0;
  transition: opacity .4s ease-in-out;
  mix-blend-mode: difference;
}

.slider-prev, .slider-next {
  width: 6rem;
  height: 6rem;
  display: block;
  background: 0;
  border: 0;
  position: absolute;
  bottom: 50vh;
  bottom: 50svh;
  margin-bottom: -3rem;
  z-index: 1;
  font-size: 0;
  transition: opacity .4s ease-in-out, transform .2s ease-in-out;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.slider-prev {
  left: 0;
}

.slider-next {
  right: 0;
}

.slider-prev::after, .slider-next::after {
  visibility: visible;
  content: '';
  display: block;
  position: absolute;
  width: 2rem;
  height: 2rem;
  bottom: 1rem;
  border-width: 2px 2px 0 0;
  border-color: white;
  border-style: solid;
  transform-origin: top right;
}

.slider-prev::after {
  left: 0;
  transform: rotate(225deg);
}

.slider-next::after {
  right: 2rem;
  transform: rotate(45deg);
}

.slider-prev:hover, .slider-next:hover {
  transform: scale(1.2,1.2);
}

.is-disabled {
  cursor: default;
  opacity: 0;
}

.slider > img[data-lazy-state="pending"],
.slider > img[data-lazy-state="loading"],
.slider > img.lazy-image {
  opacity: 0;
  transition: opacity .4s ease-in-out;
}


h3 {
  font-family: metropolis;
  font-style: normal;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 0;
}

.social {
  display: block;
  width: 50px;
  height: 50px;
  margin: 50px auto;
  transition: transform .2s ease-in-out;
}

.social:hover {
  transform: scale(1.2);
}

@media (min-width: 1040px) {
  header p, footer p {
    font-size: 2rem;
  }

  header hr, footer hr {
    margin: 150px auto;
  }

  .slider {
    width: calc(100% - 400px);
  }

  .slider .card {
    width: 400px;
    height: 100%;
    position: absolute;
    right: 0;
    z-index: 1;
    pointer-events: none;
  }

  .slider-next {
    right: 400px;
  }
}
