html,
body {
  height: 100%;
  margin: 0;
  background: #0b0c0f;
}
body {
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
#pano {
  width: 100%;
  height: 100%;
  background: #000;
}
#vrOverlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 1080;
  display: none;
}
#vrOverlay a-scene {
  width: 100%;
  height: 100%;
}
.grid {
  max-height: 50vh;
  overflow: auto;
  padding: 0.5rem;
}
.tile {
  aspect-ratio: 1/1;
}
.tile img {
  width: 100%;
  height: 100%;
  border-radius: 0.7rem;
  object-fit: cover;
  display: block;
}
.level-container {
  position: relative;
  display: block;
  border-radius: 0.7rem;
  overflow: hidden;
}
.level-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.level-container:hover .overlay {
  opacity: 1;
}
.overlay-text {
  color: white;
  font-size: 0.9rem;
  text-align: center;
  padding: 0.5rem 0.75rem;
}
