.slideshow-v31 {
  --pt: 50;
  --pb: 50;
  position: relative;
  z-index: 9;
  padding-top: calc(var(--pt) * 0.75 * 1px);
  padding-bottom: calc(var(--pb) * 0.75 * 1px);
}
@media (min-width: 768px) {
  .slideshow-v31 {
    padding-top: calc(var(--pt) * 1px);
    padding-bottom: calc(var(--pb) * 1px);
  }
}

.slideshow-v31__video {
  position: absolute;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.slideshow-v31__slide {
  position: relative;
}

.slideshow-v31__bg-container {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slideshow-v31__bg {
  background-size: cover;
  height: 100%;
  background-position: center;
}

@media (max-width: 767px) {
  .slideshow-v31__bg--desktop {
    display: none;
  }
}

@media (min-width: 768px) {
  .slideshow-v31__bg--mobile {
    display: none;
  }
}

.slideshow-v31__bg-color {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slideshow-v31__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 11rem 1.5rem;
}
@media (min-width: 768px) {
  .slideshow-v31__text {
    padding-top: 17%;
    padding-bottom: 16%;
  }
}

.slideshow-v31__title {
  font-family: var(--font-custom-family);
  font-size: clamp(3rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
  font-weight: var(--fontweight);
  line-height: calc(1 + 0.2 / var(--font-heading-scale));
  letter-spacing: calc(var(--font-heading-scale) * 0.1rem);
  color: rgba(var(--color-foreground));
  margin-bottom: 2.5rem;
  text-transform: capitalize;
  text-align: center;
}
.slideshow-v31__title span {
  color: rgba(var(--color-accent));
}

.slideshow-v31__smalltitle {
  font-size: clamp(2rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
  font-weight: var(--fontweight);
  color: rgba(var(--color-foreground), 0.8);
  text-transform: unset;
  margin-bottom: 3.5rem;
  text-align: center;
}

.slideshow-v31__buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slideshow-v31__arrows {
  display: flex;
  position: absolute;
  gap: 0.1rem;
  bottom: 0;
  right: 0;
  z-index: 9;
}
@media (min-width: 768px) {
  .slideshow-v31__arrows {
    bottom: 3.5rem;
  }
}

.slideshow-v31__arrow-btn {
  width: 4.5rem;
  height: 4.5rem;
  background-color: rgba(var(--color-foreground), 0.5);
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slideshow-v31__arrow-btn button {
  all: unset;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slideshow-v31__arrow-btn svg {
  color: rgba(var(--color-background));
}
@media (min-width: 768px) {
  .slideshow-v31__arrow-btn {
    width: 7rem;
    height: 7rem;
  }
}

.slideshow-v31__arrow-btn:hover {
  background-color: rgba(var(--color-background));
}
.slideshow-v31__arrow-btn:hover svg {
  color: rgba(var(--color-foreground));
}