html,
body {
  position: relative;
  width: 100%;
  height: 100%;
}

body {
  color: #333;
  margin: 0;
  /* padding: 8px; */
  box-sizing: border-box;
  font-family: temple-run-small-caps, Arial, Helvetica, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
  -o-user-select: none;
}

a {
  color: rgb(0, 100, 200);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: rgb(0, 80, 160);
}

label {
  display: block;
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  padding: 0.4em;
  margin: 0 0 0.5em 0;
  box-sizing: border-box;
  /* border: 1px solid #ccc; */
  border-radius: 2px;
  border: none;
}

input:disabled {
  /* color: #ccc; */
  color: none;
}

input[type="range"] {
  height: 0;
}

button {
  color: #333;
  background-color: #f4f4f4;
  outline: none;
}

button:disabled {
  color: #999;
}

button:not(:disabled):active {
  background-color: #ddd;
}

button:focus {
  border-color: #666;
}

/* span {
	-webkit-text-stroke-width: 1.0px;
  -webkit-text-stroke-color: black;
} */

.overlay-container {
  background-color: transparent;
  margin: auto;
  padding: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  text-align: center;
  /* max-width: 1024px;
	max-height: 576px;
	min-width: 640px;
	min-height: 360px; */
}

.button-container {
  margin: 0 auto;
  position: absolute;
  width: 100%;
  bottom: 2px;
  display: flex;
  justify-content: space-between;
  overflow: unset;
}

@font-face {
  font-family: "temple-run-small-caps";
  src: url("./fonts/cheboyga.ttf") format("truetype");
}

@font-face {
  font-family: "button-font-family";
  src: url("./fonts/temple-run-small-caps.ttf") format("truetype");
}

.label {
  display: block;
  text-transform: uppercase;
  background: linear-gradient(
    to bottom,
    #fcfa61 0%,
    #fcfa61 19%,
    #faf55f 23%,
    #f0dd54 36%,
    #d39a35 66%,
    #cb872c 78%,
    #ca842b 80%,
    #ca842b 100%
  );
  /*https://colorzilla.com/gradient-editor*/
  /*linear-gradient(to bottom, #fcfa61 20%, #e0b743 45%, #d2892d 90%); /*linear-gradient(to bottom, #fcfa61 15%, #d5913a 65%, #f5905c 85%)*/
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 24px;
  font-weight: 100;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
}
.label.no-stroke {
  -webkit-text-stroke-width: unset;
  -webkit-text-stroke-color: unset;
}
.label.medium {
  font-size: 14px;
}

.label.small {
  font-size: 10px;
}

.subheader {
  font-size: 12px;
  color: #4f291c;
  /* font-family: Arial, Helvetica, sans-serif; */
}
#inspector-host {
  position: absolute !important;
}
#scene-explorer-host {
  position: absolute !important;
}

.title-img {
  width: 73%;
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 10px;
}
.main-panel-container {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  /* border: 3px solid blue; */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}
.staticpanel {
  padding: 10px;
  left: 50%;
  top: 0;
  /* transform: translateX(-50%); */
  transform: scaleX(1);
  /* border: 2px solid red; */
  /* background: url(assets/textures/background.png); */
  background-position: 0% 0%;
  background-size: 210% 257%;
  background-repeat: no-repeat;
  width: 450px;
  height: 100%;
  animation-duration: 500ms;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-name: panel-slide;
  animation-timing-function: ease-in-out;
  overflow: scroll;
}
@keyframes panel-slide {
  0% {
    transform: translate(0%, -200%);
  }
  100% {
    transform: translate(0%, 0%);
  }
}
.panel-content {
  position: absolute;
  width: 95%;
  top: 50%;
  transform: translateY(-50%);
  /* border: 2px solid green; */
  height: 50%;
  overflow: scroll;
  padding-bottom: 80px;
}
/* @media only screen and (max-width: 600px) {
	.staticpanel{
		transform: scaleX(0.8);
	}
} */

/* Hide scrollbar for Chrome, Safari and Opera */
.panel-content::-webkit-scrollbar,
.staticpanel::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.panel-content,
.staticpanel {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.panel-content::-webkit-scrollbar,
.staticpanel::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.panel-content,
.staticpanel {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.common-text-size {
  font-size: calc(18px + 0.5vmin);
}

.title-font-size {
  font-size: calc(28px + 1vmin);
}

.mini-font-size {
  font-size: calc(17px + 0.5vmin);
}

.title-secondary-font-size {
  font-size: calc(28px + 0.9vmin);
}

.golden-text-color {
  color: #e6b608;
}
.golden-bg-color {
  background-color: #e6b608;
}

.grey-text-color {
  color: #cccccc;
}

.grey-bg-color {
  background-color: #959595;
}

.white-text-color {
  color: white;
}

.small-text {
  font-size: calc(12px + 0.5vmin);
}

.small-medium-text {
  font-size: calc(12px + 0.7vmin);
}
