*,
*::before,
*::after {
  font-family: 'Roboto', sans-serif;
  padding: 0;
  margin: 0;
}

html {
  height: 100% !important;
}
body {
  height: 100%;
  background-color: #fff;
}

.check {
  width: 100px;
  height: 50px;
  position: absolute;
  top: 9rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #eb7216;
  color: #fff;
  z-index: 999999999999999999999999999999999;
}
/* slot machine section */

#casino {
  background-image: url(../bg.png);
  height: 90%;
  background-size: cover;
  background-position: 100% 90%;
}

.slotMachine .slot {
  width: 100%;
  padding-top: 5px;

  text-transform: uppercase;

  display: inline-block;

  font-size: 10vmin;
  text-align: center;

  position: relative;
  color: #f8760c;
  text-shadow: 0 3px 4px rgba(0, 0, 0, 0.842);
}

#casino .content > div {
  display: flex;
  width: 50%;
  margin: 0 auto;
  transform: translateX(30px) translateY(30vmin);
}

@media (max-width: 99em) {
  #casino .content > div {
    width: 65% !important;
  }
}
@media (max-width: 81.25em) {
  #casino .content > div {
    width: 70% !important;
  }
}
@media (max-width: 67.75em) {
  #casino .content > div {
    width: 80% !important;
  }
}

@media (max-width: 63.75em) {
  .slotMachine .slot {
    font-size: 9vmin;
  }
}

@media (max-width: 62em) {
  #casino .content > div {
    width: 95% !important;
    margin-left: -0.6rem;
  }
}

@media (max-width: 56.25em) {
  #casino .content > div {
    transform: translateX(30px) translateY(48vh);
  }
}
@media (max-width: 37.5em) {
  #casino .content > div {
    transform: translateX(30px) translateY(60vmin);
  }
}
@media (max-width: 31.25em) {
  #casino .content > div {
    transform: translateX(30px) translateY(70vh);
  }
}

.casinocover {
  display: flex;
  width: 100%;
  height: 20vmin;
  position: relative;
  justify-items: space-evenly;
}

.casinocover::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -10%;
  left: -2.5%;
  width: 105%;
  height: 85%;
  border-radius: 10px;
  background-color: #333;
  background-image: linear-gradient(#666 0%, #333 60%, #666 100%);
}

.slotMachine {
  width: 15vmin;
  height: 13vmin;
  display: inline-block;
  box-shadow: inset -3px 7px 26px #000;
  border-radius: 10%/40%;

  background-image: url(../slotreel.png);
  background-position: 38%;
  background-size: 360%;
}

#casinoContent {
  height: 100%;
  width: 100%;
  z-index: 100;
}

.casinotimer {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  top: 1rem;
  width: 50%;
  color: #fff;
  height: 12vmin;
  text-align: center;
  font-size: 3vmin;
}

/* winner diaply section */
#winnertimer {
  width: 100%;
  height: 2vmin;
}

.winnertimer #winnercountdown .time-span {
  letter-spacing: 1.2vmin;
  color: #fff;
  font-size: 4.3vmin;
  /* border: none ; */
  padding: 0 1vmin;
  padding-left: 1.7vmin;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  text-shadow: 0 3px 4px #f8760c;
}
.winnertimer p {
  margin-bottom: 1vmin;
  letter-spacing: 1px;
  font-weight: 700;
}

.winnertimer #winnercountdown .time-dot {
  color: #f8760c;
  text-shadow: none;
}

.winnertimer {
  display: inline-block;
  position: absolute;
  right: 4%;
  top: 7%;
}

@media screen and (max-width:886px) {
  .winnertimer{
   top: 2%;
  }
}


.time-span {
  letter-spacing: 1vmin;
  color: #f8760c;
  font-size: 7vmin;
  border: 2px solid #f8760c;
  padding: 0 1vmin;
  padding-left: 1.7vmin;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  text-shadow: 0 3px 4px #f8760c;
}

.time-dot {
  color: #fff;
  text-shadow: 0 3px 4px rgba(0, 0, 0, 0.5);
}


