/* Gallery Slideshow Styles */
.fullscreen-gallery {
  position: relative;
  /* width: 100vw; */
  /* height: 100vh; */
  height: calc(100dvh - 65px);
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery-slide-container {
  position: relative;
  width: 100vw;
  /* height: calc(100vh - 101px); */
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-slide-image-wrapper {
  position: relative;
  width: 100vw;
  height: calc(100dvh - 30px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.gallery-slide-image {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  transition: opacity 0.7s ease;
  opacity: 1;
}
.gallery-slide-title {
  position: absolute;
  bottom: 32px;
  padding-bottom: 56px;
  left: 0;
  width: 100vw;
  text-align: left;
  padding-left: 60px;
  font-size: 6vw;
  font-weight: bold;
  color: rgba(255,255,255,0.8);
  opacity: 0.8;
  letter-spacing: 2px;
  z-index: 2;
  pointer-events: none;
  transform: translateX(-100px);
  transition: transform 2s cubic-bezier(.77,0,.18,1), opacity 2s cubic-bezier(.77,0,.18,1);
}

.gallery-slide-title.slide-in-left {
  transform: translateX(0);
  opacity: 0.8;
  transition: transform 1s cubic-bezier(.77,0,.18,1), opacity 2s cubic-bezier(.77,0,.18,1);
}
.gallery-slide-title.slide-in-right {
  transform: translateX(0);
  opacity: 0.8;
  transition: transform 1s cubic-bezier(.77,0,.18,1), opacity 2s cubic-bezier(.77,0,.18,1);
}
.gallery-slide-title.slide-out-left {
  transform: translateX(-100px);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(.77,0,.18,1), opacity 0.7s cubic-bezier(.77,0,.18,1);
}
.gallery-slide-title.slide-out-right {
  transform: translateX(100vw);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(.77,0,.18,1), opacity 0.7s cubic-bezier(.77,0,.18,1);
}
.gallery-slide-title.visible {
  opacity: 0.8;
  transform: translateX(0);
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  z-index: 10;
  cursor: pointer;
  outline: none;
}
.gallery-nav-back {
  left: 40px;
}
.gallery-nav-next {
  right: 40px;
}
.gallery-nav-circle {
-webkit-backdrop-filter: blur(12px);
backdrop-filter: blur(12px);
  display: block;
  width: 56px;
  height: 56px;
  border: rgba(255, 254, 248, 0.2);
  /* background: rgba(30,30,30,0.4); */
  background: rgba(255, 254, 248, 0.1);
  border-radius: 50%;
  position: relative;
  /* left: -12px; */
  /* top: -12px; */
  z-index: -1;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.carousal-arrow{
    position: absolute;
    top: 29%;
    left: 29%;
}
.gallery-pagination {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}
.gallery-pagination-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fffef84c;
  /* background: rgba(255,255,255,0.2); */
  /* border: 2px solid rgba(255,255,255,0.5); */
  transition: background 0.3s;
  cursor: pointer;
}
.gallery-pagination-dot.active {
  background: #fff;
  /* border-color: #fff; */
}
.slide{
    /* object-fit: contain; */
}
/* make sure object-fit can work */
.slide img {
  width: 100%;
  height: 100%;
  display: block;
  /* default; JS will override per-image */
  object-fit: cover;
}

@media only screen and (max-width: 768px) {
    .slide{
    object-fit: contain;
    }
  .gallery-slide-title {
    font-size: 7vw;
    padding-left: 20px;
    bottom: 20px;
  }
  .carousal-arrow{
  top: 27%;
  }

  .gallery-nav-back .carousal-arrow{
    left: 22%;
  }
   .gallery-nav-next .carousal-arrow {
    left: 28%;
    /* left: 10px;
    right: 10px; */
  }
  .gallery-nav-circle {
    width: 50px;
    height: 50px;
    /* left: -8px;
    top: -8px; */
  }
  .gallery-nav-back {
  left: 20px;
}
.gallery-nav-next {
  right: 20px;
}
}
