body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1em;

  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-items: center;
  align-items: center;

  pointer-events: auto;
  user-select: none;
}

/*hide the a-frame VR-Button*/
.a-enter-vr-button {
  visibility: hidden;
}

/*make UI visible by increasing z-index*/
.ui {
  z-index: 100;
}

p {
  color: #333333;
  opacity: 1;
  line-height: 20px;
  text-align: center;
}

h1 {
  color: #333333;
  opacity: 1;
  font-size: 1.1em;
  line-height: 30px;
  text-align: center;
}

a {
  color: #d61614;
}

.italic {
  font-style: italic;
}

.small-font {
  font-size: 0.8em;
}

.text-light {
  color: lightgray;
  font-size: 1em;
  text-align: left;
  line-height: 28px;

}

#close-text {
  color: lightgray;
  text-align: center;
}


#unsupported-device-text {
  visibility: hidden;
  font-size: 0.9em;
}

.transparent-overlay {
  visibility: hidden;
  z-index: 1000;
  position: absolute;
  display: flex;
  width: 100%;
  height: 100%;
  background-color: rgb(225, 255, 255, 0.5);
  justify-content: center;
  align-items: center;
}

#credits-overlay {
  z-index: 1001;
}

.container {
  background-color: #333333;
  overflow-y: scroll;
  border-radius: 0.3em;
  margin: 300px 30px 250px 30px;
  padding: 10px 15px 10px 15px;
  max-height: 550px;
  max-width: 500px;
  min-width: 200px;
}

.transparent-container {
  margin: 5em 3em 4em 3em;
  align-self: center;
  justify-self: center;
}

#welcome-text-container {
  visibility: hidden;
}

#user-instructions-container {
  visibility: hidden;
  background-color: lightgrey;
  align-self: center;
  margin: 0.7em;
  padding: 0.2em 0.8em 0.2em 0.8em;
  opacity: 0.85;
  border-radius: 0.2em;
  position: absolute;
  bottom: 0px;
  max-width: 500px;
  min-width: 250px;
}


button {
  appearance: none;
  background: rgba(153, 135, 135, 0.267);
  color: white;
  border: 2px solid;
  padding: 0.5em;
  margin: 0 0.5em 0 0.5em;
  font-size: 1em;
  border-radius: 0.5em;
  user-select: none;
  pointer-events: auto;
  align-self: center;
}

.icon-btn {
  background-color: transparent;
  border: none;
  color: #333333;
  padding: 0.3;
  font-size: 2em;
  cursor: pointer;
}

.icon-btn:hover {
  color: #5a5a5a;
}

#info-button {
  visibility: hidden;
  position: absolute;
  top: 0px;
  right: 0px;
  margin: 30px 15px 0px 0px;
  z-index: 1002;
}
