#home #container .s1 {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

#home #container .s1 video {
  min-width: 100vw;
  min-height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
}

#home #container .s1 .container {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2rem);
}

#home #container .s1 .btn-scroll {
  width: 56px;
  height: 30px;
  background: url(/i/svg/arrow-down.svg) no-repeat center/contain;
  position: absolute;
  right: 0;
  bottom: 0;
  cursor: pointer;
}

#home #container .s1 .hero-slider {
  padding-top: 3rem;
}

#home #container .s1 .hero-slider h2 {
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 4.85rem;
  line-height: 5.5rem;
  color: #fff;
}

#home #container .s1 .hero-slider h2 span {
  color: #87D2FF;
}

#home #container .s1 .hero-slider p {
  font-size: 1.65rem;
  line-height: 2rem;
  color: #fff;
  margin-top: 3rem;
}

#home #container .s1 .slick-dots {
  position: absolute;
  top: 0;
  left: 0;
  list-style: none;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}

#home #container .s1 .slick-dots button {
  font-size: 0;
  width: 15px;
  height: 15px;
  border: solid 1px #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all .3s ease;
  outline: none;
  cursor: pointer;
}

#home #container .s1 .slick-dots .slick-active button {
  background-color: #87D2FF;
  border-color: #87D2FF;
}

#home #container .s2 {
  padding: 6.75rem 0 4rem 0;
  overflow: hidden;
}

#home #container .s2 .container {
  max-width: 830px;
}

#home #container .s2 .global-btn {
  margin: 4.55rem 0 3rem 0;
}

#home #container .s2 .moving-txt {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 3rem;
  -moz-animation: move-txt 50s linear infinite;
  -ms-animation: move-txt 50s linear infinite;
  -o-animation: move-txt 50s linear infinite;
  -webkit-animation: move-txt 50s linear infinite;
  animation: move-txt 50s linear infinite;
}

#home #container .s2 .moving-txt p {
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 5rem;
  line-height: 5.5rem;
  color: rgba(16, 34, 45, 0.1);
  white-space: nowrap;
}

#home #container .s3 {
  height: 300vh;
  overflow: hidden;
}

#home #container .s3 .panel {
  width: 100%;
  height: 100vh;
}

#home #container .s3 .panel .container {
  max-width: 1040px;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  top: 43%;
  transform: translateY(-50%);
  padding: 5rem 0 9.5rem 0;
}

#home #container .s3 .panel .container h2, #home #container .s3 .panel .container h3, #home #container .s3 .panel .container p {
  color: #fff;
}

#home #container .s3 .panel .container h3 {
  margin-bottom: 1rem;
}

#home #container .s3 .panel .container > div {
  max-width: 556px;
}

#home #container .s3 .panel .container p {
  max-width: 536px;
}

#home #container .s3 .panel .container .global-btn {
  margin-top: 3rem;
}

#home #container .s3 .panel .container .second {
  display: none;
}

#home #container .s3 .panel .hline {
  display: block;
  position: absolute;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  transition: width 1.5s ease;
}

#home #container .s3 .panel .hline.left {
  left: 0;
  top: 0;
}

#home #container .s3 .panel .hline.right {
  bottom: 0;
  right: 0;
}

#home #container .s3 .panel .trigger[data-scroll="in"] .hline {
  width: 100vw;
}

#home #container .s3 .one {
  background: url(/i/card1-bg.png) no-repeat center/cover;
}

#home #container .s3 .two {
  background: url(/i/card2-bg.png) no-repeat center/cover;
}

#home #container .s3 .three {
  background: url(/i/card3-bg.png) no-repeat center/cover;
}

#home #container .s4 {
  padding: 7.8rem 0 6rem 0;
  background: #E7ECEF;
  position: relative;
  z-index: 1;
}

#home #container .s4 .container {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

#home #container .s4 .container > div {
  width: 50%;
}

#home #container .s4 .container > div:nth-child(1) .lg {
  max-width: 480px;
  margin-right: 2rem;
}

#home #container .s4 .global-btn {
  margin-top: 2.75rem;
}

@keyframes move-txt {
  0% {
    -webkit-transform: translate3d(0px, 0px, 0px);
  }
  100% {
    -webkit-transform: translate3d(-1500px, 0px, 0px);
  }
}

@keyframes backgroundAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/***** MEDIA *****/
@media screen and (max-height: 640px) and (min-width: 768px) {
  #home #container .s1 .hero-slider {
    padding-top: 2rem;
  }
  #home #container .s1 .hero-slider h2 {
    font-size: 3.3rem;
    line-height: 4rem;
  }
  #home #container .s1 .hero-slider p {
    margin-top: 2rem;
  }
  #home #container .s3 .panel .container h2 {
    font-size: 3rem;
    line-height: 3.8rem;
  }
  #home #container .s3 .panel .container h3 {
    font-size: 1.4rem;
    line-height: 2rem;
  }
  #home #container .s3 .panel .container p {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

@media screen and (max-width: 1100px) {
  #home #container .s1 .hero-slider h2 {
    font-size: 3.85rem;
    line-height: 4.5rem;
  }
  #home #container .s1 .hero-slider p {
    font-size: 1.4rem;
    line-height: 2rem;
  }
  #home #container .s1 .btn-scroll {
    bottom: -5rem;
  }
  #home #container .s3 {
    height: auto;
  }
  #home #container .s3 .panel {
    height: auto;
    padding: 6.75rem 0;
  }
  #home #container .s3 .panel .container {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 3rem 0 4.5rem 0;
  }
  #home #container .s3 .panel .container > div {
    max-width: none;
  }
  #home #container .s3 .panel .container h2 br {
    display: none;
  }
  #home #container .s3 .panel .container p {
    max-width: none;
  }
  #home #container .s3 .panel .container .first {
    display: none;
  }
  #home #container .s3 .panel .container .second {
    display: inline-block;
  }
}

@media screen and (max-width: 1023px) {
  #home #container .s4 .container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 2rem;
  }
  #home #container .s4 .container > div {
    width: 100%;
  }
  #home #container .s4 .container > div:nth-child(1) .lg {
    max-width: none;
    margin-right: 0;
  }
}

@media screen and (max-width: 767px) {
  #home #container .s1 .hero-slider h2 {
    font-size: 2.2rem;
    line-height: 3rem;
  }
  #home #container .s1 .hero-slider h2 br {
    display: none;
  }
  #home #container .s1 .hero-slider p {
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin-top: 2rem;
  }
  #home #container .s1 .hero-slider h2 span {
    display: inline-block;
  }
  #home #container .s1 .hero-slider .split-line {
    display: inline-block !important;
  }
  #home #container .s1 .btn-scroll {
    width: 40px;
    height: 20px;
  }
  #home #container .s1 .slick-dots button {
    width: 12px;
    height: 12px;
  }
  #home #container .s2 {
    padding: 5rem 0 3rem 0;
  }
  #home #container .s2 .global-btn {
    margin: 3rem 0 2rem 0;
  }
  #home #container .s2 .moving-txt p {
    font-size: 3.5rem;
    line-height: 4rem;
  }
  #home #container .s3 .panel {
    padding: 5rem 0;
  }
  #home #container .s3 .panel .container {
    padding: 2rem 0 3.5rem 0;
  }
  #home #container .s4 {
    padding: 5rem 0;
  }
}
