@font-face {
  font-family: "RealTextPro-Bold";
  src: url("../assets/fonts/RealTextPro-Bold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "RealTextPro-Medium";
  src: url("../assets/fonts/RealTextPro-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "RealTextPro-Regular";
  src: url("../assets/fonts/RealTextPro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "RealTextPro-Regular", sans-serif;
}
html {
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
}
body {
  background-color: #222;
}

p {
  font-family: "RealTextPro-Regular";
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
}

/* START: GLOBAL CSS */
.content-steamer {
  max-width: 450px;
  margin: 0 auto;
  position: relative;
}

.cover {
  background-color: #030d40;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.cover::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.2);
}
/*  START: Moon */
.moon {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  z-index: 3;
}

.moon > img {
  width: 100%;
  object-fit: cover;
}

@media screen and (max-height: 700px) {
  .moon > img {
    object-fit: fill;
  }
}

@media screen and (max-width: 400px) {
  .moon > img {
    object-fit: fill;
    object-position: center;
  }
}

/*  END: Moon */

/* START: Cloud Up */
.cloud_up {
  height: 4rem;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 1;
}
.cloud_up > img {
  width: 36rem;
  object-fit: cover;
}
/* END: Cloud Up */

/* START: Cloud Down */
.cloud_bottom {
  position: absolute;
  width: 100%;
  bottom: -0.4rem;
}
.cloud_bottom > img {
  width: 100%;
}
/* END: Cloud Down */
/* START: Ramadan Full */
.ramadan_full {
  position: absolute;
  width: 100%;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  animation: ramadan 3s infinite;
  object-fit: cover;
}
.ramadan_full > img {
  width: 100%;
  object-fit: cover;
}

@keyframes ramadan {
  0% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(-52%);
  }
  100% {
    transform: translateY(-50%);
  }
}

.btn {
  background-color: transparent;
  border: none;
}

.btn-single {
  max-width: 10rem;
  margin: 0 auto;
}

/* END: Global CSS */

/* START: Frame 1 */
.frame_1 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  gap: 1rem;
  position: absolute;

  top: 50%;
  transform: translateY(-50%);

  z-index: 99;
  height: 65vh;
  padding: 0 1.8rem;
}
.frame_1 > .judul_temukan {
  width: 95%;
}

.frame_1 .btn_swipe > img {
  width: 3rem;
}

.frame_1 .btn_swipe {
  cursor: pointer;
  animation: swipe 2s infinite;
}

@keyframes swipe {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(0.6rem);
  }
  100% {
    transform: translateY(0);
  }
}

.frame_1 > .judul_temukan > img {
  width: 100%;
  height: 100%;
}
.frame_1 > .logo {
  margin: 0;
}
.frame_1 > .logo > img {
  padding: 0.5rem;
  width: 9.8rem;
  margin: 0 auto;
}

@media screen and (max-width: 320px) {
  .frame_1 > .logo > img {
    width: 7.5rem;
  }
}

.frame_1 > .btn_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;

  position: absolute;
  top: 100%;
}

.frame_1 > .btn_container p {
  color: #ddd;
  font-size: 0.4rem;
}
/* END: Frame 1 */

/* START: FRAME 3 */
.frame_3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.loading_gif {
  width: 12rem;
  height: 12rem;
}
.loading_gif > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  animation: spin 2s linear infinite;
}
.loading_text {
  font-size: 0.9rem;
  font-family: "RealTextPro-Regular", sans-serif;
  color: #fff;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  max-width: 200px;
  text-align: center;
}
/* END: FRAME 3 */

/* START: Frame 4 */
.frame_4 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 1.8rem;
}

.dalam_arti {
  font-size: 0.8rem;
  font-family: "RealTextPro-Regular", sans-serif;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #eee;
}

.expresi {
  font-family: "RealTextPro-Bold", sans-serif;
  color: #fff;
}

.result_card > .result_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  margin: 0;
  padding: 0;
}

.result_card {
  background-image: url("../assets/images/bg_gradient.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 8px;
  margin-bottom: 1.3rem;
  padding: 0.6rem;
  /* max-width: 20rem; */
  max-width: 18.5rem;
  position: relative;
  margin: auto;
}

.btn_tonton,
.btn_cobalagi,
.btn_share {
  background-color: transparent;
  color: #fff;
  font-size: 0.7rem;
  text-align: center;
}

.judul_result {
  font-size: 1.1rem;
  font-family: "RealTextPro-Regular", sans-serif;
  margin-bottom: 1rem;
  color: #eee;
  text-align: center;
  position: relative;
  z-index: 3;
}

@media screen and (max-width: 428px) {
  .judul_result {
    font-size: 0.9rem;
  }
}

.btn_gradient {
  background-image: url("../assets/images/btn_gradient.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  padding: 0.6rem 1.7rem;
  cursor: pointer;
}

@media screen and (max-width: 375px) {
  .grid-btn {
    gap: 2px;
  }
}

.grid-btn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.btn_action {
  position: relative;
  z-index: 99999999;
  margin-top: 1rem;
}

.btn_cobalagi {
  margin-top: 0.4rem;
  cursor: pointer;
}

@media screen and (max-width: 375px) {
  .btn_tonton,
  .btn_cobalagi,
  .btn_share {
    font-size: 0.6rem;
  }
}
/* END: Frame 4 */

/* Start: Frame 5 */
.frame_5 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1rem 1.8rem;
  position: relative;
  z-index: 8;

  top: 50%;

  transform: translateY(-50%);
}

.wrapper_hai {
  display: flex;
  gap: 0.4rem;
  justify-conter: center;
  margin-top: 1rem;
  padding: 0 3.5rem;
}

.t_download {
  width: 100%;
  max-width: 400px;
  padding: 0.5rem;
  text-align: center;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1.2rem;
  margin-top: 1.8rem;
  font-family: "RealTextPro-Regular", sans-serif;
}

@media screen and (max-width: 390px) {
  .t_download {
    font-size: 1rem;
  }
}

.liness {
  /* sementara di comment samapi dev enhance */
  /* border-bottom: 2px solid #fff;
  width: 100%;
  margin-bottom: 0.4rem; */
  margin-top: 18px;
  border-bottom: 2px solid #fff;
  width: 160px;
  margin-bottom: 1rem;
}

.tambah_arti {
  color: #ddd;
  font-size: 0.8rem;
  margin-top: 2.5rem;
}
/* END: Frame 5 */

/* =============FOOTER================== */
.terms {
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 100%;
  text-align: center;
  transform: translate(-50%);
  font-size: 0.35rem;
  color: #fff;
}

.legal-lines {
  margin-top: 2px;
  width: 100%;
  max-width: 300px;
}

.terms .copyright {
  opacity: 0.3;
}

.terms a,
.terms span {
  font-size: 0.41rem;
  color: #fff;
  opacity: 0.25;
}
.terms a:hover {
  opacity: 1;
  text-decoration: none;
}
/* =============FOOTER================== */

.modal {
  padding: 0;
  max-width: 360px;
  color: #000;
  background: transparent !important;
  box-shadow: none !important;
  width: 60%;
}
.modal a.close-modal {
  z-index: 9999;
  position: absolute;
  top: -3px;
  width: 0.6rem;
  right: 0.5rem;
}
.wrapper-popup {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 0.8rem 0.5rem;
  position: relative;
  z-index: 9999;
}
.pop-up {
  width: 60%;
}
