/* @import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400&display=swap"); */

@import url(./font-face.css);

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.detailProgramSection {
  overflow-x: hidden;
  font-family: "poppinsregular";
}

.detailProgram {
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.detailProgram .top {
  /* margin-top: 93px; */
  /* position: relative; */
  width: 100vw;
  height: 100%;
}

/* .detailProgram .top .top-img-container {
  position: absolute;
  z-index: -1;
} */
.detailProgram .top .top-img-container img {
  width: 100%;
  height: 85vh;
  object-fit: cover;
  object-position: top;
}

.detailProgram .top .top-logo-container {
  position: relative;
  color: white;
  top: 20%;
  text-align: center;
}

.detailProgram .middle {
  line-height: 1.7;
  width: 80%;
  margin-top: 40px;
}

.detailProgram .middle p {
  font-size: 1rem;
}

.detailProgram .middle h2 {
  font-weight: 600;
}

/* SWIPER */
.detailProgram .bottom {
  width: 20%;
  height: fit-content;
  margin-bottom: 5rem;
  display: flex;
  justify-content: center;
  gap: 20px;

}

.bottom .bottom-swiper-container {
  width: 85vw;
  transform: translateX(2%);
}

.scrollVideo {
  display: grid;
  gap: 1rem;
  grid-auto-flow: column;
  grid-auto-columns: 21%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0 0 1rem;
}

.snaps-inline {
  scroll-snap-type: inline mandatory;
}

.snaps-inline>* {
  scroll-snap-align: start;
}

.scrollVideo iframe {
  /* background-color: rgb(176, 176, 176); */
  inline-size: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  /* box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; */
}

/* .scrollVideo .video:last-child {
  visibility: hidden;
} */

/* END OF SWIPER */

/* MEDIA FOR PROGRAM DETAIL */

.detailProgramSection .btn_selengkapnya {
  display: block;
  font-size: 1rem;
  color: #f5f5f5;
  background-color: #830c11;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.5s;
  font-family: var(--font-primary);
  margin: 1rem auto;
}

@media (max-width: 575.98px) {
  .detailProgram .top {
    height: 33vh;
    margin-top: 80px;
  }

  .detailProgram .top .top-img-container img {
    width: 100vw;
    object-position: 15%;
    height: 35vh;
  }

  .detailProgram .middle {
    margin: 3rem 0;
  }

  .detailProgram .top .top-logo-container {
    top: 7%;
  }

  .scrollVideo {
    grid-auto-columns: 70%;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .detailProgram .top {
    height: 40vh;
    margin-top: 50px;
  }

  .detailProgram .top .top-img-container img {
    width: 100%;
    height: 43vh;
  }

  .detailProgram .middle {
    margin: 3rem 0;
  }

  .detailProgram .top .top-logo-container {
    top: 7%;
  }

  .scrollVideo {
    grid-auto-columns: 53%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .detailProgram .middle {
    margin: 4rem 0;
  }

  .detailProgram .top {
    height: 100%;
    margin-top: 70px;
  }

  .detailProgram .top .top-logo-container img {
    width: 240px;
  }

  .scrollVideo {
    grid-auto-columns: 45%;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .detailProgram .top {
    height: 100%;
    /* margin-bottom: 5rem; */
  }

  .scrollVideo {
    grid-auto-columns: 5%;
  }
}

@media (min-width: 1660px) {
  .detailProgram .top .top-logo-container img {
    width: 300px;
  }

  .detailProgram .top .top-logo-container p {
    font-size: 1.5rem;
  }

  .detailProgram .middle {
    font-size: 1.5rem;
  }

  /* .detailProgram .top {
    margin-bottom: 7rem;
  } */
  .detailProgram .top .top-img-container img {
    /* height: 75vh; */
    height: 84vh;
    object-fit: cover;
    object-position: top;
  }
}

@media (min-width: 2100px) {
  .detailProgram .middle {
    font-size: 1.5rem;
  }

  .detailProgram .top .top-logo-container img {
    width: 500px;
  }

  .detailProgram .top .top-logo-container p {
    font-size: 2rem;
  }

  /* .detailProgram .top {
    margin-bottom: 15rem;
  } */
}

/* END OF MEDIA FOR PROGRAM DETAIL */

/* tambahan */
@media (min-width: 768px) {
  .py-md-3 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}