@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poor+Story&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Arimo:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@font-face {
  font-family: "ws Pontac";
  src: url("fonts/ws-pontac/wsPontac-Regular.eot");
  src: local("ws Pontac Regular"), local("wsPontac-Regular"),
    url("fonts/ws-pontac/wsPontac-Regular.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/ws-pontac/wsPontac-Regular.woff2") format("woff2"),
    url("fonts/ws-pontac/wsPontac-Regular.woff") format("woff"),
    url("fonts/ws-pontac/wsPontac-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Inter", sans-serif;
}

.box-shadow {
  box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.5);
}

/* homepage */
.container-body {
  /* background: #EC098D; */
  position: relative;
  padding-top: 20px;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: url("images/bg.png");
  width: 100%;
  max-width: 412px !important;
  min-height: 100vh;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  align-items: center;
  justify-content: center;
}

.container-body-class {
  /* background: #EC098D; */
  position: relative;
  padding-top: 20px;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: #2a252e !important;
  width: 100%;
  max-width: 412px !important;
  min-height: 100vh;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  align-items: center;
  justify-content: center;
}

.footer {
  /* position: absolute; */
  padding-bottom: 20px;
}

.footer .text-footer {
  font-size: 10px;
  font-weight: 400;
  color: #fff;
  line-height: 5;
}

.footer .img-footer {
  height: 20px;
  width: auto;
}

@supports not (-webkit-touch-callout: none) {
  @media (max-width: 520px) {
    .container-body-content .content {
      zoom: 85%;
    }

    .content-container .rbn-voucher {
      width: 500px !important;
      height: 680px;
    }

    .content-container .percentage {
      top: 70px;
      font-size: 210px;
    }

    .content-container .percentage .symbol {
      top: -85px;
      font-size: 90px;
    }

    .content-container .text-items {
      top: 320px;
      font-size: 20px;
    }

    .content-container .text-item-notes {
      top: 350px;
      font-size: 8px;
    }

    .content-container .screenshot {
      bottom: 120px;
      font-size: 16px;
    }

    /* lebar */
    /* .content-container .barcode {
      bottom: 252px;
      left: 27%;
    } */

    /* kecil */
    .content-container .barcode {
      bottom: 252px;
      left: 37%;
    }

    .content-container .voucher-code {
      bottom: 205px;
    }

    .content-container .expired {
      bottom: 20px;
    }
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 420px) {
    .container-body-content .content {
      zoom: 80%;
    }

    .content-container .percentage {
      top: 80px;
      font-size: 150px !important;
    }

    .content-container .percentage .symbol {
      font-size: 60px !important;
    }

    .content-container .text-items {
      top: 320px;
      font-size: 16px;
    }

    .content-container .text-item-notes {
      top: 350px;
      font-size: 6px;
    }

    .content-container .screenshot {
      bottom: 120px;
      font-size: 14px;
    }

    /* lebar */
    /* .content-container .barcode {
      bottom: 252px;
      left: 25%;
    }
     */
    /* kecil */
    .content-container .barcode {
      bottom: 252px;
      left: 36%;
    }

    .content-container .voucher-code {
      bottom: 205px;
    }

    .content-container .expired {
      bottom: 20px;
      font-size: 14px;
    }

    /* .container-body-content {
      height: 1135px !important;
    }

    .id-member {
      top: 470px !important;
      font-size: 20px !important;
    }
    
    .nama-member {
      top: 630px !important;
    
      font-size: 17px !important;
    }
    
    .expired-member {
      bottom: 24px !important;
    
      font-size: 16px !important;
    } */
  }
}

@media (max-width: 390px) {
  .container-body-content {
    padding-top: 20px !important;
  }

  .container-body-content .content {
    zoom: 65%;
  }

  /* lebar */
  /* .content-container .barcode {
    left: 24%;
  } */

  /* kecil */
  .content-container .barcode {
    left: 37%;
  }
}

.form-foot-container {
  position: absolute;
  left: 50%;
  transform: translateX(-45%);
  bottom: 50px;
}

.form-foot-container .text-foot {
  color: #ffffff;
  text-wrap: nowrap;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 8px;
  line-height: 100%;
  letter-spacing: 0%;
}

.text-form-foot {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0%;
  text-align: justify;
}

.text-form-foot span {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0%;
}

.rich {
  width: 412px !important;
}

.text-rich {
  color: #fcdf8f;
  font-family: "Arimo", serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 129%;
  letter-spacing: 0%;
}

.img-container {
  width: 94px !important;
  height: 94px !important;
  object-fit: cover;
  margin-right: 10px;
}

.img-container img {
  width: 94px !important;
  height: 94px !important;
}

.mt-700 {
  margin-top: 700px;
}

.fz-12 {
  font-size: 12px !important;
}

.fz-14 {
  font-size: 14px !important;
}

.fz-16 {
  font-size: 16px !important;
}

.fz-20 {
  font-size: 20px !important;
}