/* last winner section */
.last-winner {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 35vmin;
  height: 10vmin;
  background-color: #eb7216;
  color: white;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0 4px 8px solid rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.last-winner:after {
  position: absolute;
  content: '';
  top: -5px;
  left: 0;
  height: 80px;
  width: 8px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-filter: blur(7px);
  filter: blur(7px);
  -webkit-transform: translateX(-15px) rotate(20deg);
  transform: translateX(-15px) rotate(20deg);
  -webkit-animation: shine 1s infinite linear;
  animation: shine 2s infinite linear;
}

@-webkit-keyframes shine {
  100% {
    -webkit-transform: translateX(16rem) rotate(20deg);
    transform: translateX(16rem) rotate(20deg);
  }
}

@keyframes shine {
  100% {
    -webkit-transform: translateX(16rem) rotate(20deg);
    transform: translateX(16rem) rotate(20deg);
  }
}

/* winner section */
#winner {
  position: absolute;
  width: 100%;
  height: 135%;
  left: 0;
  top: 0;
  bottom: 0;

  transform: scale(0);
  background-color: #333;
  color: aliceblue;
  transition: all 1s;
  z-index: 999;
  padding: 1rem 0;
}

#last_winner{
  position: absolute;
  width: 100%;
  height: 135%;
  left: 0;
  top: 0;
  bottom: 0;

  transform: scale(1);
  background-color: #333;
  color: aliceblue;
  transition: all 1s;
  z-index: 99999;
  padding: 1rem 0;
}

#last_winner .winner_line{
  padding: .5rem .5rem 1rem .5rem;
}


#gamecountdown .time-span{
  letter-spacing:.8px;
  font-size:2rem;
}
#winner.active {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 100%;
  height: 100%;
  z-index: 999;
}
#canvas {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

#confetti {
  position: absolute;
  left: 0;
  top: 0;
  height: 0;
  width: 0;
  z-index: -1;
  display: none;
  transform: scale(0);
  visibility: hidden;
}

#confetti.active {
  position: absolute;
  height: 100%;
  width: 100%;
  display: block;
  transform: scale(1);
  visibility: visible;
  z-index: 30000;
}

.winnerid {
  text-align: center;
  background-color: #f8760c81;
  width: 40%;
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 5px 4px rgba(0, 0, 0, 0.5);
  padding: 2rem 0;
  border-radius: 10px;
}

@media screen and (max-width:886px) {
  .winnerid{
    width: 29rem;
  }
}
@media screen and (max-width:490px) {
  .winnerid{
    width: 95%;
  }
}

.winner_line{
  border-bottom: 4px solid #fff;
  padding-bottom: 2rem;
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media screen and (max-width:490px) {
  .winner_line{
    
    font-size: 1.3rem;
  }
}
.winnerid p {
  /* margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 5px 4px rgba(0, 0, 0, 0.5);
  border-radius: 1rem; */
  
}


.winner_list #userid {
  font-size: 4vmin;
  text-align: center;
  width: 90%;
  height: 8vmin;
  margin-top: 1rem;
  padding-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  box-shadow: -2px -2px 5px white, 2px 2px 5px rgba(0, 0, 0, 0.1);
  color: #f8760c;
  font-weight: 600;
  border-radius: 1rem;

  background-color: rgb(0, 0, 0);
}


.winner_list{
  list-style: none;
  background-color: rgba(0, 0, 0, 0.507);
  padding: 1rem 2rem;
}

.winner_list span{
  display: inline-block;
  background-color: #f8760c;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-top-left-radius:1rem ;
  width: 4rem;
  color: #fff;
  padding-top: .4rem;
  border-bottom-left-radius:1rem ;
}
.winner_list li{
  position: relative;
background-color: #fff;
  padding: .5rem 0;
  border-radius: 1rem;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #eb7216;
  text-transform: uppercase;
}

@keyframes octocat-wave {
  0%,
  100% {
    transform: rotate(0);
  }
  20%,
  60% {
    transform: rotate(-25deg);
  }
  40%,
  80% {
    transform: rotate(10deg);
  }
}
@media (max-width: 500px) {
  .github-corner:hover .octo-arm {
    animation: none;
  }
  .github-corner .octo-arm {
    animation: octocat-wave 560ms ease-in-out;
  }
}

/* timing */

#timecountdowndiv {
  width: 100%;
  color: #777;
  background-color: darkgoldenrod;
  height: 100%;
}
