body {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.controls {
  background-color: #000000;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5%;
}

#viewerContainer {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

#helmet {
  width: 100%;
  height: 100%;
}

.loading {
  position: fixed;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hide {
  display: none;
}

/* hotspot效果 */
.Hotspot {
  background: #ffffff;
  border-radius: 32px;
  border: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  cursor: pointer;
  height: 24px;
  padding: 8px;
  position: relative;
  width: 24px;
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
  pointer-events: auto;
}

.HotspotAnnotation {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  color: rgba(0, 0, 0, 0.8);
  display: none;
  font-family: Futura, Helvetica Neue, sans-serif;
  font-size: 18px;
  font-weight: 700;
  left: calc(100% + 1em);
  max-width: 300px;
  overflow-wrap: break-word;
  padding: 0.5em 1em;
  position: absolute;
  top: 50%;
  width: max-content;
  transform: translateY(-50%);
}

.Hotspot.active .HotspotAnnotation {
  display: block;
}

.Hotspot.hidden {
  opacity: 0;
  pointer-events: none;
}

.Hotspot.fade-transition {
  transition: opacity 2.2s ease-in-out, visibility 0s linear 2.2s;
  opacity: 1;
  visibility: visible;
}

.Hotspot.fade-transition.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 2.2s ease-in-out, visibility 0s linear 2.2s;
  pointer-events: none;
}

#moveHotspotBtn {
  margin: 0 10px;
}

#hotspot3 {
  display: none;
}

#hotspot5 {
  display: none;
}
