/* ====================================================
# carousel
==================================================== */
.carousel {
  position: relative;
}

.carousel-main .carousel-indicators li {
  width: 20px;
  height: 20px;
}

.carousel-main .carousel-indicators li.active {
  background-color: #ffd803;
}

/* .carousel-main .carousel-item {
  position: relative;
 } */

.cl-mask {
  position: absolute;
  overflow: hidden;
  z-index: 1;
  height: 100%;
  width: 40vw;
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  /* align-items: center; */
  flex-direction: column;
  color: #ffffff;
}

.cl-txt {
  padding: 10%;
  line-height: 4;
}
.cl-txt h1 {
  font-weight: 700;
  font-size: 2.4rem;
}

.cl-txt .en {
  font-size: 3.2rem;
}

.btn-top {
  font-size: inherit;
  color: #ffd803;
  border: 1px solid #ffd803;
  padding: 0.8rem 4rem;
  border-radius: 5px;
  letter-spacing: 5px;
  transition: all 0.2s ease-in-out;
}

.btn-top:hover {
  color: #ffffff;
  border: 1px solid #ffffff;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 10;
}

.carousel .carousel-indicators {
  left: 60vw;
}

@media (max-width: 1140px) {
  .cl-mask {
    width: 50vw;
  }
  .cl-txt {
    padding: 2% 5%;
  }
  .carousel .carousel-indicators {
    left: 50vw;
  }
}
@media (max-width: 992px) {
  .carousel .carousel-indicators {
    left: 0vw;
  }
  .cl-txt {
    padding: 2% 10%;
  }
  .cl-txt h1 {
    font-weight: 700;
    font-size: 2rem;
  }

  .cl-txt .en {
    font-size: 2.5rem;
  }
  .btn-top {
    font-size: 16px;
    padding: 0.8rem 1.8rem;
  }
}
@media (max-width: 960px) {
  .cl-mask {
    width: 70%;
  }
}
@media (max-width: 576px) {
  .cl-mask {
    width: 100%;
  }
}
