/**********************

	  COMPONENTS

***********************/

/* Gallery */
.gallery-container {
  height: 100%;
}

/* Flickity */
.flickity-prev-next-button {
  width: 33px;
  height: 33px;
  background-color: transparent;
  color: var(--cream);
  transition: margin 0.3s ease;
}

.flickity-prev-next-button.previous:hover {
  background-color: transparent;
  margin-left: 10px;
}

.flickity-prev-next-button.next:hover {
  background-color: transparent;
  margin-right: 10px;
}

.flickity-page-dots {
  bottom: 5vh;
}

.flickity-page-dots .dot {
  background-color: rgb(255, 255, 255);
}

/* 
.flickity-viewport,
.flickity-slider,
.carousel-cell,
.carousel-cell img  */

.gallery-container {
  position: relative;
  height: calc(100vh - 75.35px);
  height: calc(100vh - 75.35px);
  width: 100%;
}

.gallery {
  height: calc(100vh - 75.35px);
  height: calc(100vh - 75.35px);
  width: 100%;
}

.carousel-cell {
  position: relative;
  min-height: calc(100vh - 75.35px);
  min-height: calc(100vh - 75.35px);
  width: 100%;
  background-color: var(--red);
  border-width: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: opacity 0.6s ease-out, transform 0.6s ease-in-out;
}

.carousel-cell figure {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
}

.carousel-cell figure > figcaption {
  position: absolute;
  bottom: var(--tiny-margin);
  right: var(--tiny-margin);
  color: var(--cream);
  font-weight: 600;
  font-size: var(--note) !important;
  letter-spacing: var(--letter-spacing);
  text-transform: uppercase;
  padding-top: 0;
}

.carousel-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
}

.carousel-cell .infos {
  --textcolor: var(--cream);
  /* --p-top: calc(var(--small-font-size) + 160px); */
  --p-top: 120px;
  position: relative;
  color: var(--textcolor);
  padding: var(--p-top) 40px 40px;
}

/**********************

	RESPONSIVE

***********************/
@media screen and (min-width: 768px) {
  .flickity-page-dots {
    bottom: 5vh;
  }

  .carousel-cell .infos {
    padding: var(--p-top) 15% 40px;
  }
}
