* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
  background-color: #000;
  background: url("assets/bg.png") no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 100%;
  font-family: "Comic Sans MS", cursive;
  /* color: #fff; */
}

.container {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  /* Use min-height instead of height */
  overflow: hidden;
}

.background-image {
  display: none;
  /* Hide the background-image rule */
}

.header {
  position: relative;
  padding-top: 4%;
  padding-bottom: 40px;

  /* top: 5%; Adjust as needed */
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1;
  @media (max-width: 680px) {
    padding-top: 60px;
    padding-bottom: 70px;
  }
}

.bubb-logo {
  width: 100%;
  /* Adjust size as needed */
  max-width: 60%;
  height: auto;
  @media (max-width: 680px) {
    width: 55%;
  }
  @media (min-width: 768px) {
    width: 80%;
  }
  @media (min-width: 768px) {
    max-width: 50%;
  }
  @media (min-width: 1440px) and (max-width: 1679px) {
    max-width: 25%;
  }
  @media (min-width: 1679px) {
    max-width: 29%;
  }
}

.locker-room-section {
  position: relative;

  top: 14%;
  /* Adjust as needed */
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.locker-room-image {
  width: 100%;
  max-width: 70%;
  height: auto;
  @media (max-width: 680px) {
    width: 87%;
    max-width: 100%;
    /* padding: 0 5px 0 10px; */
  }
  @media (min-width: 768px) {
    width: 80%;
    max-width: 100%;
    padding: 0 5px 0 10px;
  }

  @media (min-width: 1040px) {
    max-width: 37%;
  }
  @media (min-width: 1440px) and (max-width: 1679px) {
    max-width: 34%;
  }
  @media (min-width: 1679px) {
    max-width: 41%;
  }
}

.buy-section {
  position: relative;
  padding-top: 4%;
  /* top: 100%; Adjust as needed, between locker room and description */
  /* width: 100%; */
  display: flex;
  justify-content: center;
  z-index: 2;
  margin: 0 auto;
  @media (max-width: 680px) {
    top: 60px;
  }
  /* @media (max-width: 768px) {
    top: 35%;
  } */
}

.buy-link img {
  width: 400px;
  /* Adjust size as needed */
  height: auto;
  transition: transform 0.3s ease;
  @media (max-width: 768px) {
    width: 120px;
  }
  @media (max-width: 480px) {
    width: 100px;
  }
}

.buy-link img:hover {
  transform: scale(1.1);
}

.description-section {
  position: relative;
  padding-top: 130px;
  padding-bottom: 4%;
  top: 100%;
  /* Adjust as needed */
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  z-index: 1;
  @media (max-width: 480px) {
    top: 45%;
  }
  @media (min-width: 1200px) {
    padding-top: 140px;
  }
}

.description-text {
  width: 75%;
  /* Adjust size as needed */
  /* width: 1000px; */
  height: auto;
  @media (max-width: 680px) {
    display: none;
  }
  @media (min-width: 768px) {
    padding-bottom: 15%;
  }
  @media (max-width: 768px) {
    width: 90%;
    font-size: 0.9em;
    /* padding-bottom: 10%; */
  }
  @media (max-width: 1040px) {
    width: 90%;
    font-size: 0.85em;
  }
  @media (min-width: 1040px) {
    padding-bottom: 5%;
    width: 85%;
  }
}
.description-text--small {
  position: relative;
  /* padding-top: 90px; */
  width: 88%;

  height: auto;
  @media (min-width: 680px) {
    display: none;
  }
}

.description-image {
  position: absolute;
  z-index: -1;
  right: 0%;
  width: 42%;
  @media (max-width: 480px) {
    /* top: 20px; */
  }
  @media (min-width: 1200px) {
    right: 6%;
    width: 30%;
  }
  @media (min-width: 1300px) {
    right: 10%;
    width: 30%;
  }
}

.clouds-section {
  position: relative;
  /* padding-top: 150px; */
  left: 0;
  /* Adjust as needed */
  width: 100%;
  height: 53vh;
  display: flex;
  justify-content: center;
  gap: 50px;
  /* Space between clouds */
  z-index: 2;

  /* @media (max-width: 480px) {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    top: 55%;
  } */
  @media (max-width: 680px) {
    gap: 20px;
    top: 60%;
    height: 50vh;
  }
  @media (min-width: 440px) {
    height: 60vh;
  }
  @media (min-width: 768px) {
    height: 80vh;
  }

  @media (min-width: 1040px) {
    height: 59vh;
  }
  @media (min-width: 1200px) {
    /* height: 55vh; */
    height: 75vh;
  }

  @media (min-width: 1400px) {
    height: 90vh;
  }
}

.send-cloud {
  position: absolute;
  left: 30%;
  bottom: 42%;
  width: 40%;

  @media (max-width: 680px) {
    bottom: 45%;
  }
  /* @media (min-width: 600px) {
    bottom: 45%;
    width: 40%;
  } */
  @media (min-width: 768px) {
    bottom: 57%;
    width: 37%;
  }
  @media (min-width: 1040px) {
    width: 33%;
    bottom: 38%;
  }

  @media (min-width: 1200px) {
    bottom: 44%;
    width: 53%;
  }
  @media (min-width: 1440px) {
    bottom: 54%;
  }
}

.tg-cloud {
  /* width: 100px; */
  position: absolute;
  left: 3%;
  bottom: 56%;
  width: 45%;
  @media (max-width: 680px) {
    bottom: 60%;
  }
  /* @media (min-width: 600px) {
    bottom: 60%;
    width: 40%;
  } */
  @media (min-width: 768px) {
    bottom: 65%;
    width: 40%;
  }
  @media (min-width: 1040px) {
    width: 36%;
    bottom: 51%;
  }

  @media (min-width: 1200px) {
    bottom: 53%;
    width: 63%;
  }
  @media (min-width: 1400px) {
    bottom: 65%;
  }
}

.x-cloud {
  /* width: 100px; */
  position: absolute;
  left: 30%;
  bottom: 70%;
  width: 50%;
  @media (max-width: 680px) {
    bottom: 75%;
    left: 43%;
    width: 45%;
  }

  /* @media (min-width: 600px) {
    bottom: 77%;
    width: 45%;
  } */
  @media (min-width: 768px) {
    bottom: 84%;
    width: 50%;
  }
  @media (min-width: 1040px) {
    width: 44%;
    bottom: 65%;
    left: 35%;
  }
  @media (min-width: 1200px) {
    bottom: 62%;
    width: 81%;
  }
  @media (min-width: 1440px) {
    bottom: 78%;
  }
}

.cloud-link img {
  width: 40%;
  height: auto;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  @media (max-width: 768px) {
    width: 100px;
  }
  @media (max-width: 480px) {
    width: 80px;
  }
  @media (max-width: 1040px) {
    width: 90%;
  }
  @media (min-width: 1440px) and (max-width: 1679px) {
    width: 36%;
  }
}

.frog-at-bottom {
  position: absolute;
  width: 100%;
  bottom: 0;
  /* Adjust as needed */
  /* right: 0; Adjust as needed */
  z-index: 1;
}

.frog-bottom-image {
  width: 100%;
  /* Adjust size as needed */
  height: auto;
}

.main-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 10px;
  text-align: center;
}

