body {
  font-family: arial, sans serif;
  background-color: #f5f5f5;
}

/* Two column responsive layout */

.two-column-grid {
  display: block;
}

.two-column-grid > div {
  padding: 1rem;
}

/* tablet breakpoint */
@media (min-width:768px) {
  .two-column-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    max-width: 1000px;
    margin: 0 auto;
  }
}

/* Sets the background image for the wheel */

.the_wheel {
  position: relative;
}

.wheel_background {
  padding: 5px;
}

.wheel_background:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1/1;
  background-color: #000;
  border-radius: 50%;
  z-index: 1;
}

.wheel_sign {
  position: absolute;
  width: 160px;
  padding: 10px;
  top: -50px;
  left: calc(50% - 91.5px); /* width + padding*2 + border / 2 */ 
  background-color: #121212;
  border: 2px solid #FFFFFF;
  border-radius: 10px;
  color: #FFF;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  /*box-shadow: 0 0 10px rgba(56, 56, 56, 0.5);*/
  cursor: pointer;
  z-index: 200;
}

.wheel_sign .wheel_sign_arrow {
  position: absolute;
  left: calc(50% - 20px);
  bottom: -20px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #FFFFFF;
}

.wheel_sign .wheel_sign_arrow:after {
  content: "";
  position: absolute;
  top: -20px;
  left: -17px;
  width: 0;
  height: 0;
  border-left: 17px solid transparent;
  border-right: 17px solid transparent;
  border-top: 17px solid #121212;
}

#canvas {
  position: relative;
  max-width: 100%;
  z-index: 100;
}

/* Filters */

.btn-wheel-group {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  /*border: 1px solid #333333;*/
  text-align: center;
  align-items: center;
  justify-content: center;
}

.btn-wheel {
  display: inline-block;
  /*width: 100%;*/
  margin: 0;
  padding: 10px 15px;
  border: 0;
  background-color: #cccccc;
  cursor: pointer;
}

.btn-title {
  background-color: #000;
  color: #FFF;
  font-weight: bold;
}

.btn-blue {
  background-color: #1982c4;
  color: #FFF;
}

.btn-red {
  background-color: #ff595e;
  color: #FFF;
}

.btn-green {
  background-color: #8ac926;
  color: #FFF;
}

.btn-purple {
  background-color: #6a4c93;
  color: #FFF;
}

.btn-yellow {
  background-color: #ffca3a;
  color: #FFF;
}

.btn-active {
  background-color: #000;
  color: #FFF;
}

.btn-blue.btn-active {
  /*background-color: #054E7E;*/
  /*color: #FFF;*/
  text-shadow: 2px 1px #1982c4;
}

.btn-red.btn-active {
  /*background-color: #AE0B0F;*/
  /*color: #FFF;*/
  text-shadow: 2px 1px #ff595e;
}

.btn-green.btn-active {
  /*background-color: #538600;*/
  /*color: #FFF;*/
  text-shadow: 2px 1px #8ac926;
}

.btn-purple.btn-active {
  /*background-color: #4D2E78;*/
  /*color: #FFF;*/
  text-shadow: 2px 1px #6a4c93;
}

.btn-yellow.btn-active {
  /*background-color: #BE8C02;*/
  /*color: #FFF;*/
  text-shadow: 2px 1px #ffca3a;
}

/* Spin History */

.spin_history {
  width: 400px;
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid #000;
  background-color: #FFF;
  text-align: center;
}

#rollrecord {
  list-style-type: none;
  padding-inline-start: 0;
}

#rollrecord li {
  padding: 5px;
  font-weight: 600;
}

/* Other misc styles */

h1, p { margin: 0; }

.clickable { cursor: pointer; }

.margin_bottom { margin-bottom: 5px; }

.hidden { display: none; }
