.nunito-sans-text {
  font-family: "Nunito Sans", sans-serif;
}

body,
html {
  background-color: #111;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden; /*Prevent scrolling*/
  font-family: "Nunito Sans", sans-serif;
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
}

a {
  text-decoration: none;
}

.container {
  width: 400px;
  height: 100vh;
  margin: 0 auto;
}

.background {
  background-image: url("./images/background-m.jpg?v1.0"); /* Use the background image provided */
  height: 100%;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.platform {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  /* background-image: url("https://mepacket.com/images/platform.png");
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: center 105%; */
}
.platform::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #ffbb00;
  width: 100%;
  height: 90px;
  z-index: 1;
}
.platform::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background-image: url(./images/element-bottom.png?v1.0);
  background-position: top;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 220px;
  z-index: 10;
}

.angpow {
  z-index: 9;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  background-image: url("./images/luckybag.png?v1.0"); /* Use the ang pow envelope image provided */
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  animation: shake 1s ease-in-out infinite;
}

.btn-open,
.btn-claim {
  width: 180;
  padding: 8px 0;
  color: #0524dd;
  background: #fff;
  border: none;
  border-radius: 25px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
  font-size: 16px;
  list-style: none;
  font-family: "Nunito Sans", sans-serif;
  font-weight: bold;
  position: absolute;
  z-index: 99;
  left: calc(50% - 90px);
  right: calc(50% - 90px);
  bottom: 21%;
  text-align: center;
}

.btn-open:hover,
.btn-claim:hover {
  color: #fff;
  background: #f47920;
}

.btn-claim {
  display: inline-block;
}

.cloud {
  position: absolute;
  top: 15%;
  left: 0;
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
  animation: float 6s ease-in-out infinite;
}

.angpow-open {
  z-index: 9;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  background-image: url("./images/luckybag-open.png?v1.0"); /* Use the ang pow envelope image provided */
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  display: none;
}

.angpow:hover {
  transform: scale(1.02);
  animation-play-state: paused;
}

.reward {
  text-align: center;
  position: relative;
  top: 10%;
  font-size: 30px;
  font-weight: 900;
  color: #fff;
}
.reward span {
  font-size: 1.4rem;
}
.reward strong {
  font-size: 2.4rem;
}

.logo {
  text-align: center;
  position: relative;
  top: 45%;
  color: #fff;
}

.logo span {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
}

.logo img {
  display: block;
  margin: 0 auto;
  width: 20%;
}

/* @keyframes openEnvelope {
0% {
    transform: scale(1);
    opacity: 1;
}
50% {
    transform: scale(1.2);
    opacity: 0.5;
}
100% {
    transform: scale(1);
    opacity: 0;
}
} */
@keyframes float {
  0% {
    filter: drop-shadow(0 5px 15px 0px rgba(0, 0, 0, 0.6));
    transform: translatey(0px);
  }
  50% {
    filter: drop-shadow(0 5px 15px 0px rgba(0, 0, 0, 0.6));
    transform: translatey(-20px);
  }
  100% {
    filter: drop-shadow(0 5px 15px 0px rgba(0, 0, 0, 0.6));
    transform: translatey(0px);
  }
}
@keyframes fadeInScaleUp {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* Ensure the content fits mobile devices */
@media (max-width: 768px) {
  .container {
    width: 100%;
    height: 100vh;
  }
  .platform {
    width: 100%;
    height: 100vh;
    /* background-size: 100%;
    background-position: center 100%; */
  }
  .angpow {
    width: 100%;
    height: 100vh;
  }
  .angpow-open {
    width: 100%;
    height: 100vh;
  }
  .angpow-open .button {
    top: 48%;
  }
  .btn-open,
  .btn-claim {
    padding: 6px 0;
    font-size: large;
  }
  .logo {
    top: 48%;
  }
  @keyframes fadeInScaleUp {
    from {
      opacity: 0;
      transform: scale(0.8);
    }
    to {
      opacity: 1;
      transform: scale(0.85);
    }
  }
}
/* Adjustments for when the viewport height is more than 900px */
@media (min-width: 1300px) {
  body,
  html {
    height: 100%;
  }
  .container {
    height: 853px;
  }
  .platform {
    width: 100%;
    height: 100%;
  }
  .angpow {
    width: 100%;
    height: 100%;
  }
  .angpow-open {
    width: 100%;
    height: 100%;
  }
  .angpow-open .button {
    top: 50%;
  }
  .btn-open,
  .btn-claim {
    width: 40%;
    padding: 8px;
    font-size: large;
  }
  @keyframes fadeInScaleUp {
    from {
      opacity: 0;
      transform: scale(0.8);
    }
    to {
      opacity: 1;
      transform: scale(0.85);
    }
  }
}
@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(0);
  }
}/*# sourceMappingURL=style.css.map */