.main-art img {
  max-width: 90vw;
  width: 700px;
}

.quote {
  font-size: 1.2rem;
  margin: 20px auto 40px;
  max-width: 700px;
}

.cloud-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.cloud img {
  width: 100px;
  animation: floatCloud 4s ease-in-out infinite;
}

@keyframes floatCloud {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

.contract-box {
  text-align: center;
  color: white;
}

.copy-text {
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 10px;
  text-decoration: underline;
}

.contract-bg {
  background-color: #eee;
  color: #111;
  font-family: monospace;
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-block;
}

.cloud-link:hover img {
  transform: scale(1.13) rotate(-2deg);
}

.contract-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  padding: 0;
  border-radius: 0;
  font-family: "Comic Sans MS", cursive;
  font-size: 1.1sem;
  text-align: center;
  width: 90%;
  max-width: 350px;
  background: none;
  box-shadow: none;
}

.contract-text {
  margin: 0;
  word-break: break-all;
  font-size: 1.2em;
  line-height: 1.4;
  font-family: "Comic Sans MS", cursive;
  font-weight: bold;
  color: black;
  text-shadow: 2px 2px 0 white, 0 0 2px white;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  @media (max-width: 768px) {
    font-size: 0.9em;
  }
  @media (max-width: 480px) {
    font-size: 0.7em;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  font-family: "Comic Sans MS", cursive;
}

.modal-content {
  background: url("assets/bg.png") no-repeat center center;
  background-size: cover;
  margin: 15% auto;
  padding: 30px;
  border: 2px solid #fff;
  border-radius: 15px;
  width: 80%;
  max-width: 400px;
  position: relative;
  color: #fff;
  text-align: center;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-button {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.close-button:hover {
  transform: scale(1.2);
}

.contract-content {
  margin-top: 20px;
}

.contract-content p {
  font-size: 1.2em;
  line-height: 1.4;
}

.contract-details {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

.contract-details p {
  margin: 10px 0;
  font-size: 1.1em;
}

.buy-link {
  cursor: pointer;
  display: inline-block;
  transition: transform 0.3s ease;
}

.buy-link:hover {
  transform: scale(1.05);
}

.buy-container {
  position: relative;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.3s ease;
}

.buy-container:hover {
  transform: scale(1.05);
}

.buy-image {
  min-width: 360px;
  width: 360px;
  max-width: 1000px;

  height: auto;
  display: block;
}

.first-section {
  max-height: 100vh;
}
