body {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(../assets/imgs/bg.jpg);
  background-size: cover;
}

/* Sets the background image for the wheel */
td.the_wheel {
  background-image: url(../assets/imgs/wheel_back.png);
  background-position: center;
  background-repeat: no-repeat;
}

/* Do some css reset on selected elements */
h1,
p {
  margin: 0;
}

div.power_controls {
  margin-right: 70px;
}

div.html5_logo {
  margin-left: 70px;
}

/* Styles for the power selection controls */
table.power {
  background-color: #cccccc;
  cursor: pointer;
  border: 1px solid #333333;
}

table.power th {
  background-color: white;
  cursor: default;
}

td.pw1 {
  background-color: #6fe8f0;
}

td.pw2 {
  background-color: #86ef6f;
}

td.pw3 {
  background-color: #ef6f6f;
}

/* Style applied to the spin button once a power has been selected */
.clickable {
  cursor: pointer;
}

/* Other misc styles */
.margin_bottom {
  margin-bottom: 5px;
}

.main-container {
  max-height: 100vmin;
  max-width: 100vmin;
}

img.pin {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 26vmin;
  height: 26vmin;
  object-fit: contain;
  object-position: center;
  margin-top: -13vmin;
  margin-left: -13vmin;
}
#spin_button {
  --bs-btn-padding-y: 0.5rem;
  --bs-btn-padding-x: 5rem;
  --bs-btn-font-size: 8rem;
  --bs-btn-border-radius: 50rem;
  /* background: url(../assets/imgs/btn_bg.png); */
  background-color: #764e49;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  /* color: transparent; */
  border: 0;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgb(0 0 0 / 70%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#intro {
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(../assets/imgs/bg.jpg);
  color: #fff;
}
#intro img.static_wheel {
  width: 70vmin;
  display: block;
  height: 70vmin;
  object-fit: contain;
  animation: spin 5s ease-in-out 2s infinite normal;
}
#intro img.pin {
  width: 20vmin;
  height: 20vmin;
  margin-top: -10vmin;
  margin-left: -10vmin;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  20%,
  25% {
    transform: rotate(500deg);
  }
  45%,
  50% {
    transform: rotate(800deg);
  }
  70%,
  75% {
    transform: rotate(1100deg);
  }
  95%,
  100% {
    transform: rotate(1440deg);
  }
}
