@charset "utf-8";

@font-face{
	font-family:'Anjoman';
	src: url('./assets/Anjoman.woff') format('woff');
	font-weight: normal;
  	font-style: normal;
}

@font-face{
	font-family:'Impacto';
	src: url('./assets/Impacto.woff') format('woff');
	font-weight: normal;
  	font-style: normal;
}

@font-face{
	font-family:'Cinema';
	src: url('./assets/Cinema.woff') format('woff');
	font-weight: normal;
  	font-style: normal;
}

body{
    display: flex;
    font-family: 'Anjoman', 'Impacto', 'Cinema', sans-serif;
    justify-content: center;
    align-items: center;
    width: 800px;
    height: 600px;
    overflow: hidden !important;
    background-color: transparent !important;
    transition: all .2s linear;
}

body.activated{
    align-items: center;
    justify-content: center;
}

.lucky-wheel{
    text-align: center;
}

.mt-2{
    margin-top: 40px;
}

.lucky-wheel .lucky-wheel-box{
    position: relative;
    width: 434px;
    height: 434px;
    z-index: 9999;
}
      
.lucky-wheel .lucky-wheel-preview{
    background-image: url('./assets/wheel-default.png');
    background-position: center;
    background-repeat: no-repeat;
}
      
.lucky-wheel .current-goal-progress{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    width: 62px;
    height: 62px;
    text-align: center;
    text-shadow: 0 0 5px #000;
    left: 50%;
    font-family: 'Impacto';
    font-size: 26px;
    color: #ffffff;
    transform: translate(-50%, -50%);
    background: url('./assets/logo-frame.png') no-repeat center;
    background-size: cover;
    z-index: 9990;
}

.lottie-player{
    position: absolute;
    top: 37%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
}

.lottie-player.wheelshine{
    top: 50%;
    opacity: .15;
    z-index: 999;
}

.spin-queue{
    position: absolute;
    top: 45px;
    left: 45px;
    width: 40px;
    height: 40px;
    display: flex;
    font-family: 'Impacto';
    font-size: 30px;
    color: #ffffff;
    justify-content: center;
    align-items: center;
    background-color: tomato;
    border-radius: 50%;
    box-shadow: 0 0 5px #000;
    z-index: 99999999;
}

.selected-prize{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-shadow: 0 0 5px #000;
    font-family: 'Cinema';
    border: 10px solid #f346dd;
    border-radius: 50%;
    background: #30c6ec;
    font-size: 100px;
    text-align: center;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all .2s linear;
}

.selected-prize strong{
    opacity: 0;
    visibility: hidden;
    transition: all .4s ease-in-out;
}

.selected-prize.active{
    width: 403px;
    height: 403px;
    opacity: 1;
    visibility: visible;
}

.selected-prize strong.active{
    opacity: 1;
    visibility: visible;
}

.lottie-stars{
    opacity: 0;
    visibility: hidden;
    transition: all .4s 2s ease-in-out;
}

.lottie-stars.active{
    opacity: 1;
    visibility: visible;
}

#prizePointer {
    position: absolute;
    left: 50%;
    top: -93px;
    z-index: 9999;
    transform: translateX(-50%);
}

@keyframes spin {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

.spin-button {
  display: inline-block;
  padding: 0.8em 2em;
  border: none;
  outline: none;
  color: rgb(255, 255, 255);
  background: #111;
  margin-top: 40px;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.spin-button:before {
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

.spin-button:hover:before{
    animation: glowing 20s linear infinite;
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.spin-button:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #222;
  left: 0;
  top: 0;
  border-radius: 10px;
}

.spin-button:disabled:before{
    background: #101010;
}

.spin-button:disabled:hover:before{
    animation: none;
    background: #101010;
}

.spin-button:disabled:after{
    background-color: #c1c1c1;
}