body {
  background-color: black;
}

a-scene {
  mix-blend-mode: screen;
  opacity: 0;
  display: none;
}

body > video:last-child {
  transition: opacity 300ms ease-in-out;
  opacity: 0.4;
}

.overlay {
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

.overlay > * {
  animation: pulse 500ms alternate-reverse infinite ease-out;
}

#loadingOverlay {
  display: flex;
  opacity: 1;
  background-color: white;
}

#loadingOverlay > img {
  width: 70%;
  max-width: 250px;
}

#interactionOverlay {
  cursor: pointer;
}

#interactionOverlay > img {
  width: 96px;
}

#scanOverlay > img {
  width: 70%;
  max-width: 500px;
}

#subVideoOverlay {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  display: none;
  z-index: 1000;
  border-radius: 10px;
  mix-blend-mode: screen;
  object-fit: cover;
  aspect-ratio: 6/1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.95);
  }
}
