@import url('https://fonts.googleapis.com/css?family=Roboto');


/*.step {
  background: #ffffff;
  border-radius: 0.8em;
  -moz-border-radius: 0.8em;
  -webkit-border-radius: 0.8em;
  color: black;
  font-weight: bold;

  display: inline-block;
  font-weight: bold;
  
  line-height: 1.6em;
  margin-right: 2px;
  text-align: center;
  width: 2em; 

  font-size: 100%;


}*/






.ball {
  display: inline-block;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 50% 40%, #fcfcfc, #efeff1 66%, #9b5050 100%);
  overflow: hidden;
  animation: ballGrow 5s ease-out forwards;
  transform: scale(0.5);
}
.ball:after {
  content: "";
  position: absolute;
  top: 5%;
  left: 10%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8) 14%, rgba(255, 255, 255, 0) 24%);
  -webkit-transform: translateX(-80px) translateY(-90px) skewX(-20deg);
  -moz-transform: translateX(-80px) translateY(-90px) skewX(-20deg);
  -ms-transform: translateX(-80px) translateY(-90px) skewX(-20deg);
  -o-transform: translateX(-80px) translateY(-90px) skewX(-20deg);
  transform: translateX(-80px) translateY(-90px) skewX(-20deg);
}

.stage {
  width: 50px;
  height: 50px;
  display: inline-block;
  -webkit-perspective: 100%;
  -moz-perspective: 100%;
  -ms-perspective: 100%;
  -o-perspective: 100%;
  perspective: 100%;
  -webkit-perspective-origin: 50% 50%;
  -moz-perspective-origin: 50% 50%;
  -ms-perspective-origin: 50% 50%;
  -o-perspective-origin: 50% 50%;
  perspective-origin: 50% 50%;
}

.stage2 {
  width: 50px;
  height: 50px;
  display: inline-block;
  -webkit-perspective: 100%;
  -moz-perspective: 100%;
  -ms-perspective: 100%;
  -o-perspective: 100%;
  perspective: 100%;
  -webkit-perspective-origin: 50% 50%;
  -moz-perspective-origin: 50% 50%;
  -ms-perspective-origin: 50% 50%;
  -o-perspective-origin: 50% 50%;
  perspective-origin: 50% 50%;
}

.stage3 {
  width: 50px;
  height: 50px;
  display: inline-block;
  -webkit-perspective: 100%;
  -moz-perspective: 100%;
  -ms-perspective: 100%;
  -o-perspective: 100%;
  perspective: 100%;
  -webkit-perspective-origin: 50% 50%;
  -moz-perspective-origin: 50% 50%;
  -ms-perspective-origin: 50% 50%;
  -o-perspective-origin: 50% 50%;
  perspective-origin: 50% 50%;
}

.todayresultstage1{
  width: 35px;
  height: 35px;
  display: inline-block;
  -webkit-perspective: 100%;
  -moz-perspective: 100%;
  -ms-perspective: 100%;
  -o-perspective: 100%;
  perspective: 100%;
  -webkit-perspective-origin: 50% 50%;
  -moz-perspective-origin: 50% 50%;
  -ms-perspective-origin: 50% 50%;
  -o-perspective-origin: 50% 50%;
  perspective-origin: 50% 50%;
}


.number {
  position: relative;
  width: 100%;
  text-align: center;
  line-height: 50px;
  font-size: 35px;
  color: black;
  font-weight: bold;
  animation: ballRoll 5s ease-out;
}

.number:after {
  content: attr(data-number);
  position: absolute;
  transform: translateX(-75%);
  opacity: 0;
  animation: numberReveal 0.1s 1.5s reverse forwards;
  text-align: center;
}

.number:before {
  content: '?';
  position: absolute;
  transform: translateX(-25%);
  animation: numberReveal 0.1s 1.5s forwards;
  text-align: center;
}

