@font-face {
  font-family: Poppins;
  src: url('/fonts/Poppins-Bold.ttf');
}

@font-face {
font-family: Roboto;
src: url('/fonts/Roboto-Medium.ttf');
}

#payment {
  position: relative;
  overflow: hidden;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  height: 100vh;
  scroll-behavior: smooth;
}

.section {
  width: 100%;
  min-height: calc(var(--vh, 1vh) * 100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex-grow: column wrap;
  max-width: 100%;
}

.wheel-background{
  background-image: url("/img/background.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  mix-blend-mode: screen;
  position: absolute;
  width: 100%;
  height: 100vh;
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
  bottom: calc(var(--vh, 1vh) * 8);
}

.wheel-ribbon {
  background-image: url("/img/win-ribbon.png");
  background-position: center;
  background-size: contain;
  height: calc(var(--vh, 1vh) * 100);
  width: 100%;
  position: absolute;
  display: none;
}

.wheel-canvas {
  position: absolute;
  bottom: calc(var(--vh, 1vh) * 8);
}

.wheel-message {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 1.2;
  position: relative;
  width: 90%;
}

.wheel-message .text {
  font-family: Poppins;
  text-transform: uppercase;
}

.wheel-message #title {
  font-size: 2.5rem;
  -webkit-text-stroke: 2px #F7AF32;
}

.wheel-message #cashback {
  font-size: 6.7rem;
  background: linear-gradient(90deg, #FFFB90 0%, #FBEA78 14%, #F8DC65 24%, #E6C758 27%, #C5A041 34%, #AD8330 40%, #9E7226 45%, #996C22 49%, #9D7126 52%, #AA8131 56%, #BE9B42 60%, #DABE5B 64%, #FBE878 69%, #FFFFAA 77%, #FBE878 83%, #A4631B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-text-stroke: 2px #F7AF32;
}


.wheel-message #cashback_result span{
font-size: 7.7rem;
}

.wheel-message .info {
  position: relative;
  font-family: "Roboto";
}

.wheel-message .scroll-down {
margin-top: 10px;
}

@keyframes flickerAnimation {
0% {
  opacity: 1;
}
50% {
  opacity: 0.3;
}
100% {
  opacity: 1;
}
}
@-o-keyframes flickerAnimation {
0% {
  opacity: 1;
}
50% {
  opacity: 0.3;
}
100% {
  opacity: 1;
}
}
@-moz-keyframes flickerAnimation {
0% {
  opacity: 1;
}
50% {
  opacity: 0.3;
}
100% {
  opacity: 1;
}
}
@-webkit-keyframes flickerAnimation {
0% {
  opacity: 1;
}
50% {
  opacity: 0.3;
}
100% {
  opacity: 1;
}
}

.flickering {
  -webkit-animation: flickerAnimation 5s infinite;
  -moz-animation: flickerAnimation 5s infinite;
  -o-animation: flickerAnimation 5s infinite;
  animation: flickerAnimation 5s infinite;
}


@-webkit-keyframes falling /* Safari and Chrome */ {
from {
  top: 0px;
  opacity: 1;
}
to {
  top: 100px;
  opacity: 0;
}
}

@keyframes falling {
from {
  top: 0px;
  opacity: 1;
}
to {
  top: 100px;
  opacity: 0;
}
}


.falling {
  -webkit-animation: falling 2s linear infinite;
  -moz-animation: falling 2s linear infinite;
  -ms-animation: falling 2s linear infinite;
  -o-animation: falling 2s linear infinite;
  animation: falling 2s linear infinite;
}

@keyframes arrowAnimation {
  0% {
      transform:translateY(0px);
  }
  100% {
      transform:translateY(5px);
  }
}

.arrowAnimate {
  -webkit-animation: arrowAnimation 1s infinite;
  -moz-animation: arrowAnimation 1s infinite;
  -ms-animation: arrowAnimation 1s infinite;
  -o-animation: arrowAnimation 1s infinite;
  animation: arrowAnimation 1s infinite;
}


@media screen and (min-width: 500px) and (max-width: 1400px){

.wheel-message #title {
      font-size: 2rem;
}

.wheel-message #cashback {
      font-size: 3.3rem;
}

.wheel-message #cashback_result span{
  font-size: 4.8rem;
}
}

@media screen and (max-width: 450px){

.wheel-message #title {
      font-size: 1.1rem;
}

.wheel-message #cashback {
      font-size: 2.2rem;
}

.wheel-message #cashback_result span{
  font-size: 4rem;
}
}