body {
  overflow: hidden;
}

/* SWIPER */

.swiper {
  margin-left: 0 !important;
  margin-right: 0 !important;
  position: relative;
  overflow: hidden;
  list-style: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 80px var(--gutter-width-x);
  box-sizing: border-box;
  grid-column: 2 / span 11;
  grid-row: 2 / span 4;
}

/* .swiper {
  margin-left: 0 !important;
  margin-right: 0 !important;
  position: relative;
  overflow: hidden;
  list-style: none;
  position: absolute;
  width: 200%;
  height: 100%;
  top: 0;
  left: -50%;
  padding: 80px var(--gutter-width-x);
  box-sizing: border-box;
} */

.swiper-wrapper {
  height: 100%;
}

.swiper-slide {
  display: block;
  justify-content: center;
  text-align: center;
  background-color: transparent;
  height: 100%;
}

.swiper-slide picture {
  grid-column: 3 / span 8;
  height: 100%;
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin: 0;
  object-fit: contain;
  object-position: center center;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.swiper-slide picture img,
.swiper-slide picture video {
  display: block;
  max-height: 100%;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  object-fit: contain;
  object-position: center center;
  width: 100%;
  height: 100%;
}

.swiper-button-next,
.swiper-button-prev {
  height: calc(100% - calc(var(--gutter-width-y) * 2));
  margin: var(--gutter-width-y) 0;
  box-sizing: border-box;
  width: 10vw;
  top: 0;
  right: 0;
  color: var(--color-text);
}

#prev,
#next {
  outline: none;
  -webkit-tap-highlight-color: transparent;
  justify-content: center;
}

.swiper-button-prev {
  left: 0;
  justify-content: right;
}

.swiper-button-next {
  justify-content: left;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-prev:after,
.swiper-button-next:after,
.swiper-rtl .swiper-button-next:after {
  content: " ";
}

#prev img {
  transform: rotate(180deg);
}

#next {
  right: 0;
}

#container-title-tag {
  padding-top: 1rem;
  width: 100%;
  height: 2rem;
}

footer > div {
  display: flex;
}

#counter-container {
  width: auto;
  display: flex;
  justify-content: center;
  bottom: var(--gutter-width-y);
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
}

#counter-container > div {
  display: flex;
  margin-right: 10px;
}

.hyphen {
  padding: 0 5px;
}

#swiper-tags,
#swiper-titles {
  height: 15px;
  position: relative;
  top: auto;
  left: auto;
  padding: 0;
  margin: 0;
  content-visibility: auto;
  overflow: hidden;
}

.swiper-title .swiper-slide {
  display: block;
  justify-content: center;
  text-align: right;
  background-color: transparent;
}

.swiper-slide-next picture img,
.swiper-slide-next picture video {
  object-position: left center;
}

.swiper-slide-prev picture img,
.swiper-slide-prev picture video {
  object-position: right center;
}

@media screen and (max-width: 750px) {
  .swiper-button-next,
  .swiper-button-prev {
    height: calc(100% - 10px);
  }

  #prev,
  #next {
    cursor: pointer;
  }

  .swiper {
    padding: calc(calc(100dvh / 12) * 3) calc(100% / 18);
  }

  #counter-container {
    bottom: calc(calc(100vh / 12) * 1);
  }

  .swiper-slide picture {
    grid-column: 2 / span 10;
  }

  #description-wrapper {
    flex-direction: column;
  }

  #informations {
    cursor: pointer;
  }

  .hyphen {
    display: none;
  }
  #counter-container {
    flex-direction: column;
    align-items: center;
  }
}
