body {
  background-color: #1b1b1b;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.site-content {
  display: none;
}

html,
body,
.slide,
.slide__image,
.slide__image img {
  display: block;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  object-fit: cover;
  width: 100vw;
}

@media screen and (min-width: 600px) {
  html,
  body,
  .slide,
  .slide__image,
  .slide__image img {
    display: block;
    height: auto;
    object-fit: unset;
    width: auto;
  }

  html,
  body {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
    width: 100vw;
  }

  .slide {
    height: calc(100vh - 32px);
    height: calc((var(--vh, 1vh) * 100) - 32px);
    margin: 16px auto;
    width: auto;
  }

  .slide__image {
    height: 100%;
    width: auto;
  }

  .slide__image img {
    height: 100%;
    margin: 0 auto;
    width: auto;
  }
}

/* =====/ Splide /===== */

html,
body,
.splide,
.splide__track,
.splide__list,
.splide__slide,
.splide__slide img {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  object-fit: cover;
  width: 100vw;
}

.splide__arrow {
  background: transparent;
  bottom: 0;
  top: auto;
}

.splide__arrow,
.splide__arrow svg {
  height: 40px;
  opacity: 0.75;
  width: auto;
}

.splide__arrow svg {
  fill: #fff;
}

iframe.youtube {
  height: auto;
  width: 100%;
  aspect-ratio: 560 / 315;
}

@media screen and (min-width: 600px) {
  html,
  body,
  .splide,
  .splide__track,
  .splide__list,
  .splide__slide,
  .splide__slide img {
    object-fit: unset;
  }

  html,
  body,
  .splide,
  .splide__track,
  .splide__list {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    width: 100vw;
  }

  .splide__slide {
    height: calc(100vh - 32px);
    height: calc((var(--vh, 1vh) * 100) - 32px);
    margin: 16px auto;
    width: auto;
  }

  .splide__slide img {
    display: block;
    height: 100%;
    margin: 0 auto;
    width: auto;
  }
}

/* =====/ Modal /===== */

body {
  position: relative;
  z-index: 0;
}

a {
  cursor: auto;
}

a.modal-toggle img,
.splide__slide a img {
  cursor: pointer;
}

#youtube.modal {
  align-items: center;
  background-color: #1b1b1b;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  left: 0;
  opacity: 0;
  padding: 0 16px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity 0.75s;
  z-index: 1;
}

#youtube.modal.visible {
  pointer-events: all;
  opacity: 1;
}

.modal-bar {
  margin: 0 0 8px;
  text-align: right;
  width: 100%;
}

button.modal-close {
  background: none;
  border: 0;
  cursor: pointer;
  margin: 0;
  padding: 0;
  outline: 0;
}

button.modal-close svg {
  height: auto;
  width: 40px;
}

button.modal-close svg path,
button.modal-close svg polygon {
  fill: white;
}

@media screen and (min-width: 600px) and (orientation: landscape) {
  iframe.youtube {
    aspect-ratio: 560 / 315;
    height: auto;
    width: 75%;
  }

  .modal-bar {
    margin: 0 auto 8px;
    width: 75%;
  }
}
