.slider-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 1272px;
  margin: 0 auto;
  margin-top: 120px;
  /* margin: 0 auto; */
}

.slider-title {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-size: 64px;
  line-height: 79px;
  margin-bottom: 56px;
  color: #000000;
}

.slideshow-container {
  max-width: 1272px;
  margin: auto;
  height: 670px;
  position: relative;
  scroll-behavior: smooth;
}
@keyframes fade {
  0% {
    transform: translatex(-100%);
  }
  100% {
    transform: translatex(0);
  }
}
@keyframes fade-out {
  0% {
    transform: translatex(0);
    opacity: 1;
  }
  100% {
    transform: translatex(100%);
    opacity: 0;
  }
}
.slide-active {
  z-index: 1;
  display: flex;
  animation: fade 500ms ease-in-out;
}
.slide-hidden {
  z-index: -10;
  animation: fade-out 500ms ease-in-out;
}

/* ẩn hình ảnh cho phần tử slideshow */
/* thiết kế nút mũi tên*/
.next {
  z-index: 3;
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  color: #000;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
/* thiết kế nút mũi tên next nằm phía bên phải */
.next {
  right: -20px;
  border-radius: 3px 0 0 3px;
}

.prev {
  z-index: 3;
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  color: #000;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  transform: scaleX(-1);
}
/* thiết kế nút mũi tên next nằm phía bên phải */
.prev {
  left: -8px;
  border-radius: 3px 0 0 3px;
}
/* hiệu ứng thay đổi background khi hover vào nút mũi tên*/
.next:hover {
}
/* Thiết lập style cho nội dung của mỗi phần tử slideshow */
.slide-item {
  color: #000;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}
/* slider */
.box-1 {
  width: 50%;
  height: 654px;
  background-color: #facbaa;
  position: relative;
  /* z-index: 2; */
}

.box-sub-1 {
  width: 101%;
  height: 657px;
  background: linear-gradient(108.94deg, #f6c18f -9.26%, #2f1905 27.28%);
  position: absolute;
  top: 10px;
  left: 9px;
  display: flex;
  flex-direction: row;
}

.box-sub-1.slider2 {
  background: linear-gradient(
    108.94deg,
    #e6eaed -9.26%,
    #52582a 27.28%
  ) !important;
}

.box-sub-1.slider3 {
  background: linear-gradient(108.94deg, #f6c18f -9.26%, #2f1905 27.28%);
}

.box-sub-1.slider4 {
  background: linear-gradient(108.94deg, #e6eaed -9.26%, #52582a 27.28%);
}

.box-sub-1 .img {
  margin: 15px 15px 0 15px;
}

.box-sub-1 .content {
  margin: 24px 0 0 0;
  text-align: left;
}

.box-sub-1 .content .text-1 {
  font-family: "Nunito Sans";
  font-weight: 800;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffa343;
  margin-bottom: 13px;
  padding-left: 17px;
}

.box-sub-1 .content .text-2 {
  font-family: "Playfair Display";
  font-weight: 600;
  font-size: 32px;
  line-height: 43px;
  letter-spacing: 0.32px;
  color: #ffffff;
  margin-bottom: 24px;
  padding-left: 17px;
}

.box-sub-1 .content .wrap-content {
  width: 80%;
  height: 448px;
  position: relative;
  overflow-y: auto;
  direction: rtl;
  padding-left: 17px;
}

.box-sub-1 .content .wrap-content .long-description {
  direction: ltr;
  font-family: "Nunito Sans";
  margin-bottom: 30px;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: #ffffff;
  text-align: left;
}

.box-sub-1 .content .wrap-content::-webkit-scrollbar-track {
  padding: 2px 0;
  background-color: #d9d9d9;
}
.box-sub-1 .content .wrap-content::-webkit-scrollbar {
  width: 3px;
}
.box-sub-1 .content .wrap-content::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 6px #fbd784;
  background-color: #fbd784;
}

.box-sub-1 .content .subcribe {
  margin-top: 30px;
  display: flex;
  justify-content: flex-start;
  font-weight: 700;
  font-size: 20px;
  line-height: 27px;
  text-align: center;
  letter-spacing: 0.25px;
  text-transform: uppercase;
  color: #ffa343;
  padding-left: 17px;
  cursor: pointer;
}

.box-sub-1 .content .subcribe img {
  margin-left: 10px;
}

.box-2 {
  width: 100%;
  height: 657px;
  position: absolute;
  top: 10px;
  left: 630px;
  background: white;
  color: #000;
  display: flex;
  flex-direction: row;
  z-index: 0;
}

.box-2 .img {
  margin: 24px 22px 0 0;
}

.box-2 .content {
  margin: 24px 0 0 0;
  text-align: left;
}

.box-2 .content .text-1 {
  font-family: "Nunito Sans";
  font-weight: 800;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffa343;
  margin-bottom: 13px;
  padding-left: 17px;
}

.box-2 .content .text-2 {
  font-family: "Playfair Display";
  font-weight: 600;
  font-size: 32px;
  line-height: 43px;
  letter-spacing: 0.32px;
  color: #000000;
  margin-bottom: 24px;
  padding-left: 17px;
}

.box-2 .content .wrap-content {
  width: 80%;
  height: 448px;
  position: relative;
  overflow-y: auto;
  direction: rtl;
  padding-left: 17px;
}

.box-2 .content .wrap-content.wrapper-long {
  height: 400px;
}

.box-2 .content .wrap-content .long-description {
  direction: ltr;
  font-family: "Nunito Sans";
  margin-bottom: 30px;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: #000000;
  text-align: left;
}

.box-2 .content .wrap-content::-webkit-scrollbar-track {
  padding: 2px 0;
  background-color: #d9d9d9;
}
.box-2 .content .wrap-content::-webkit-scrollbar {
  width: 3px;
}
.box-2 .content .wrap-content::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 6px #fbd784;
  background-color: #fbd784;
}

.box-2 .content .subcribe {
  margin-top: 30px;
  display: flex;
  justify-content: flex-start;
  font-size: 20px;
  font-weight: 700;
  line-height: 27px;
  text-align: center;
  letter-spacing: 0.25px;
  text-transform: uppercase;
  color: #ffa343;
  padding-left: 17px;
  cursor: pointer;
}

.box-2 .content .subcribe img {
  margin-left: 10px;
}

.box-2 .img-diff {
  margin: 48px 22px 0 0;
}

.box-2 .img-diff img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.bold-text {
  font-weight: 700;
  color: #000000;
}

/* thiết lập style  nút tròn điều khiển*/
.dot-wrap {
  margin-top: 20px;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #d9d9d9;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #000;
}

.slider-mobile {
  display: none;
}

@media only screen and (max-width: 768px) {
  .slider-wrapper {
    display: none;
  }

  .slider-mobile {
    display: flex;
    flex-direction: column;
    margin: 0 15px;
    margin-top: 100px;
  }

  .slider-title {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 400;
    font-size: 42px;
    line-height: 56px;
    margin-bottom: 40px;
    color: #000000;
  }

  .slideshow-container {
    max-width: 100%;
    margin: auto;
    height: 600px;
    position: relative;
    scroll-behavior: smooth;
  }
  @keyframes fade {
    0% {
      transform: translatex(-100%);
    }
    100% {
      transform: translatex(0);
    }
  }
  @keyframes fade-out {
    0% {
      transform: translatex(0);
      opacity: 1;
    }
    100% {
      transform: translatex(100%);
      opacity: 0;
    }
  }

  .next {
    z-index: 3;
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    color: #000;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    width: 30px;
    height: 30px;
  }

  .prev {
    z-index: 3;
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    color: #000;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    transform: scaleX(-1);
    width: 30px;
    height: 30px;
  }
  .slide-active {
    z-index: 1;
    display: flex;
    animation: fade 500ms ease-in-out;
  }
  .slide-hidden {
    z-index: -10;
    animation: fade-out 500ms ease-in-out;
  }

  /* Thiết lập style cho nội dung của mỗi phần tử slideshow */
  .slider-item-mo {
    color: #000;
    font-size: 15px;
    padding: 5px 5px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  /* slider */

  .slider-item-mo {
    width: 100%;
    height: 657px;
    background: linear-gradient(108.94deg, #f6c18f -9.26%, #2f1905 27.28%);
    position: absolute;
    top: 0px;
    left: 0px;
    display: flex;
    flex-direction: row;
  }

  .slider-item-mo.slider2 {
    background: linear-gradient(
      108.94deg,
      #e6eaed -9.26%,
      #52582a 27.28%
    ) !important;
  }

  .slider-item-mo.slider3 {
    background: linear-gradient(108.94deg, #f6c18f -9.26%, #2f1905 27.28%);
  }

  .slider-item-mo.slider4 {
    background: linear-gradient(108.94deg, #e6eaed -9.26%, #52582a 27.28%);
  }

  .slider-item-mo .img {
    margin: 0;
    height: 100%;
    /* width: 40%; */
  }

  .slider-item-mo .img img {
    /* width: 100%;
    height: 100%; */
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .slider-item-mo .content {
    margin: 24px 0 0 0;
    text-align: left;
    width: 60%;
  }

  .slider-item-mo .content.content-long {
    margin: 24px 0 0 0;
    text-align: left;
    width: 100%;
  }

  .slider-item-mo .content .text-1 {
    font-family: "Nunito Sans";
    font-weight: 800;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ffa343;
    margin-bottom: 13px;
    padding-left: 5px;
  }

  .slider-item-mo .content .text-2 {
    font-family: "Playfair Display";
    font-weight: 600;
    font-size: 32px;
    line-height: 43px;
    letter-spacing: 0.32px;
    color: #ffffff;
    margin-bottom: 24px;
    padding-left: 5px;
  }

  .slider-item-mo .content .wrap-content {
    width: 100%;
    height: 400px;
    position: relative;
    overflow-y: auto;
    direction: rtl;
    padding-left: 5px;
  }

  .slider-item-mo .content.content-long .wrap-content {
    width: 100%;
    height: 350px;
    position: relative;
    overflow-y: auto;
    direction: rtl;
    padding-left: 5px;
  }

  .slider-item-mo .content .wrap-content .long-description {
    direction: ltr;
    font-family: "Nunito Sans";
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #ffffff;
    text-align: left;
  }

  .slider-item-mo .content .wrap-content::-webkit-scrollbar-track {
    padding: 2px 0;
    background-color: #d9d9d9;
  }
  .slider-item-mo .content .wrap-content::-webkit-scrollbar {
    width: 3px;
  }
  .slider-item-mo .content .wrap-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow: inset 0 0 6px #fbd784;
    background-color: #fbd784;
  }

  .slider-item-mo .content .subcribe {
    margin-top: 30px;
    display: flex;
    justify-content: flex-start;
    font-weight: 700;
    font-size: 20px;
    line-height: 27px;
    text-align: center;
    letter-spacing: 0.25px;
    text-transform: uppercase;
    color: #ffa343;
    padding-left: 5px;
    cursor: pointer;
  }

  .slider-item-mo .content .subcribe img {
    margin-left: 10px;
  }

  .bold-text {
    font-weight: 700;
    color: #000000;
  }

  .slider-item-mo .img-diff {
    margin: auto;
  }

  .slider-item-mo .img-diff img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* thiết lập style  nút tròn điều khiển*/
  .dot-wrap {
    margin-top: 20px;
  }

  .dot-mo {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #d9d9d9;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }

  .active,
  .dot-mo:hover {
    background-color: #000;
  }
  /* thiết kế nút mũi tên next nằm phía bên phải */
  .next {
    right: -10px;
    border-radius: 3px 0 0 3px;
  }
}

@media only screen and (max-width: 450px) {
  /* Thiết lập style cho nội dung của mỗi phần tử slideshow */
  .slider-item-mo {
    color: #000;
    font-size: 15px;
    padding: 5px 5px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  /* slider */

  .slider-item-mo {
    width: 100%;
    height: 600px;
    background: linear-gradient(108.94deg, #f6c18f -9.26%, #2f1905 27.28%);
    position: absolute;
    top: 0px;
    left: 0px;
    display: flex;
    flex-direction: row;
  }

  .slider-item-mo .img {
    margin: 0;
    height: 100%;
  }

  .slider-item-mo .img img {
    /* width: 100%; */
    height: 98%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
    opacity: 0.3;
  }

  .slider-item-mo .content {
    margin: 24px 0 0 0;
    text-align: left;
    width: 100%;
  }

  .slider-item-mo .content.content-long {
    margin: 24px 0 0 0;
    text-align: left;
    width: 100%;
  }
}
