body {
   background: url("./assets/spin\ for\ web.jpg");
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.arrow {
  transform: rotate(90deg);
  width: 250px;
  position: absolute;
  top: 90px;
}

#spin-btn {
  background: transparent;
}

.float {
  animation: float 1s infinite;
}

.col {
  width: 50%;
}

.spin-btn {
  height: 125px;
  /* margin-top: 250px; */
  position: absolute;
  top: 60%;
  /* left: 50%;
  transform: translate(-50%, -50%); */
}

#spinner {
  height: 500px;
  position: relative;
  /* display: none; */
  z-index: 0;
  /* left: 300px; */
  display: block;
    margin: auto;
}

.pin {
  height: 100px;
  display: block;
  margin: auto;
  margin-top: 100px;
}

.shake {
  animation: shake 3s infinite;
}

.spin {
  animation: spin 15s infinite;
}

.pop-up-content {
  color: #651880;
  background: #ffd81f;
  padding: 1.5rem 2.5rem;
  /* border-radius: 0.5rem; */
  position: absolute;
  bottom: 5%;
  font-family: "Abril Fatface", cursive;
  display: none;
  animation: enlarge 1s infinite;

}
.pop-up-sec{
  border: 0.5rem dotted #651880;
  padding: 8px;
}

.instruct {
  color: rgb(255, 0, 0);
  font-weight: bolder;
  border: 0.5rem dotted #ffd81f;
  background: rgba(255, 255, 255, 0.418);
  padding: 0.5rem;
  animation: enlarge 1s infinite;
}

.pop-up-content h1 {
  font-size: 2rem;
  text-align: center;
}

.pop-up-para {
  text-align: center;
  font-size: 4rem;
  background: #651880;
  color:#ffd81f ;
  padding: 10px;
  /* border: 0.5rem dotted #ffd81f; */
}

.wheel-stand {
  position: absolute;
  bottom: 5px;
  z-index: -1;
  height: 120px;
  /* left: 30px; */
}

.col {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
}
button {
  padding: 10px 20px;
  font-size: 1rem;
  border: 1px solid #651880;
  background: #ffd81f;
  color: black;
  font-weight: bold;
  cursor: pointer;
  border-radius: 20px;
}

button:hover {
  background: #ffae00;
}

.container {
  /* background: red; */
  height: 100vh;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(3600deg);
  }

  100% {
    transform: rotate(90deg);
  }
}

@keyframes float {
  0% {
    top: 70px;
  }
  50% {
    top: 90px;
  }
  100% {
    top: 70px;
  }
}

/* @keyframes shake {
  0% {
    left: -5px;
  }
  25% {
    left: 5px;
  }
  50% {
    left: -5px;
  }
  75% {
    left: 5px;
  }

  100% {
    left: -5px;
  }
} */

@keyframes enlarge {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

        /* Popup container */
        .popup-container {
          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;
          visibility: hidden;
          opacity: 0;
          transition: opacity 0.3s ease, visibility 0.3s ease;
      }

      /* Popup box */
      .popup-box {
          background: white;
          padding: 20px;
          width: 350px;
          border-radius: 10px;
          text-align: center;
          position: relative;
          transform: scale(0.8);
          transition: transform 0.3s ease;
      }

      /* Form styling */
      .popup-box h2 {
          margin-bottom: 10px;
          font-size: 24px;
          font-weight: 500;
      }

      .popup-box input, .popup-box textarea {
          width: 100%;
          padding: 10px;
          margin: 10px 0;
          border: 1px solid #ffd81f;
          border-radius: 5px;
      }

      .popup-box button {
          padding: 10px 15px;
          font-size: 16px;
          background: #ffd81f;
          color: black;
          border: none;
          cursor: pointer;
          border-radius: 5px;
          width: 100%;
      }

      /* Show popup */
      .popup-container.active {
          visibility: visible;
          opacity: 1;
      }
      .popup-container.active .popup-box {
          transform: scale(1);
      }


@media (max-width: 768px) {
  body {
    background-position: center top;
    background-size: 100% 100%;
    overflow-x: hidden;
  }

  .arrow {
    width: 100px;
    top: 50px;
    position: relative;
    display: block;
    margin: auto;
  }

  .spin-btn {
    height: 46px;
    /* display: block; */
    /* margin: auto; */
    position: absolute;
    top: 73%;
    left: 50%;
    transform: translate(-50%, -50%);
}

  #spinner {
    height: 260px;
    /* position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%); */
    display: block;
        margin: auto;
        /* margin-top: 10px; */
  }

  .pin {
    height: 50px;
    display: block;
    margin: auto;
    margin-top: 100px;
}

  .wheel-stand {
    height: 80px;
  }

  .instruct {
    font-size: 0.9rem;
    padding: 0.4rem;
  }

  .pop-up-content {
    font-size: 1rem;
    padding: 1rem;
    width: 100%;
    max-width: 342px;
    height: 230px;
    bottom: 10%;
    z-index: 1;
  }

  .pop-up-para {
    font-size: 2rem;
  }
    button {
    padding: 8px 15px;
    font-size: 0.9rem;
    display: block;
    margin: auto;
  }
}




