body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;

}

.panorama-container {
  position: fixed;
  top: -2.5%;
  left: -2.5%;
  width: 105%;
  height: 105%;
  perspective: 800px;
  overflow: hidden;
  z-index: -1;
  filter: blur(4px);
}

.panorama-cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: translateZ(-1024px) rotateX(0deg) rotateY(0deg);
  animation: rotateCube 120s linear infinite;
}

.face {
  position: absolute;
  width: 1024px;
  height: 1024px;
  background-size: cover;
  background-position: center center;
  left: 50%;
  top: 50%;
  margin-left: -512px;
  margin-top: -512px;
}

.front  {
  background-image: url('img/panorama/light/front.webp');
  transform: rotateY(0deg) translateZ(511px) scaleX(-1);

}
.back   {
  background-image: url('img/panorama/light/back.webp');
  transform: rotateY(180deg) translateZ(511px) scaleX(-1);
}
.left   {
  background-image: url('img/panorama/light/left.webp');
  transform: rotateY(90deg) translateZ(511px) scaleX(-1);
}
.right  {
  background-image: url('img/panorama/light/right.webp');
  transform: rotateY(-90deg) translateZ(511px) scaleX(-1);
}
.top    {
  background-image: url('img/panorama/light/top.webp');
  transform: rotateX(90deg) translateZ(511px) scaleX(-1);
}
.bottom {
  background-image: url('img/panorama/light/bottom.webp');
  transform: rotateX(-90deg) translateZ(511px) scaleX(-1);
}

@keyframes rotateCube {
  0% {
    transform: translateZ(512px) rotateX(0deg) rotateY(0deg);
  }

  50% {
    transform: translateZ(512px) rotateX(15deg) rotateY(180deg);
  }

  100% {
    transform: translateZ(512px) rotateX(0deg) rotateY(360deg);
  }
}

.content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding-top: 50px;
  height: 100vh;
  overflow-y: auto;
}
