body {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

#intro-gif {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}

#intro-gif img,
#intro-gif canvas {
  width: 120%;
  max-width: 516px;
  display: block;
}

#slot {
  width: 100%;
  max-width: 430px;
  height: 100%;
  max-height: 932px;
  background-image: url(c29c76adc8ed07ec9faf.jpg);
  background-size: cover;
  background-position: center bottom;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

@media (min-width: 431px) and (min-height: 800px) {
  #slot {
    height: 90vh;
    border-radius: 40px;
    border: 8px solid #222;
  }
}

#reels {
  display: flex;
  width: calc(100% - 20px);
  height: calc((3 / 5) * (100vw - 20px));
  max-height: calc((3 / 5) * 410px);
  margin: 0 auto;
  background-color: #1F062E;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.reel {
  overflow: hidden;
  width: 20%;
  height: 100%;
  position: relative;
}

.reel > .icons {
  position: relative;
}

.reel > .icons > img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 4px white) drop-shadow(0 0 4px white) drop-shadow(0 0 4px white);

  /* enable gpu accelaration, fixes iOS flicker */
  transform: translate3d(0, 0, 0);
}

#controls {
  display: none !important;
  background-color: rgba(255, 255, 255, 0.9);
  height: 50px;
  justify-content: space-between;
  align-items: center;
  padding: 5px 30px;
}

#controls label {
  display: flex;
  align-items: center;
  margin: 0;
}

#controls label input {
  margin-right: 5px;
}

input[type="checkbox"] {
  width: 40px;
  height: 40px;
}

#jackpot {
  color: #d5ad6d;
  font-size: 40px;
  text-align: center;
}

#slot.inverted .reel {
  transform: scaleY(-1);
}

#slot.inverted .reel > .icons > img {
  transform: scaleY(-1);
}

