@import url("https://fonts.googleapis.com/css?family=Material+Icons|Work+Sans:400,700,900");
body {
  /* overflow: hidden; */
  width: 100%;
  height: 100%;
}

.main-content {
  top: -5%;
  width: 100%;
  height: 100%;
  background-image: url('./images/back-img.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: bottom;
  /* background-position:100vh; */
  position: fixed;
}

/* .roulette {
  margin-top: 15%;
  font-family: 'Work Sans', sans-serif;
  display: block;
  position: absolute;
  width: 50%;
  margin-left: -25%;
} */

.img-fluid {
  display: block;
  position: absolute;
}

/* .roulette .markers .triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 1em 0 1em 1em;
  border-color: transparent transparent transparent #007bff;
  border-radius: 50px;
  position: absolute;
  border-left-color: #FFF;
  margin-top: -200px;
  top: 50%;
  left: 100px;
  left: 60%;
  font-size: 40px;
  margin-top: -1em;
  -webkit-filter: drop-shadow(0 0.25em 0 rgba(0, 0, 0, 0.25));
          filter: drop-shadow(0 0.25em 0 rgba(0, 0, 0, 0.25));
} */

/* .roulette.busy .markers .triangle {
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
  box-shadow: 0 0.15em 0 rgba(0, 0, 0, 0.25);
  color: #999;
  cursor: default;
  left: 58%;
}

.roulette .spinner .item[data-type="replay"] .label .text {
  font-size: .6em;
  white-space: initial;
  width: 6rem;
  text-align: center;
  line-height: 1.2;
}
*/
.roulette .button {
  width: 10em;
  height: 10em;
  line-height: 10em;
  top: 50%;
  left: 50%;
  margin-left: -5em;
  margin-top: -5em;
  font-weight: 800;
  z-index: 998;
  position: absolute;
  background: #FFF;
  border: none;
  border-radius: 100%;
  color: #999;
  outline: none;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  box-shadow: 0 0.4em 0 rgba(0, 0, 0, 0.25);
  text-align: center;
  transition: -webkit-transform 0.15s;
  transition: transform 0.15s;
  transition: transform 0.15s, -webkit-transform 0.15s;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* @media 
  (max-device-width: 1280px) 
  and (orientation: portrait)
  and (-webkit-min-device-pixel-ratio: 2) {  */
    .roulette {
      margin-top: 15%;
      font-family: 'Work Sans', sans-serif;
      display: block;
      position: absolute;
      width: 100%;
      margin-left: -50%;
    }

    .roulette .markers .triangle {
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 1em 0 1em 1em;
      border-color: transparent transparent transparent #007bff;
      border-radius: 50px;
      position: absolute;
      border-left-color: #FFF;
      margin-top: -200px;
      top: 50%;
      /* left: 100px; */
      left: 59%;
      font-size: 40px;
      margin-top: -1em;
      -webkit-filter: drop-shadow(0 0.25em 0 rgba(0, 0, 0, 0.25));
              filter: drop-shadow(0 0.25em 0 rgba(0, 0, 0, 0.25));
    }

    .roulette.busy .markers .triangle {
      -webkit-transform: scale(0.9);
              transform: scale(0.9);
      box-shadow: 0 0.15em 0 rgba(0, 0, 0, 0.25);
      color: #999;
      cursor: default;
      left: 57%;
    }

    .roulette .spinner .item[data-type="replay"] .label .text {
      font-size: .6em;
      white-space: initial;
      width: 7rem;
      text-align: center;
      line-height: 1.2;
    }

    .main-content {
      width: 100%;
      height: 100vh;
      background-image: url('./images/back-img.jpg');
      background-repeat: no-repeat;
      background-size: cover;
      background-position-y: bottom;
      position: fixed;
    }
/* } */

/* @media 
  (max-device-width: 640px) 
  and (orientation: portrait)
  and (-webkit-min-device-pixel-ratio: 2) { 
    .roulette .spinner .item[data-type="replay"] .label .text {
      font-size: .6em;
      white-space: initial;
      width: 3rem;
      text-align: center;
      line-height: 1.2;
    }

    .roulette .markers .triangle {
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 1em 0 1em 1em;
      border-color: transparent transparent transparent #007bff;
      border-radius: 50px;
      position: absolute;
      border-left-color: #FFF;
      margin-top: -200px;
      top: 50%;
      left: 100px;
      left: 56%;
      font-size: 20px;
      margin-top: -1em;
      -webkit-filter: drop-shadow(0 0.25em 0 rgba(0, 0, 0, 0.25));
              filter: drop-shadow(0 0.25em 0 rgba(0, 0, 0, 0.25));
    }

    .roulette.busy .markers .triangle {
      -webkit-transform: scale(0.9);
              transform: scale(0.9);
      box-shadow: 0 0.15em 0 rgba(0, 0, 0, 0.25);
      color: #999;
      cursor: default;
      left: 55%;
    }

    .roulette .button {
      font-size: 5px;
      width: 10em;
      height: 10em;
      line-height: 10em;
      top: 50%;
      left: 50%;
      margin-left: -5em;
      margin-top: -5em;
      font-weight: 800;
      z-index: 998;
      position: absolute;
      background: #FFF;
      border: none;
      border-radius: 100%;
      color: #999;
      outline: none;
      cursor: pointer;
      -webkit-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
      box-shadow: 0 0.4em 0 rgba(0, 0, 0, 0.25);
      text-align: center;
      transition: -webkit-transform 0.15s;
      transition: transform 0.15s;
      transition: transform 0.15s, -webkit-transform 0.15s;
      transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }
}

@media 
  (max-device-width: 280px) 
  and (orientation: portrait)
  and (-webkit-min-device-pixel-ratio: 2) { 
    .roulette .spinner .item[data-type="replay"] .label .text {
      font-size: .6em;
      white-space: initial;
      width: 2rem;
      text-align: center;
      line-height: 1.2;
    }
} */

.roulette::after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.roulette .shadow {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  box-shadow: 0 0.3em 0 rgba(0, 0, 0, 0.25) inset;
}
.markers {
  display: block;
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  overflow: hidden;
  border-radius: 100%;
}
.roulette .markers .marker {
  position: absolute;
  width: 0;
  height: 0;
  top: -50%;
  left: 50%;
  -webkit-transform-origin: 0% 100%;
          transform-origin: 0% 100%;
  border: 0 solid transparent;
}

.roulette .spinner {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 5px solid #FFF;
  overflow: hidden;
  -webkit-transform: rotateZ(0deg);
          transform: rotateZ(0deg);
  /*performance boost*/
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.roulette .spinner .item {
  position: absolute;
  width: 0;
  height: 0;
  top: -51%;
  left: 50%;
  -webkit-transform-origin: 0% 100%;
          transform-origin: 0% 100%;
  border: 0 solid transparent;
}
.roulette .spinner .item .label {
  display: block;
  position: absolute;
  color: #FFF;
  font-weight: 100;
  top: 0;
  left: 0;
  white-space: nowrap;
  -webkit-transform-origin: 0 0;
          transform-origin: 0 0;
  font-size: .9em;
}
.roulette .spinner .item .label i, .roulette .spinner .item .label .text {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  font-size: 0.63em;
  text-indent: 0;
  transform: rotate(180deg);
}
.roulette .spinner .item .label i {
  margin-right: 0.1em;
}

.roulette .button:hover {
  color: inherit;
}
.roulette .button span {
  font-size: 10px;
  letter-spacing: -0.05em;
}
.roulette.busy .button{
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
  box-shadow: 0 0.15em 0 rgba(8, 8, 8, 0.25);
  color: #999;
  cursor: default;
}

/* CUSTOM LABELS */
.roulette .spinner .item[data-type="quiz"] .label {
  font-size: 1.5em;
}
.roulette .spinner .item[data-type="question"] .label {
  font-size: 1.3em;
  font-weight: 600;
}
.roulette .spinner .item[data-type="replay"] .label i {
  font-size: 1.5em;
}
.roulette .spinner .item[data-type="time"] .label i {
  font-size: 1.5em;
}