.btn-success-class {
  background: #aa872d;
  padding: 15px 20px;
  border-radius: 14px;
  border: 2px solid #aa872d;

  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
}

.btn-success-class:active {
  background: #aa872d !important;
  border: 2px solid #aa872d !important;
  color: #ffffff !important;
}

.btn-success-class:hover {
  background: #ffffff;
  border: 2px solid #aa872d;
  color: #aa872d;
}

.btn-pilih-class {
  background: #aa872d;
  padding: 8px 12px;
  border-radius: 7px;
  margin: 0;
  border: 2px solid #aa872d;

  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
}

.btn-pilih-class:active {
  background: #aa872d !important;
  border: 2px solid #aa872d !important;
  color: #ffffff !important;
}

.btn-pilih-class:hover {
  background: #ffffff;
  border: 2px solid #aa872d;
  color: #aa872d;
}

.text-rich-footer {
  color: #fcdf8f;
  font-family: "Arimo", serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 145%;
  letter-spacing: 0%;
  text-align: center;
}

.img-container-class {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.img-container-class img {
  width: 100% !important;
  height: 100% !important;
}

.text-desc-class {
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 100%;
  letter-spacing: 0%;
}

.btn-kembali-class {
  width: 230px;
  background: #f4e0b6;
  padding: 12px 20px;
  border-radius: 14px;
  border: 2px solid #f4e0b6;

  color: #aa872d;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
}

.btn-kembali-class:hover {
  background: #ffffff;
  border: 2px solid #f4e0b6;
  color: #f4e0b6;
}

.btn-kembali-class:active {
  background: #f4e0b6 !important;
  border: 2px solid #f4e0b6 !important;
  color: #aa872d !important;
}

.swal2-modal {
  max-width: 100% !important;
  border-radius: 21px !important;
  font-family: "Poppins", sans-serif !important;
}

.swal2-title {
  color: #2a252e;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 129%;
  letter-spacing: 0%;
  text-align: center;
}

.swal2-html-container p {
  color: #2a252e;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 129%;
  letter-spacing: 0%;
  text-align: center;
}

.form-control {
  width: 100% !important;
  background: #f5f3f3 !important;
  width: 312 !important;
  height: 67 !important;
  border-radius: 8px !important;
  border: none !important;
  box-shadow: none !important;
}

.swal2-cancel {
  background: #ffebb4 !important;
  width: 150px !important;
  border-radius: 8px !important;
  color: #aa872d !important;
  border: none !important;
  box-shadow: none !important;
}

.swal2-confirm {
  background: #aa872d !important;
  width: 150px !important;
  border-radius: 8px !important;
  border: none !important;
  box-shadow: none !important;
}

.swal2-validation-message {
  background: transparent !important;
  color: #b03033 !important;
  font-weight: 600;
}

.swal2-validation-message::before {
  display: none !important;
}

div:where(.swal2-container).swal2-backdrop-show,
div:where(.swal2-container).swal2-noanimation {
  background: #242f3ee3 !important;
}

.image-with-overlay {
  position: relative;
  display: inline-block;
  /* Sesuaikan dengan kebutuhan */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    185deg,
    rgba(255, 255, 255, 0.2),
    rgba(70, 70, 70, 0.2),
    rgba(70, 70, 70, 0.2),
    rgba(70, 70, 70, 0.5),
    rgba(70, 70, 70, 0.6)
  ); /*
  /* Overlay hitam dengan opacity 50% */
  z-index: 1;
}

.back-arrow {
  position: absolute;
  top: 15px;
  left: 25px;
  z-index: 10;
}

.playlist-desc {
  position: absolute;
  bottom: 0;
  left: 25px;
}

.text-kelas {
  color: #fcdf8f;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  z-index: 10;
}

.class-title {
  color: #fcdf8f;
  font-family: "ws Pontac";
  font-weight: 400;
  font-size: 34px;
  line-height: 100%;
  letter-spacing: 0%;
  z-index: 10;
}

.mr-5px {
  margin-right: 5px !important;
}

.mr-10px {
  margin-right: 10px !important;
}

.mr-15px {
  margin-right: 15px !important;
}

.text-kelas .material-icons {
  font-size: 16px;
}

/* playlist container */

.content-playlist {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #43424d;
}
.content-playlist img {
  border-radius: 3px;
  width: 60px;
  height: 60px;
  object-fit: cover;
}
.text-content {
  flex-grow: 1;
  margin-left: 15px;
}
.text-content h6 {
  font-size: 14px;
  color: #fff;
  margin: 0;
}
.text-content h5 {
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  margin: 0;
}
.text-content p {
  font-size: 14px;
  color: #fff;
  margin: 0;
}
.play-button {
  width: 45px;
  height: 45px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.play-button i {
  color: #b88c38; /* Warna emas */
  font-size: 20px;
}

.watch-video {
  font-family: "Poppins", sans-serif !important;
  color: #ffffff !important;
}

.watch-video .video-title {
  font-family: Poppins;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
}

.watch-video .video-desc {
  font-family: Poppins;
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 0%;
}
