body {
  margin: 0;
  background-color: #000;
  color: #fff;
  font-family: Monospace;
  font-size: 13px;
  line-height: 24px;
  overscroll-behavior: none;
}

a {
  color: #ff0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  cursor: pointer;
  text-transform: uppercase;
}

#tagline {
  position: absolute;
  bottom: 5px;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  z-index: 1; /* TODO Solve this in HTML */
  background-color: black;
}

@keyframes wiggle {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(2px);
  }
  75% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}

#tagline .button {
  background: no-repeat url(icon-dice.png) center center;
  background-size: contain;
  width: 30px;
  height: 30px;
  margin-left: 15px;
  margin-right: 15px;
  display: inline-block;
  animation: wiggle 3s infinite;
  /*animation-timing-function: ease-in-out;*/
}

#info {
  position: absolute;
  top: 0px;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  z-index: 1; /* TODO Solve this in HTML */
}


a, button, input, select {
  pointer-events: auto;
}

.lil-gui {
  z-index: 2 !important; /* TODO Solve this in HTML */
}

@media all and ( max-width: 640px ) {
  .lil-gui.root {
    right: auto;
    top: auto;
    max-height: 50%;
    max-width: 80%;
    bottom: 0;
    left: 0;
  }
}

#overlay {
  position: absolute;
  font-size: 16px;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(0,0,0,0.7);
}

  #overlay button {
    background: transparent;
    border: 0;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 4px;
    color: #ffffff;
    padding: 12px 18px;
    text-transform: uppercase;
    cursor: pointer;
  }

#notSupported {
  width: 50%;
  margin: auto;
  background-color: #f00;
  margin-top: 20px;
  padding: 10px;
}

@keyframes mypulse {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes sidetoside {
  0% {
    left: calc(60% - 50px);
  }
  30% {
    left: 40%;
  }
  50% {
    left: 40%;
  }
  100% {
    left: calc(60% - 50px);
  }

}

#drag-indicator {
  position: absolute;
  top: 50%;
  animation: sidetoside 3s infinite;
  animation-iteration-count: 3;
  z-index: 1; /* TODO Solve this in HTML */
}
#logo {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background-color: blue;
  background: no-repeat url(stuntcrow-logo.jpg) center center;
  background-size: contain;
}

.invert-pulse {
  animation: mypulse 3s infinite;
  animation-iteration-count: 3;
  animation-timing-function: ease-in-out;
  width: 50px;
  height: 50px;
  opacity: 0;
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}