/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  background: url("https://super5tupian1.s3.ap-southeast-3.amazonaws.com/tg/backround.jpg")
    no-repeat center center;
  background-size: cover;
  position: relative;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Remove default button styles */
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  background: none;
  border: none;
  padding: 0;
}

/* Inherit fonts for form elements */
button,
input,
select,
textarea {
  font: inherit;
}

/* Remove default link styles */
a {
  color: inherit;
  text-decoration: none;
}

.image_wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px 0;
  align-items: center;
  position: relative;
  padding-bottom: 120px;
  overflow: hidden;
}

.swiper {
  max-width: 700px;
  width: 100%;
}

.fixed-elements {
  position: fixed;
  z-index: 9999;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 600px;
  transform: translateX(-50%);
  pointer-events: none; /* Allow clicks to pass through */
}

.fixed-elements img {
  pointer-events: auto; /* Re-enable pointer events on the image */
  margin-right: auto;
}

.image_suppot {
  top: 40%;
  position: fixed;
  right: 0;
  margin-right: 10px;
  z-index: 9999;
  width: 5em;
  margin-top: 2.5rem;
}

.bar {
  bottom: 0;
  position: absolute;
  left: 0;
  z-index: 3;
  height: auto;
  width: 100%;
}

.back {
  display: none;
}

/* Add CSS for Swiper Slides */
.swiper-slide {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%; /* Ensure the slides take the full width of the swiper container */
  height: auto; /* Maintain aspect ratio */
}

.swiper-slide img {
  width: 90%; /* Set the images to 90% of the swiper container width */
  height: auto;
}

.image1 {
  width: 78%;
  margin-top: 0.6rem;
}

.image2 {
  width: 100%;
  height: 80%;
  margin-top: -2%;
}

.image3 {
  margin-bottom: -4%;
  width: 95%;
  margin-left: auto;
}

.image4 {
  width: 95%;
  margin-right: auto;
}

.image5 {
  width: 95%;
}
/* Media Queries for smaller screens */
@media (max-width: 600px) {
  .image_suppot {
    top: 66%;
    position: fixed;
    right: 0;
    margin-right: 10px;
    z-index: 9999;
    width: 4.5rem;
    margin-top: 10rem;
  }

  .image_wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px 0;
    padding-bottom: 90px;
  }

  .bar {
    bottom: 0;
    position: fixed;
    left: 0;
    width: 100%;
  }
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 4rem;
  max-width: 600px;
  background-color: #333;
  color: #fff;
  padding: 10px 0;
  text-align: center;
  z-index: 9999;
  left: 50%;
  transform: translateX(-50%);
}

/* Footer content container */
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

/* Style for button.png */
.button {
  position: absolute;
  top: 10%;
  right: 0; /* Position to the right */
  transform: translateY(-50%);
  z-index: 10000; /* Ensure it's above other content */
  width: 40%;
  animation: pulse 1s infinite alternate;
}

@media (min-width: 600px) {
  /* Adjust the breakpoint as needed */
  .button {
    top: -10%;
    left: 58%;
    transform: translate(0, -50%);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}


.qr-container {
  z-index: 99;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.4);
}

.qr-box {
  padding: 30px;
  text-align: center;
  background-color: #fff;
  border-radius: 10px;
  font-size: 24px;
  width: 300px;
  height: auto;
  margin: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
