/* Estilos base */
body {
  margin: 0;
  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;
}

#info {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

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

/* lil-gui - oculto por defecto */
.lil-gui.root {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  top: auto !important;
  left: auto !important;
  max-height: 80vh;
  max-width: 320px;
  z-index: 1000 !important;
  /* ocultar por defecto */
  display: none;
}

/* Mostrar lil-gui cuando no tenga la clase hidden */
.lil-gui.root.active {
  display: block;
}

/* lil-gui responsive */
@media (max-width: 640px) {
  .lil-gui.root {
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    max-height: 50vh;
    max-width: 90vw;
  }
}

/* Overlay */
#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: 1px solid #fff;
  border-radius: 4px;
  color: #fff;
  padding: 12px 18px;
  text-transform: uppercase;
  cursor: pointer;
}

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