/* this font was used in DMC. I like it.*/
@font-face {
    font-family: 'DNP Shuei 6';
    src: url('/fonts/DNPshuei6.otf');
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    background: #000000;
    height: 100vh;
    width: 100vw;
    touch-action: none;
}

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#model-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

.orbit-items {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    z-index: 2;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.orbit-item {
    position: absolute;
    width: 240px;
    height: 240px;
    left: 50%;
    top: 50%;
    margin-left: -120px;
    margin-top: -140px;
    z-index: 2;
    pointer-events: auto;
    backface-visibility: hidden;
    will-change: transform;
    transition: transform 0.5s ease-out;
}

.orbit-image-wrapper {
    width: 100%;
    height: 100%;
    transition: 
        transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28), 
        filter 0.3s ease;
    overflow: hidden;
    filter: grayscale(70%) brightness(0.8);
}

/* maybe change the greyscale to a cooler effect? */
.orbit-item:hover .orbit-image-wrapper {
    transform: scale(1.2);
    filter: grayscale(0%) brightness(1.1);
    z-index: 10;
}

.orbit-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* info box */
.info-panel {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  font-family: 'DNP Shuei 6';
}

.info-toggle {
  display: none;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-style: italic;
  transition: all 0.3s ease;
}

.info-icon:hover {
  background: rgba(255, 255, 255, 0.3);
}

.info-content {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 280px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.3s ease;
}

/* links */
.info-content a {
  color: #fd2d2d;
  text-decoration: underline;
}

.info-toggle:checked ~ .info-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* back button to homepage */
#exit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border-radius: 5px;
    z-index: 4;
}