@keyframes ballRoll {
  0%, 20%, 50% {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
  }
  10%, 35%, 75% {
    transform: translateY(100%) rotateX(170deg) scale(0.4);
  }
  11%, 36%, 76% {
    transform: translateY(-100%) rotateX(-170deg) scale(0.3);
    opacity: 0;
  }
  
}

@keyframes ballGrow {
  0% {
    transform: scale(0.5);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes numberReveal {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.stage:nth-child(1) .ball,
.stage:nth-child(1) .number {
  animation-delay: 65s;
}

.stage:nth-child(1) .number:after,
.stage:nth-child(1) .number:before {
  animation-delay: 66s;
}

.stage:nth-child(2) .ball,
.stage:nth-child(2) .number {
  animation-delay: 70s;
}

.stage:nth-child(2) .number:after,
.stage:nth-child(2) .number:before {
  animation-delay: 71s;
}

.stage:nth-child(3) .ball,
.stage:nth-child(3) .number {
  animation-delay: 75s;
}

.stage:nth-child(3) .number:after,
.stage:nth-child(3) .number:before {
  animation-delay: 76s;
}

.stage:nth-child(4) .ball,
.stage:nth-child(4) .number {
  animation-delay: 80s;
}

.stage:nth-child(4) .number:after,
.stage:nth-child(4) .number:before {
  animation-delay: 81s;
}

.stage:nth-child(5) .ball,
.stage:nth-child(5) .number {
  animation-delay: 85s;
}

.stage:nth-child(5) .number:after,
.stage:nth-child(5) .number:before {
  animation-delay: 86s;
}

.stage:nth-child(6) .ball,
.stage:nth-child(6) .number {
  animation-delay: 90s;
}

.stage:nth-child(6) .number:after,
.stage:nth-child(6) .number:before {
  animation-delay: 91s;
}

.stage2:nth-child(1) .ball,
.stage2:nth-child(1) .number {
  animation-delay: 35s;
}

.stage2:nth-child(1) .number:after,
.stage2:nth-child(1) .number:before {
  animation-delay: 36s;
}

.stage2:nth-child(2) .ball,
.stage2:nth-child(2) .number {
  animation-delay: 40s;
}

.stage2:nth-child(2) .number:after,
.stage2:nth-child(2) .number:before {
  animation-delay: 41s;
}

.stage2:nth-child(3) .ball,
.stage2:nth-child(3) .number {
  animation-delay: 45s;
}

.stage2:nth-child(3) .number:after,
.stage2:nth-child(3) .number:before {
  animation-delay: 46s;
}

.stage2:nth-child(4) .ball,
.stage2:nth-child(4) .number {
  animation-delay: 50s;
}

.stage2:nth-child(4) .number:after,
.stage2:nth-child(4) .number:before {
  animation-delay: 51s;
}

.stage2:nth-child(5) .ball,
.stage2:nth-child(5) .number {
  animation-delay: 55s;
}

.stage2:nth-child(5) .number:after,
.stage2:nth-child(5) .number:before {
  animation-delay: 56s;
}

.stage2:nth-child(6) .ball,
.stage2:nth-child(6) .number {
  animation-delay: 60s;
}

.stage2:nth-child(6) .number:after,
.stage2:nth-child(6) .number:before {
  animation-delay: 61s;
}

.stage3:nth-child(1) .ball,
.stage3:nth-child(1) .number {
  animation-delay: 5s;
}

.stage3:nth-child(1) .number:after,
.stage3:nth-child(1) .number:before {
  animation-delay: 6s;
}

.stage3:nth-child(2) .ball,
.stage3:nth-child(2) .number {
  animation-delay: 10s;
}

.stage3:nth-child(2) .number:after,
.stage3:nth-child(2) .number:before {
  animation-delay: 11s;
}

.stage3:nth-child(3) .ball,
.stage3:nth-child(3) .number {
  animation-delay: 15s;
}

.stage3:nth-child(3) .number:after,
.stage3:nth-child(3) .number:before {
  animation-delay: 16s;
}

.stage3:nth-child(4) .ball,
.stage3:nth-child(4) .number {
  animation-delay: 20s;
}

.stage3:nth-child(4) .number:after,
.stage3:nth-child(4) .number:before {
  animation-delay: 21s;
}

.stage3:nth-child(5) .ball,
.stage3:nth-child(5) .number {
  animation-delay: 25s;
}

.stage3:nth-child(5) .number:after,
.stage3:nth-child(5) .number:before {
  animation-delay: 26s;
}

.stage3:nth-child(6) .ball,
.stage3:nth-child(6) .number {
  animation-delay: 30s;
}

.stage3:nth-child(6) .number:after,
.stage3:nth-child(6) .number:before {
  animation-delay: 31s;
}



.stage4:nth-child(1) .ball,
.stage4:nth-child(1) .number {
  animation-delay: 5s;
}

.stage4:nth-child(1) .number:after,
.stage4:nth-child(1) .number:before {
  animation-delay: 6s;
}

.stage4:nth-child(2) .ball,
.stage4:nth-child(2) .number {
  animation-delay: 10s;
}

.stage4:nth-child(2) .number:after,
.stage4:nth-child(2) .number:before {
  animation-delay: 11s;
}

.stage4:nth-child(3) .ball,
.stage4:nth-child(3) .number {
  animation-delay: 15s;
}

.stage4:nth-child(3) .number:after,
.stage4:nth-child(3) .number:before {
  animation-delay: 16s;
}

.stage4:nth-child(4) .ball,
.stage4:nth-child(4) .number {
  animation-delay: 20s;
}

.stage4:nth-child(4) .number:after,
.stage4:nth-child(4) .number:before {
  animation-delay: 21s;
}

.stage4:nth-child(5) .ball,
.stage4:nth-child(5) .number {
  animation-delay: 25s;
}

.stage4:nth-child(5) .number:after,
.stage4:nth-child(5) .number:before {
  animation-delay: 26s;
}

.stage4:nth-child(6) .ball,
.stage4:nth-child(6) .number {
  animation-delay: 30s;
}

.stage4:nth-child(6) .number:after,
.stage4:nth-child(6) .number:before {
  animation-delay: 31s;
}



.todayresultstage1:nth-child(1) .ball,
.todayresultstage1:nth-child(1) .number {
  animation-delay: 5s;
}

.todayresultstage1:nth-child(1) .number:after,
.todayresultstage1:nth-child(1) .number:before {
  animation-delay: 6s;
}

.todayresultstage1:nth-child(2) .ball,
.todayresultstage1:nth-child(2) .number {
  animation-delay: 5s;
}

.todayresultstage1:nth-child(2) .number:after,
.todayresultstage1:nth-child(2) .number:before {
  animation-delay: 6s;
}

.todayresultstage1:nth-child(3) .ball,
.todayresultstage1:nth-child(3) .number {
  animation-delay: 5s;
}

.todayresultstage1:nth-child(3) .number:after,
.todayresultstage1:nth-child(3) .number:before {
  animation-delay: 6s;
}

.todayresultstage1:nth-child(4) .ball,
.todayresultstage1:nth-child(4) .number {
  animation-delay: 5s;
}

.todayresultstage1:nth-child(4) .number:after,
.todayresultstage1:nth-child(4) .number:before {
  animation-delay: 6s;
}

.todayresultstage1:nth-child(5) .ball,
.todayresultstage1:nth-child(5) .number {
  animation-delay: 5s;
}

.todayresultstage1:nth-child(5) .number:after,
.todayresultstage1:nth-child(5) .number:before {
  animation-delay: 6s;
}

.todayresultstage1:nth-child(6) .ball,
.todayresultstage1:nth-child(6) .number {
  animation-delay: 5s;
}

.todayresultstage1:nth-child(6) .number:after,
.todayresultstage1:nth-child(6) .number:before {
  animation-delay: 6s;
}



