/* Fonts Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/*  Sembunyikan Scrollbar  */
::-webkit-scrollbar {
  width: 0px;
  background: transparent;
  /* make scrollbar transparent */
}

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

.card {
  padding: 20px;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup {
  background: #fff;
  max-width: 80%;
  max-height: 80%;
  border-radius: 5px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.popup img {
  max-width: 100%;
  max-height: 100%;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: #f3f3f3;
  color: #d4d4d4;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
  z-index: 999;
}

.close-btn:hover {
  background: #555;
}

.link-btn {
  display: block;
  width: 100%; 
  padding: 10px 0;
  background: #852424;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.link-btn:hover {
  background: #631a1a;
}

/* Media queries untuk ukuran layar desktop */
@media (min-width: 768px) {
  .popup {
    max-width: 30%; 
  }
}

/* Media queries untuk ukuran layar mobile */
@media (max-width: 767px) {
  .popup {
    max-width: 80%; 
  }
}

html {
  overflow-x: hidden;
  overflow-y: smooth;
}

a img:hover {
  transform: scale(1.05);
  transition: all 0.3s;
}

section.reseller {
  background: url(../img/koin-24.png) no-repeat center;
  background-size: cover;
}
.container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container .banner-1 img {
  height: 826px;
  width: 100%;
  object-fit: cover;
}

.order {
  display: flex;
  justify-content: center;
  align-items: center;
}

.order img {
  margin-top: 20px;
  width: 60%;
  height: -200%;
  object-fit: cover;
  margin-right: -65px;
}

.button-web {
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-web img {
  margin-top: 40px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.button-order {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.button-order img {
  width: 100%;
  height: 100%;
  align-items: center;
  object-fit: cover;
  padding-right: 10px;
  padding-left: 10px;
}

.button-order2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-order2 img {
  width: 100%;
  height: 100%;
  align-items: center;
  object-fit: cover;
  padding-right: 10px;
  padding-left: 10px;
}

.banner-reseller {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.banner-reseller img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.banner-reseller img.whatsapp {
  padding-left: 10px;
  padding-right: 10px;
  width: 100%;
  height: 190px;
}

.button-reseller {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.button-reseller img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.button-sosmed {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.button-sosmed img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.button-sosmed2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-sosmed2 img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.video {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 30px;
}

.video iframe {
  width: 826px;
  height: 515px;
}

.kelebihan {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.kelebihan img {
  width: 80%;
  height: 100%;
  object-fit: cover;
}

.beritahu-kami {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.beritahu-kami img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}


.grow-scale {
  animation-name: grow;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  -moz-animation-name: grow;
  -moz-animation-duration: 2s;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: linear;
}
@keyframes grow {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 13px;
  background-color: #b82322;
}

footer span {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
}

/* Media query */
@media screen and (max-width: 768px) {
  .container .banner-1 img {
    height: 360px;
    margin-top: 20px;
  }

  section.reseller {
    background: url(../img/koin-24.png) no-repeat center;
    background-size: cover;
  }

  .order img {
    margin-top: 5px;
    width: 90%;
    margin-right: 2px;
  }

  .button-web img {
    margin-top: 10px;
    width: 100%;
    height: 100px;
  }
  .button-order img {
    width: 100%;
    height: 100px;
    align-items: center;
    padding-right: 2px;
    padding-left: 2px;
  }

  .button-order2 img {
    width: 100%;
    height: 100px;
    align-items: center;
    padding-right: 2px;
    padding-left: 2px;
  }

  .banner-reseller img {
    width: 100%;
    height: 90px;
  }

  .banner-reseller img.whatsapp {
    padding-left: 2px;
    padding-right: 2px;
    width: 100%;
    height: 90px;
  }

  .button-reseller img {
    width: 100%;
    height: 70px;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .button-sosmed img {
    width: 100%;
    height: 120px;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .button-sosmed2 img {
    width: 100%;
    height: 120px;
    margin-bottom: 5px;
  }

  .video iframe {
    width: 100%;
    height: 230px;
  }
  .kelebihan img {
    width: 95%;
    height: 100%;
    object-fit: cover;
  }
  .beritahu-kami img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    margin-top: -25px;
  }

  footer span {
    font-size: 0.7rem;
    color: #ffffff;
    font-weight: 600;
  }
}
