#scene-explorer-host{
  z-index: 1000 !important;
  position: absolute !important;
  }
  
  #inspector-host{
  z-index: 1000 !important;
  position: absolute !important;
  }

  @font-face {
    font-family: 'Avenir Light';
    src: url('fonts/Avenir_Next_LT_Pro_light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }

body {
  overflow: hidden;
  margin: 0;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-family: 'Avenir Light', sans-serif;
}


h1 {
  margin-bottom: 20px;
  font-family: 'Avenir Light', sans-serif;
}

h2,h3,h4,p {
  
  font-family: 'Avenir Light', sans-serif;
}


.center {
  margin: auto;
  padding: 10px;
}


.loading-screen {
  position: absolute;
  margin: 0;
  z-index: 50;

}

.loading-screen>div {
  color: rgb(3, 3, 3);
  font-size: 25px;

}


#renderCanvas {
  position: absolute;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  z-index: 3;
  background-color: rgba(0, 0, 0,0);
}

#quiz-canvas {
  position: absolute;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  z-index: 3;
  background-color: rgba(0, 0, 0,0.5);
}

#backgroundCanvas {
  position: absolute;
  touch-action:none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  z-index: 0;
  background-color: rgba(0, 0, 0,0);
}


#color-display {
  width: 200px;
  height: 200px;
  background-color: rgb(240, 220, 70);
  margin-bottom: 20px;
}

#sliders {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sliders-temp {
  position: absolute;
  z-index: 50;
  margin: 50px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider {
  width: 200px;
  /* Removed as it's not used anymore */
}

.ui-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  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: 50;

}

.pointer-events-enable{
  pointer-events:all;
}

.ui-container>div {
  width: 100%;
  /* margin: 0; */
  text-align: center;

}

.intro-game-screen {}


.in-game-message {

  position: absolute;
  margin: 0;
  opacity: 0;
  display: none;
  background-color: rgba(0, 0, 0, 0.9);
  border-radius: 15px;
  width: 80%;
  max-width: 350px;
  color: #FFFFFF;
  padding: 2%;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border: 2px solid white;

}

.golden{
  color: gold;
  font-style: italic;
}

.red{
  color: red;
  font-style: italic;
}

.in-game-message>p {

  margin: 0;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0;
  color: #FFFFFF;
  font-variation-settings:
    "wdth" 100;

}

.in-game-message>h1 {

  margin: 10px;
  font-size: 36px;
  line-height: 90%;
  letter-spacing: 5%;


}

.button-ingame {
  pointer-events: auto;
  color: #FFFFFF;
  padding: 3%;
  min-width: 180px;
  margin: 15px;
  border-radius: 15px;
  background: #ff0000;
  border: 2px solid white;
  font-size: 20px;
}

#home-btn{
  margin-top: 25px;
  max-width: 100px;
  font-size: 18;
}

/* quiz game styles: */

.quiz-container {
  max-width: 640px;
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
  text-align: center;
  z-index: 10;
  /* Ensure quiz content is on top */
  color: white;
  /* Ensure text is visible */
}

.header{
position: absolute;
top: 0;
margin: 0;
padding-top: 10px;
  
}
.header>img{
  width: 80%;
  margin: 0;
padding: 0;
}

.question-sets {
  display: none;
  margin-bottom: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  /* 50% black background */
  border-radius: 5px;
  /* Rounded corners */
  padding: 20px;
  margin: 20px;
  max-width: 640px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  /* Optional shadow to add depth */
}

.results-set {
  display: none;
  margin-bottom: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  /* 50% black background */
  border-radius: 5px;
  /* Rounded corners */
  padding: 20px;
  margin: 20px;
  max-width: 640px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}


h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: white;
  text-shadow: 15px 15px 12px rgba(0, 0, 0, 0.8);
  /* Drop shadow */
  box-shadow: inset;
}

.answer {
  display: flex;
  align-items: center;
  background-color: black;
  color: white;
  border-radius: 10px;
  border: 3px solid red;
  margin: 10px 0;
  cursor: pointer;
  overflow: hidden;
  height: 50px;
  width: 100%;
}

.answer span {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: red;
  height: 100%;
  padding: 0;
  margin: 0 15px 0 0;
  font-weight: bold;
  width: 50px;
}

#score-display {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 18px;
  z-index: 1;
  color: white;
  display: none;
}

#result-message {
  display: none;

  font-size: 24px;
  color: white;

  background-color: rgba(0, 0, 0, 0.8);
  /* 50% black background */
  border-radius: 5px;
  /* Rounded corners */
  padding: 20px;
  margin: 10px;
  max-width: 640px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  /* Optional shadow to add depth */
}

.intro-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.intro-slide h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.start-button {
  background-color: red;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  border: 3px solid white;
  cursor: pointer;
  font-size: 18px;
}

.start-button:hover {
  background-color: red;
  color: black;
}

.hidden {
  display: none;
}

#nextButton {
  position: absolute;
  /* Position the button absolutely */
  top: 20px;
  /* Distance from the top */
  left: 50%;
  /* Center horizontally */
  transform: translateX(-50%);
  /* Adjust for centering */
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  z-index: 1;
  /* Ensure the button is on top */
}

.contact-form {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  align-items: center;
  color: white;
}

.contact-form input {
  padding: 10px;
  margin: 10px 0;
  border-radius: 10px;
  border: 3px solid white;
  font-size: 18px;
  /* Match the font size of the quiz */
  width: 100%;
  /* Same width as the answer boxes */
  max-width: 500px;
  /* Limiting the width */
  background-color: black;
  color: white;
}

.contact-form button {
  padding: 10px 20px;
  border-radius: 10px;
  border: 3px solid white;
  background-color: red;
  color: white;
  cursor: pointer;
  font-size: 18px;
  /* Match the font size of the quiz */
  width: 100%;
  max-width: 500px;
  /* Limiting the width */
  margin-top: 10px;
}

.contact-form button:hover {
  background-color: black;
  color: white;
}

#thinking-message {

  margin: 0;
  padding: 0;

}

#thinking-message>img {
  margin: 0;
  width: 80%;
  max-width: 500px;

}

.email-link{
color: #ff0000;
font-size: 22px;

}

