body {
  margin: 0;
  background-color: #28B2F5;
  color: #000000;
  font-family: Monospace;
  font-size: 13px;
  line-height: 1.9em;
  overscroll-behavior: none;
}

a {
  color: #000000;
  text-decoration: underline;
}

a:hover {
  text-decoration: underline;
}

button {
  cursor: pointer;
}

/* TODO:  media query for better mobile formatting;*/
#info {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  
  min-width: 300px;
  max-width: 600px;
  padding: 2em;
  z-index: 1; /* TODO Solve this in HTML */
  background-color: rgba(255,255,255,0.9);
  border: 1px solid black;
  box-shadow: 3px 3px 1px black;
  margin: auto;
}

#dismissInfo {
  width: 100%;
  display: none;
  font-family: monospace;
  padding: 10px;
  background-color: white;
  border: 1px solid black;
}

#dismissInfo:hover {
  background-color: black;
  color: white;
}

#loading {

}

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

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

@media all and ( max-width: 640px ) {
  #info {
    width: calc(100% - 4em);
    height: calc(100% - 4em);
    border: none;
  }
}


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