* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow: hidden;
  font-family: "PP Rader";
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.slider-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.slider {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.slide {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
}

#slide-1 {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.slider-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
}

.slide-title {
  position: absolute;
  top: 85%;
  left: 45%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 0.25em;
  text-transform: uppercase;
  color: #f9b165;
  font-size: 120px;
  line-height: 150px;
  clip-path: polygon(0 0, 100% 0, 100% 150px, 0 150px);
  will-change: transform;
}

.prefix span {
  padding: 0 0.25em;
}

.postfix {
  position: relative;
  top: 0;
  will-change: transform;
}

.slider-indicator {
  position: fixed;
  top: 0;
  right: 1em;
  width: 60px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1em;
  z-index: 10;
}

.index {
  width: 100%;
  height: 2px;
  transform: scaleX(0.5);
  background-color: #f9b165;
  opacity: 1;
  transform-origin: right center;
}

.index.active {
  transform: scaleX(1);
}

.link {
  position: fixed;
  top: 75%;
  left: 75%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  z-index: 10000;
}

.link-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  will-change: transform;
  pointer-events: auto;
  cursor: pointer;
}

.link-wrapper a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.link-label {
  position: absolute;
  top: 47.5%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.link-label p {
  text-transform: uppercase;
  color: #f9b165;
  font-size: 24px;
}

.line {
  height: 28px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.line-1 {
  position: relative;
  width: 80px;
  left: -4px;
}

.line-2 {
  position: relative;
  width: 120px;
  left: 32px;
}

.line p {
  position: absolute;
  transform: translateY(0);
  will-change: transform;
}

svg,
.link-label {
  pointer-events: none;
}

@media (max-width: 900px) {
  .slide-title {
    top: 60%;
    left: 55%;
    font-size: 40px;
    line-height: 42px;
    clip-path: polygon(0 0, 100% 0, 100% 42px, 0 42px);
  }

  .slider-indicator {
    width: 40px;
    padding-bottom: 2em;
    justify-content: flex-end;
  }

  .link {
    left: 50%;
  }
}
