html,
body {
  width: 100%;
  overflow-x: hidden;
}

.tm-horizontal-slider {
  --tm-slide-width: 100vw;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  position: relative;
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  background: #000000;
}

.tm-horizontal-slider .tm-slider-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  height: 100%;
  min-height: 100%;
  position: relative;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.tm-horizontal-slider .tm-slide {
  display: block;
  width: var(--tm-slide-width);
  min-width: var(--tm-slide-width);
  max-width: var(--tm-slide-width);
  height: 100vh;
  height: 100svh;
  flex: 0 0 var(--tm-slide-width);
  position: relative;
  overflow: hidden;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  cursor: pointer;
  text-decoration: none !important;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.tm-horizontal-slider .tm-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  pointer-events: none;
  z-index: 1;
}

.tm-cursor-title {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999999;
  pointer-events: none;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.8vw, 100px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(-9999px, -9999px, 0);
  transition: opacity 0.22s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.tm-cursor-title.is-visible {
  opacity: 1;
}

@media (max-width: 767px) {
  .tm-cursor-title {
    display: none;
  }

  .tm-horizontal-slider .tm-slide {
    cursor: default;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-cursor-title {
    transition: none;
  }
}
