@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
#app {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  /* position: relative; */
  display: flex;
  flex-direction: column;
  align-items: center;
}

body {
  background-color: green;
  font-family: 'Poppins', sans-serif;
}
.money {
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

* {
  margin: 0;
  padding: 0;
}

#my-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
}

.marker {
  position: absolute;
  width: 100px;
  margin: 0 auto;
  top: -30px;
  z-index: 2;
}

.wheel {
  width: 40%;
  height: 40%;
  margin-top: 25px;
  object-fit: contain;
}

.button {
  /* display: block; */
  width: 350px;
  margin: 40px auto;
  cursor: pointer;
  z-index: 2;
}

.button:hover {
  opacity: 0.8;
}

.blur {
  animation: blur 10s;
}

@keyframes blur {
  0% {
    filter: blur(1.5px);
  }
  80% {
    filter: blur(1.5px);
  }
  100% {
    filter: blur(0px);
  }
}


.modal__overlay--share {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.526);
  width: 100vw;
  height: 100%;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal__overlay--timeout {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.526);
  width: 100vw;
  height: 100%;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal__overlay--success {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.526);
  width: 100vw;
  height: 100%;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.info__heading--share {
  color: rgb(40, 38, 38);
  font-size: x-large;
}
.modal__content--timeout {
  max-width: 700px;
  background-color: white;
  padding: 40px;
  border-radius: 30px;
  animation-name: modalIntro;
  animation-duration: 1000ms;
  animation-iteration-count: 1;
  transition: 500ms all ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modal__content--success {
  min-width: 300px;
  background-color: white;
  padding: 40px;
  border-radius: 30px;
  animation-name: modalIntro;
  animation-duration: 1000ms;
  animation-iteration-count: 1;
  transition: 500ms all ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.modal__content--success > img {
  width: 200px;
}
.modal__content--success > h3 {
  font-size: 24px;
  font-weight: bolder;
}
#timerDisplay {
  font-size: 30px;
  font-weight: bolder;
}
.modal__content--share {
  max-width: 300px;
  background-color: white;
  padding: 40px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.btn__accept {
  font-size: x-large;
  color: white;
  background-color: green;
  border-radius: 15px;
  width: 100%;
  margin-top: 20px;
  border: none;
  height: 65px;
}
.modal__content--share > a {
  width: 100%;
}
#msg {
  margin-top: 10px;
  font-size: 16px;
}
/* Animations here */
@keyframes modalIntro {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}

.hide {
  display: none;
}
.show {
  display: block;
}
.close {
  position: absolute;
  top: 0;
  right: 0;
  margin: 20px 20px 0 0;
  background-color: red;
  width: 25px;
  height: 25px;
  border: none;
  color: white;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
}
/* Reward Section */
.reward {
  width: 100%;
  background-color: green;
  padding: 12px 0;
  margin-top: 24px;
  border: none;
  border-radius: 15px;
  color: white;
  font-size: 18px;
  font-weight: bold;
}
.info__title {
  margin-top: 24px;
  margin-bottom: 10px;
}
.won {
  font-size: 24px;
  color: green;
}

/* Media Query */
/* For small screens and mobile devices */
@media only screen and (max-width: 767px) {
  /* Your styles for small screens go here */
  .wheel {
    width: 90%;
    height: 90%;
    margin-top: 25px;
    object-fit: contain;
  }
  .button {
    /* display: block; */
    width: 250px;
    margin: 40px auto;
    cursor: pointer;
    z-index: 2;
  }
  .modal__content--success {
    background-color: white;
    padding: 10px;
    border-radius: 30px;
    animation-name: modalIntro;
    animation-duration: 1000ms;
    animation-iteration-count: 1;
    transition: 500ms all ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  .modal__content--success > img {
    width: 110px;
  }
  .modal__content--success > h3 {
    font-size: 20px;
    font-weight: bolder;
  }
  .modal__content--share {
    max-width: 80%;
    background-color: white;
    padding: 20px;
    border-radius: 30px;
    animation-name: modalIntro;
    animation-duration: 1000ms;
    animation-iteration-count: 1;
    transition: 500ms all ease-in-out;
  }
  .modal__content--success {
    min-width: 300px;
    background-color: white;
    padding: 30px;
    margin: 20px;
    border-radius: 30px;
    animation-name: modalIntro;
    animation-duration: 1000ms;
    animation-iteration-count: 1;
    transition: 500ms all ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
  }
}
