article {
  position: absolute;
  right: 0px;
  top: -1000px;
  width: calc(100% - 505px);
  z-index: 0;
  overflow: hidden;
  perspective: 1000px;
}

@media screen and (min-width: 600px) {
article {
  top: 40px;
  bottom: 0;
}
}

@media screen and (min-width: 980px) {
article {
  width: calc(100% - 795px);
}
  
}

.scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
}

.globe-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.globe {
  width: 100%;
  height: 100%;
  max-width: 100vh;
  max-height: 100vw;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.globe-carousel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%);
  animation: rotate 20s linear infinite;
  z-index: 2;
  text-align: center;
}

.globe-carousel a span {
  color: #ffffff;
  font-weight: 300;

}

.globe-card-link {
  display: block;
  position: absolute;
  width: clamp(80px, 8vw, 120px);
  height: clamp(120px, 12vw, 180px);
  transform: rotateY(calc(var(--i) * 45deg)) translateZ(25vw) translateY(-6vw);
  transform-style: preserve-3d;
  z-index: 2;
  text-decoration: none !important;
}

.globe-card {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.8vw;
  box-shadow: 0 1.2vw 1.6vw rgba(0, 0, 0, 0.5);
  background: #000;
  display: block;
  transition: box-shadow 0.3s ease;
}

.globe-card:hover,
.globe-card-link:hover .globe-card {
  box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.6);
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotateY(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotateY(360deg);
  }
}
