/* -------------------------------- 

Primary style

-------------------------------- */


/* -------------------------------- 
  
  Hero Slider - by CodyHouse.co
  
  -------------------------------- */
/* Main Header */

/* Slider */
.cd-hero {
  position: relative;
  margin: 0;
}

.cd-hero__slider {
  position: relative;
  height: 100vh;
  /* top:0; */
  width: 100%;
  overflow: hidden;
  /* border: 1px solid black; */
  margin: 0;
}

.cd-hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Force Hardware Acceleration */
  -webkit-transform: translateZ(0px);
  transform: translateZ(0px);
  will-change: transform;
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.cd-hero__slide.cd-hero__slide--selected {
  /* this is the visible slide */
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}

.cd-hero__slide.cd-hero__slide--move-left {
  /* slide hidden on the left */
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
}

.cd-hero__slide.cd-hero__slide--is-moving,
.cd-hero__slide.cd-hero__slide--selected {
  /* the cd-hero__slide--is-moving class is assigned to the slide which is moving outside the viewport */
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
}

@media only screen and (min-width: 768px) {
  .cd-hero__slider {
    height: 100vh;
  }
}

@media only screen and (min-width: 1170px) {
  .cd-hero__slider {
    height: 100vh;
  }
}

/* Slide style */
.cd-hero__slide {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  /* border:1px solid black; */
}

.cd-hero__slide:first-of-type {
  background-color: #2c343b;
  background-image: url(../images/background1.jpg);
}

/* .cd-hero__slide:nth-of-type(s2) {
    background-color: #3d4952;
    background-image: url(../images/background1.jpg)
  } */

/* .cd-hero__slide:nth-of-type(3) {
    background-color: #586775;
    background-image: url("../images/utama.png");
  }
  
  .cd-hero__slide:nth-of-type(4) {
    background-color: #2c343b;
    background-image: url("../assets/video-replace-mobile.jpg");
  }
  
  .cd-hero__slide:nth-of-type(5) {
    background-color: #2c343b;
    background-image: url(../assets/img.jpg);
  } */
