body {
  margin: 20px;
  background: hsl(70, 31%, 85%);
  /* text-align: center; */
}

.balloon {
  display: inline-block;
  width: 120px;
  height: 145px;
  background: hsl(215, 50%, 65%);
  border-radius: 80%;
  position: relative;
  box-shadow: inset -10px -10px 0 rgba(0, 0, 0, 0.07);
  margin: 20px 30px;
  transition: transform 0.5s ease;
  z-index: 1000;
  animation: balloons 4s ease-in-out infinite;
  transform-origin: bottom center;
  cursor: pointer;
}

@keyframes balloons {

  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }

  50% {
    transform: translateY(-25px) rotate(4deg);
  }
}

.balloon:before {
  content: "▲";
  font-size: 20px;
  color: hsl(215, 30%, 50%);
  display: block;
  text-align: center;
  width: 100%;
  position: absolute;
  bottom: -12px;
  z-index: -100;
}

.balloon:after {
  display: inline-block;
  top: 150px;
  left: 50%;
  position: absolute;
  height: 250px;
  width: 1px;
  margin: 0 auto;
  content: "";
  background: rgba(0, 0, 0, 0.2);
}

.start-button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.start-btn {
  display: flex;
  justify-content: center;
}

#balloon-container {
  display: flex;
  justify-content: center;
}


/* Modal Animation */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Black background with transparency */
  overflow: auto;
  animation: modalFadeIn 0.5s ease-in;
  /* Animation for modal fade-in */
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  position: relative;
  animation: modalContentFadeIn 0.5s ease-in;
  /* Animation for modal content fade-in */
  border-radius: 10px;
  text-align: center;
}

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

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

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

.form-modal-content {
  display: block;
}

.form-modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  border-radius: 10px;
  /* text-align: center; */
}

.backdiv {
  display: flex;
  justify-content: end;
  margin: 50px;
}

.backBtn {
  background-color: black;
  color: white;
  padding: 5px;
  border: 2px solid black;
  border-radius: 5px;
  font-size: medium;
  cursor: pointer;
}

.rewards-btn {
  background-color: #4CAF50;
  color: white;
  font-size: large;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
