body {
  margin: 0;
  height: 100vh;
  background-image: url('images/bak.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: visible;
}

.cursor-line {
  position: fixed;
  background-color: #ffffff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9999;
}

.cursor-line.vertical {
  top: 0;
  bottom: 0;
  width: 5px;
}

.cursor-line.horizontal {
  left: 0;
  right: 0;
  height: 5px;
}

/* CIRCLE */
.gradient-circle {
  width: 750px;
  height: 750px;
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(255, 255, 255, 1) 300px, 
    rgba(255, 255, 255, 0) 378px
  );
  position: absolute;
  top: calc(50vh + 60px);
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 120px;
  padding-bottom: 10px;
  padding-top: 0px;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  border-bottom: 2px solid #000000;
  pointer-events: auto;
}

.top-banner img {
  height: 88%;
  width: auto;
  object-fit: contain;
}

/* SPHERE */
#sphere-container {
  position: absolute;
  top: calc(50vh + 60px);
  left: 50%;
  width: 780px;
  height: 780px;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: auto;
  overflow: visible;
}

#sphere-container canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.sphere-btn {
  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  padding: 6px 12px;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  pointer-events: auto;
  border-radius: 4px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
}

.sphere-btn:hover {
  background: #290025;
  color: #ffffff;
  transform: scale(1.15);
}

.css2d-label-renderer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: visible;
  z-index: 50;
}

.sphere-node-wrapper {
  display: inline-block;
  pointer-events: auto;
}

.sphere-img {
  width: 80px;
  height: auto;
  display: block;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  border: 1px;             /* <-- removed the border */
  background: transparent;  /* <-- made background transparent for PNGs */
  transform-origin: center center;
}

.sphere-node-wrapper:hover .sphere-img {
  transform: scale(1.25);
  z-index: 100;
}

@media (max-width: 768px) {
  html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  .top-banner {
    height: 80px;
  }

  #sphere-container {
    width: 270px;
    height: 270px;
    top: calc(50% + 30px);
  }

  .gradient-circle {
    width: 280px;
    height: 280px;
    top: calc(50% + 30px);
    background: radial-gradient(circle, 
      rgba(255, 255, 255, 1) 100px, 
      rgba(255, 255, 255, 0) 140px
    );
  }

  .sphere-img {
    width: 48px;
  }
}

.sphere-img.node-a {
  width: 130px;
}

.sphere-img.node-b {
  width: 100px;
}

.sphere-img.node-c {
  width: 80px;
}

.sphere-img.node-d {
  width: 80px;
}

.sphere-img.node-e {
  width: 150px;
}

.sphere-img.node-f {
  width: 80px;
}