body {
  font-family: monospace;
  margin: 0;
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 40vh;
  -webkit-user-select: none;
  user-select: none;
  /* background-color: rgb(69, 90, 100); */
  background-color: #141414;
}

div.demo-card {
  width: 90vw;
  margin: 1.25rem auto;
  padding: 1rem;
}

#tracer-logo-detailed-img {
  position: fixed;
  max-width: 80%;
  max-height: 30%;
  top: 25% !important;
}

/* #loading-txt {
  position: fixed;
  top: 90% !important;
} */

.loading-dots {
  display: inline-block;
  color: white;
  font-size: xx-large;
}

.loading-dots:after {
  content: "";
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    content: ".";
  }
  33% {
    content: "..";
  }
  66% {
    content: "...";
  }
  100% {
    content: ".";
  }
}

#enter-ar-info .mdl-card__title {
  color: #fff;
  height: 11rem;
  background-color: rgb(96, 125, 139);
}

#enter-ar-info.mdc-card {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

#enter-ar {
  position: fixed;
  width: 20vw !important;
  height: 7vh !important;
  left: 50% !important;
  top: 80% !important;
  transform: translate(-50%) !important;
}

.developers-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  max-width: 90vw;
  max-height: 60vh;
  overflow-y: auto;
  padding: 0.5rem;
  box-sizing: border-box;
}

.developer {
  text-align: center;
  margin: 0.2rem;
  flex: 0 0 calc(33% - 0.5rem);
  min-width: 120px;
  max-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.name {
  font-weight: bold;
  margin-bottom: 0.1rem;
  font-size: 0.9em;
}

.role {
  font-size: 0.8em;
  opacity: 0.9;
  line-height: 1.2;
}

body.unsupported #enter-ar-info {
  display: none;
}

body.ar #enter-ar-info {
  display: none;
}

#unsupported-info {
  display: none;
}

body.unsupported #unsupported-info {
  display: block;
}

#info {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, 0);
  margin: 1em 1em 2em 1em;
  z-index: 10;
  display: block;
  line-height: 2em;
  text-align: center;
  display: none;
  width: 100%;
}

body.ar #info {
  display: block;
}

#info * {
  color: #fff;
}

#info span {
  background-color: rgba(40, 40, 40, 0.4);
  padding: 0.4em 0.6em;
  width: 90vw;
  border-radius: 0.1em;
}

#stabilization {
  background-image: url(../assets/stabilization.gif);
  background-size: contain;
  background-repeat: no-repeat;
  width: 400px;
  height: 400px;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, 0);
  z-index: 10;
  display: none;
}

body.ar #stabilization {
  display: block;
}

body.ar.stabilized #stabilization {
  display: none;
}

#wrong-hosting-root {
  display: none;
}

.container {
  position: relative;
  width: 100%;
  height: 50%;
}

.hex {
  pointer-events: auto;
  display: inline-block;
  position: absolute;
  text-align: center;
  font-size: 3vw;
  line-height: 1;
  width: 13vw;
  height: 13vw;
  background-image: url("../assets/hex.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hex.filled {
  display: inline-block;
  position: absolute;
  text-align: center;
  font-size: 3vw;
  line-height: 1;
  width: 13vw;
  height: 13vw;
  background-image: url("../assets/filledHex.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hex span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-family: monospace;
  font-size: 2.7vw;
}

#info-window {
  position: fixed;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  padding: 1rem;
  border: none;
  color: #ababab;
  font-family: monospace;
  text-align: center;
  z-index: 1000;
  max-width: 80vw;
  font-size: 0.7rem;
  line-height: 1;
  width: auto;
  height: auto;
  margin: 0;
}

#tracer-logo {
  display: none;
  position: fixed;
  bottom: 2%;
  left: 2%;
  width: 20vw;
  height: auto;
  opacity: 0.8;
}

#tracer-tech {
  text-decoration: underline;
}

#NEC {
  text-decoration: underline;
}

#tracer-overlay {
  position: fixed;
  top: 45%;
  left: 50%;
  max-width: 80vw;
  width: 80vw;
  height: auto;
  max-height: 60vh;
  padding: 1rem 0;
  border: none;
  transform: translateX(-50%);
  margin: 0;
  background: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow-y: auto;
  line-height: 1;
  color: #ababab;
}

#tracer-overlay h1 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

#tracer-overlay h2 {
  font-size: 0.8rem;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}

#tracer-overlay h3 {
  font-size: 0.7rem;
  margin-bottom: 0.05rem;
}

#tracer-overlay p {
  font-size: 0.2rem;
  margin-top: 0.04rem;
  margin-bottom: 0.04rem;
}

#tracer-overlay.hidden {
  display: none;
}

.info-content {
  min-width: 18.75rem;
}

.info-content h3 {
  margin: 0.625rem 0;
}

#close-button-info {
  position: absolute;
  top: 0px;
  right: 0px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #ababab;
}

#close-button-tracer {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #ababab;
}

.hidden {
  display: none;
}

.information span {
  font-size: 6vw;
}

.reset span {
  font-size: 6vw;
}

.pos0 span {
  font-size: 6vw;
}

.reset {
  top: 60%;
  left: 3%;
}

.information {
  top: 60%;
  left: 15%;
}

.pos0 {
  top: 3%;
  left: 3%;
}

.pos1 {
  top: 12.5%;
  left: 9%;
}

.pos2 {
  top: 22%;
  left: 3%;
}

.pos3 {
  top: 22%;
  left: 15%;
}

.pos4 {
  top: 31.5%;
  left: 9%;
}

.pos8 {
  top: 41%;
  left: 3%;
}

.pos9 {
  top: 41%;
  left: 15%;
}

.pos10 {
  top: 50.5%;
  left: 9%;
}