.cd-hero__content.cd-hero__content--half-width {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  left: 0;
  top: 0;
  /* this padding is used to align the text */
  padding-top: 90px;
  text-align: center;
  /* Force Hardware Acceleration */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

.cd-hero__content.cd-hero__content--full-width {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  left: 0;
  top: 0;
  /* this padding is used to align the text */
  padding-top: 50px;
  text-align: center;
  /* Force Hardware Acceleration */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}


.cd-hero__content h2,
.cd-hero__content p,
.cd-hero__btn,
.cd-hero__content--img img {
  /* Force Hardware Acceleration */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

.cd-hero__content.cd-hero__content--img {
  /* hide image on mobile device */
  z-index: 0;

}

.cd-hero__content--img img {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}


/* @media only screen and (min-width: 1200px){
    .cd-hero__content.cd-hero__content--full-width p {
      padding-top: 10px;
    }
 
  } */
@media only screen and (max-width: 980px) {
  .cd-hero__content--img img {
    left: 50%;
    top: 60%;
  }

}

@media only screen and (max-width: 768px) {
  .cd-hero__content--img img {
    width: 500px;
  }

  .cd-hero__content--img img {
    top: 50%;
  }
}

@media only screen and (max-width: 578px) {
  .cd-hero__content--img img {
    width: 350px;
  }
}

.cd-hero__content.cd-hero__content--bg-video {
  /* hide video on mobile device */
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cd-hero__content--bg-video video {
  /* you won't see this element in the html, but it will be injected using javascript */
  display: block;
  min-height: 100%;
  min-width: 100%;
  max-width: none;
  height: auto;
  width: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.cd-hero__content h2 {
  /* text-shadow: 0px 5px 3px rgba(8, 8, 8, 0.322); */
  line-height: 1.5;
  margin: 0 auto 14px;
  /* color: #e5ff00; */
  background: -webkit-linear-gradient(#ffcc00, #d4af37, #ffcc00, #d4af37, #ffcc00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: 100%;
  filter: drop-shadow(-4px 3px 6px rgba(54, 54, 54, 0.89));
  /*background-image: ;
    /* max-width: 700px; */
}

.cd-hero__content h3 {
  text-shadow: 0 5px 3px rgba(0, 0, 0, 0.1);
  line-height: 1.2;
  margin: 0 auto 14px;
  color: #250c00;
  width: 100%;
  font-size: 4.5px;
  /*background-image: ;
    /* max-width: 700px; */
}

.cd-hero__content p {
  text-shadow: 0 3px 5px rgba(0, 0, 0, 0.726);
  /* padding: 15px; */
  line-height: 1.2;
  margin: 0 auto 14px;
  color: #ffffff;
  width: 70%;


  /* background-color: rgba(255, 255, 255, 0.212); */
}

.cd-hero__content h2 {
  font-size: 2rem;
  /* background-color: rgb(255, 255, 255); */
}

.cd-hero__content .well {
  /* width: 90%; */
  text-shadow: 0 5px 3px rgb(0, 0, 0);
  line-height: 1.2;
  margin: 0 auto 14px;
  color: #ffffff;
  width: 100%;
  font-size: 4.5rem;

  /* background-color: #ffffff28; */
}


.cd-hero__btn {
  display: inline-block;
  padding: 1.2em 1.4em;
  margin-top: .9em;
  background-color: rgba(212, 68, 87, 0.9);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  -webkit-transition: background-color 0.2s;
  transition: background-color 0.2s;
}

.cd-hero__btn2 {
  display: inline-block;
  padding: 1.2em 1.4em;
  margin-top: 20em;
  background-color: rgba(212, 68, 87, 0.9);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  -webkit-transition: background-color 0.2s;
  transition: background-color 0.2s;
}

.cd-hero__btn.cd-hero__btn--secondary {
  background-color: #d69a0d;
  text-decoration: none;
}

.cd-hero__btn2.cd-hero__btn--secondary2 {
  background-color: #d69a0d;
  text-decoration: none;
}

.cd-hero__btn:nth-of-type(2) {
  margin-left: 1em;
}

.cd-hero__btn:hover {
  background-color: #d44457;
}

.cd-hero__btn.cd-hero__btn--secondary:hover {
  background-color: #ffffff;
  color: #d69a0d;
}

.cd-hero__btn2.cd-hero__btn--secondary2:hover {
  background-color: #ffffff;
  color: #d69a0d;
}

@media only screen and (max-width: 768px) {

  .cd-hero__content.cd-hero__content--full-width,
  .cd-hero__content.cd-hero__content--half-width {
    padding-top: 140px;
    /* border: 1px solid black; */
  }

  .cd-hero__btn2 {
    margin-top: 25em;
  }

  .cd-hero__content img {
    width: 180px;
    /* position: absolute; */
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* animation-name: beat;
    animation-duration: 1.5s;
    animation-iteration-count: infinite; */
  }

  @keyframes beat {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(0.6);
    }
  }

  .cd-hero__content h2 {
    font-size: 3em;
    /* font-weight: 600; */
  }

  .cd-hero__content h3 {
    font-size: 2.5em;
    font-weight: 400;
  }

  .cd-hero__content p {
    margin-bottom: 30px;
    margin-top: 20px;
  }
}

@media only screen and (max-width: 576px) {

  .cd-hero__content.cd-hero__content--full-width,
  .cd-hero__content.cd-hero__content--half-width {
    padding-top: 50;
    /* border: 1px solid black; */
  }

  .cd-hero__btn2 {
    margin-top: 19em;
  }

  .cd-hero__content img {
    width: 180px;
    /* position: absolute; */
    margin: 20px 0;
    /* animation-name: beat;
    animation-duration: 1.5s;
    animation-iteration-count: infinite; */
  }

  @keyframes beat {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(0.6);
    }
  }

  .cd-hero__content h2 {
    font-size: 2em;
    /* font-weight: 600; */
  }

  .cd-hero__content h3 {
    font-size: 2em;
    /* font-weight: 600; */
  }

  .cd-hero__content p {
    font-size: 1.2rem;
  }

  .cd-hero__content h2,
  .cd-hero__content p {
    margin-bottom: 10px;
  }
}


/* @media only screen and (min-width: 768px) {
 
    .cd-hero__content.cd-hero__content--full-width,
    .cd-hero__content.cd-hero__content--half-width {
    padding-top: 100px;

    }
    .cd-hero__content.cd-hero__content--bg-video {
      display: block;
    }
    .cd-hero__content.cd-hero__content--half-width {
      width: 40%;
    }
    .cd-hero__content.cd-hero__content--half-width:first-of-type {
      left: 5%;
      width: 50%;
    }
    .cd-hero__content.cd-hero__content--half-width:nth-of-type(2) {
      right: 5%;
      left: auto;
    }
    .cd-hero__content.cd-hero__content--img {
      display: block;
    }
    .cd-hero__content h2, .cd-hero__content p {
      max-width: 100%;
    }
    .img1{
      width: 180px;
      margin: auto;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      animation-name: beat;
      animation-duration: 1.5s;
      animation-iteration-count: infinite;
      }
      @keyframes beat {
        0% {
          transform: scale(1) ;
        }
        50% {
          transform: scale(0.6);
        }
      }
    .cd-hero__content h2 {
      font-size: 4.2em;
      font-weight: 600;
    }
    .cd-hero__content h3 {
      font-size: 3.5em;
      font-weight: 600;
    }
    .cd-hero__btn {
      font-size: 1rem;
    }
    .cd-hero__btn2 {
      font-size: 1rem;
      margin-top: .9em;
    }
  } */

@media only screen and (min-width: 768px) {
  .cd-hero__content.cd-hero__content--full-width {
    padding-top: 120px;
  }

  .cd-hero__content.cd-hero__content--half-width {
    padding-top: 120px;
  }

  .cd-hero__content p {
    margin-bottom: 30px;
    margin-top: 20px;
  }

  .cd-hero__content h2 {
    font-size: 4em;
  }

  .img1 {
    width: 140px;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* animation-name: beat; */
    /* animation-duration: 1.5s; */
    /* animation-iteration-count: infinite; */
  }

  @keyframes beat {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(0.6);
    }
  }

  .cd-hero__content h3 {
    font-size: 3.5em;
    font-weight: 400;
  }

  .cd-hero__content p {
    font-size: 25px;
    font-weight: 200;
  }

  .cd-hero__btn2 {
    margin-top: .9em;
  }
}

/* Single slide animation */
@media only screen and (min-width: 768px) {
  .cd-hero__content.cd-hero__content--half-width {
    opacity: 0;
    -webkit-transform: translateX(40px);
    -ms-transform: translateX(40px);
    transform: translateX(40px);
  }

  .cd-hero__slide--move-left .cd-hero__content.cd-hero__content--half-width {
    -webkit-transform: translateX(-40px);
    -ms-transform: translateX(-40px);
    transform: translateX(-40px);
  }

  .cd-hero__slide--selected .cd-hero__content.cd-hero__content--half-width {
    /* this is the visible slide */
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }

  .cd-hero__slide--is-moving .cd-hero__content.cd-hero__content--half-width {
    /* this is the slide moving outside the viewport 
      wait for the end of the transition on the <li> parent before set opacity to 0 and translate to 40px/-40px */
    -webkit-transition: opacity 0s 0.5s, -webkit-transform 0s 0.5s;
    transition: opacity 0s 0.5s, -webkit-transform 0s 0.5s;
    transition: opacity 0s 0.5s, transform 0s 0.5s;
    transition: opacity 0s 0.5s, transform 0s 0.5s, -webkit-transform 0s 0.5s;
  }

  .cd-hero__slide--from-left.cd-hero__slide--selected .cd-hero__content.cd-hero__content--half-width:nth-of-type(2),
  .cd-hero__slide--from-right.cd-hero__slide--selected .cd-hero__content.cd-hero__content--half-width:first-of-type {
    /* this is the selected slide - different animation if it's entering from left or right */
    -webkit-transition: opacity 0.4s 0.2s, -webkit-transform 0.5s 0.2s;
    transition: opacity 0.4s 0.2s, -webkit-transform 0.5s 0.2s;
    transition: opacity 0.4s 0.2s, transform 0.5s 0.2s;
    transition: opacity 0.4s 0.2s, transform 0.5s 0.2s, -webkit-transform 0.5s 0.2s;
  }

  .cd-hero__slide--from-left.cd-hero__slide--selected .cd-hero__content.cd-hero__content--half-width:first-of-type,
  .cd-hero__slide--from-right.cd-hero__slide--selected .cd-hero__content.cd-hero__content--half-width:nth-of-type(2) {
    /* this is the selected slide - different animation if it's entering from left or right */
    -webkit-transition: opacity 0.4s 0.4s, -webkit-transform 0.5s 0.4s;
    transition: opacity 0.4s 0.4s, -webkit-transform 0.5s 0.4s;
    transition: opacity 0.4s 0.4s, transform 0.5s 0.4s;
    transition: opacity 0.4s 0.4s, transform 0.5s 0.4s, -webkit-transform 0.5s 0.4s;
  }

  .cd-hero__content--full-width h2 {
    font-size: 90px;

  }

  .cd-hero__content--full-width h2,
  .cd-hero__content--full-width p,
  .cd-hero__content--full-width .cd-hero__btn .cd-hero__btn2 {
    -webkit-transform: translateX(100px);
    -ms-transform: translateX(100px);
    transform: translateX(100px);

  }

  .cd-hero__slide--move-left .cd-hero__content--full-width h2,
  .cd-hero__slide--move-left .cd-hero__content--full-width p,
  .cd-hero__slide--move-left .cd-hero__content--full-width .cd-hero__btn .cd-hero__btn2 {
    -webkit-transform: translateX(-100px);
    -ms-transform: translateX(-100px);
    transform: translateX(-100px);
  }

  .cd-hero__slide--selected .cd-hero__content--full-width h2,
  .cd-hero__slide--selected .cd-hero__content--full-width p,
  .cd-hero__slide--selected .cd-hero__content--full-width .cd-hero__btn .cd-hero__btn2 {
    /* this is the visible slide */
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }

  .cd-hero__slide--is-moving .cd-hero__content--full-width h2,
  .cd-hero__slide--is-moving .cd-hero__content--full-width p,
  .cd-hero__slide--is-moving .cd-hero__content--full-width .cd-hero__btn .cd-hero__btn {
    /* this is the slide moving outside the viewport 
      wait for the end of the transition on the li parent before set translate to 100px/-100px */
    -webkit-transition: -webkit-transform 0s 0.5s;
    transition: -webkit-transform 0s 0.5s;
    transition: transform 0s 0.5s;
    transition: transform 0s 0.5s, -webkit-transform 0s 0.5s;
  }

  .cd-hero__slide--selected h2 {
    -webkit-transition: -webkit-transform 0.5s 0.2s;
    transition: -webkit-transform 0.5s 0.2s;
    transition: transform 0.5s 0.2s;
    transition: transform 0.5s 0.2s, -webkit-transform 0.5s 0.2s;
  }

  .cd-hero__slide--selected p {
    -webkit-transition: -webkit-transform 0.5s 0.3s;
    transition: -webkit-transform 0.5s 0.3s;
    transition: transform 0.5s 0.3s;
    transition: transform 0.5s 0.3s, -webkit-transform 0.5s 0.3s;
  }

  .cd-hero__slide--selected .cd-hero__btn {
    -webkit-transition: background-color 0.2s 0s, -webkit-transform 0.5s 0.4s;
    transition: background-color 0.2s 0s, -webkit-transform 0.5s 0.4s;
    transition: transform 0.5s 0.4s, background-color 0.2s 0s;
    transition: transform 0.5s 0.4s, background-color 0.2s 0s, -webkit-transform 0.5s 0.4s;
  }

  .cd-hero__slide--selected .cd-hero__btn2 {
    -webkit-transition: background-color 0.2s 0s, -webkit-transform 0.5s 0.4s;
    transition: background-color 0.2s 0s, -webkit-transform 0.5s 0.4s;
    transition: transform 0.5s 0.4s, background-color 0.2s 0s;
    transition: transform 0.5s 0.4s, background-color 0.2s 0s, -webkit-transform 0.5s 0.4s;
  }
}

/* Slider navigation */