.swiper {
  position: relative;
  width: 100%;
  height: 700px;
}

.swiper.outline {
  position: relative;
}

.swiper.outline::after {
  content: "";
  position: absolute;
  top: 0;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border: 2px solid rgb(213, 231, 255);
  z-index: 1;
}

.swiper .swiper-slide {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-origin: border-box;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.1s;
}

.swiper .swiper-slide::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

.swiper-button-next,
.swiper-button-prev,
.swiper-button {
  color: var(--color-dark) !important;
  background: var(--color-gray);
  opacity: 0;
  transition: all 0.3s;
  border-radius: 100%;
  width: 40px;
  height: 40px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px !important;
}

.swiper .swiper-button-prev {
  left: 20px;
}

.swiper .swiper-button-next {
  right: 20px;
}

.swiper-pagination {
  height: 160px;
  padding-bottom: 20px;
  display: flex;
  justify-content: center;
  bottom: 0 !important;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
}

.custom-pagination {
  display: flex;
  flex-direction: column;
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  flex-grow: 1;
  text-align: left;
  justify-content: flex-end;
  font-size: 14px;
  font-weight: 700;
}

.custom-pagination.active {
  background: -webkit-linear-gradient(rgb(255, 252, 245) 10%, rgb(173, 208, 255) 90%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes timebarAnimation {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

.swiper-slide.swiper-slide-active * {
  animation: slidetxtMove 1s ease-in-out forwards;
}

@keyframes slidetxtMove {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.swiper .hero-slider-content {
  position: absolute;
  top: 0;
  left: 10%;
  bottom: 0;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: var(--font-size-50);
  width: 800px;
  text-align: left;
  color: var(--color-white);
  z-index: 2;
}

.swiper .slide-content {
  position: relative;
  aspect-ratio: 16/9;
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 12vw 0;
}

.hero-content-text {
  max-width: 800px;
}

.hero-content-text .title-one {
  color: var(--color-white);
  font-weight: var(--weight-700);
  font-size: var(--font-size-50);
  font-family: var(--font-sans-serif);
  line-height: 3.5rem;
  text-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
  animation: animated-text 20s linear infinite;
}

.hero-content-text .title-two {
  font-size: 18px;
  font-weight: 500;
  text-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

.hero-content-text .title-one h1 span:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-content-text .title-one h1 span:nth-child(2) {
  animation-delay: 0.4s;
}

@keyframes scaleInOut {
  0% {
    opacity: 0.2;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }

  100% {
    opacity: 0.2;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 510px) {
  h1 {
    font-size: var(--font-size-30);
  }
}

@media screen and (max-width: 360px) {
  h1 {
    font-size: var(--font-size-24);
  }
}

@keyframes animated-text {
  100% {
    background-position: 200% 0;
  }
}

/***video***/
#videoWrapper {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

#videoWrapper video {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: -100;

  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

#videoWrapper .caption {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

#videoWrapper .caption .contents {
  width: 50%;
  color: #fff;
  font-size: 18px;
  text-align: center;
}

#videoWrapper .caption .contents h3 {
  color: #fff;
  font-size: 65px;
  font-weight: 900;
  line-height: 4.375rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  margin-bottom: 20px;
}

.s-container {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 16px;
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
}