  /* Scrollbar unica */
  ::-webkit-scrollbar {
      width: 4px;
  }

  ::-webkit-scrollbar-track {
      background: #1a1a1a;
  }

  ::-webkit-scrollbar-thumb {
      background: #be3bff;
      border-radius: 2px;
  }

  body {
      margin: 0;
      padding: 0;
      background-color: black;
      color: white;
      font-family: abcdiatype-medium, sans-serif;

  }

  .artwork-container {
      display: flex;
      position: absolute;
      justify-content: center;
      align-items: center;
      width: 90px;
      height: auto;
      position: absolute;
      top: 0;
      left: 0;
      margin-left: 0.5rem;
  }

  .artwork-container img {
      max-width: 100%;
      height: auto;
      cursor: pointer;
  }

  /* Nav container per desktop */
  .nav-container {
      position: fixed;
      background: rgba(0, 0, 0, 0.95);
      top: 0;
      right: 0;
      gap: 1rem;
      padding: 1rem;
      z-index: 1000;
      display: flex;
      justify-content: flex-end;
      width: auto;
  }

  .nav-item {
      color: white;
      text-decoration: none;
      font-family: ABCDiatype-Medium, sans-serif;
      font-weight: bold;
      margin-left: 2rem;
      font-size: 0.9rem;
      transition: color 0.3s ease;
  }
  .nav-item:hover {
      color: #b400fb;
  }

  .about-content {
      max-width: 800px;
      margin: 200px auto 10px auto;
    display: flex;
        /* Usa flexbox */
        flex-direction: column;
        /* Disposizione verticale */
        align-items: center;
        /* Centra orizzontalmente */
        justify-content: center;
        /* Centra verticalmente */
        padding: 20px;
        /* Padding per il contenuto */
        text-align: center;
        /* Centra il testo */
      line-height: 1.6;
  }

  .about-content h1 {
      color: #b400fb;
      font-family: abcdiatype-medium, sans-serif;
      font-style: italic;
      font-size: 2.5em;
      margin-bottom: 30px;
  }

  .about-content p {
      margin-bottom: 20px;
      font-size: 16px;
  }

  .about-section {
      margin-bottom: 40px;
  }

  .about-section h2 {
      color: #b400fb;
      margin-bottom: 20px;
  }

  #model-container {
position: relative;
    width: 50%;
    /* Larghezza del contenitore */
    min-height: 300px;
    /* Altezza minima per garantire che sia visibile */
    margin: 20px auto;
    /* Margine verticale di 20px e margine orizzontale automatico per centrare */
    background-color: black;
    /* Colore di sfondo */
    z-index: 100;
    /* Z-index per sovrapposizione */
    overflow: hidden;
    /* Nascondi il contenuto in eccesso */
  }

  #model-container canvas {
      width: 100% !important;
      height: 100% !important;
  }

  .image-box {
      will-change: transform;
      transform: translateZ(0);
  }

  /* Hamburger menu styles */
  .hamburger-menu {
      display: none;
  }

  @media screen and (max-width: 768px) {
      .hamburger-menu {
          display: flex;
          position: absolute;
          top: 0;
          right: 0;
          z-index: 1001;
          cursor: pointer;
          background: none;
          padding: 1rem;
          width: 60px;
      }

      .bars-container {
          display: flex;
          flex-direction: column;
          gap: 5px;
          width: 25px;
          margin: 0 auto;
      }

      .bar {
          width: 25px;
          height: 3px;
          background-color: white;
          transition: 0.3s;
      }

      .nav-container {
          display: none;
          position: fixed;
          top: 0;
          right: -100%;
          width: 250px;
          height: 100vh;
          background: #b400fb;
          padding-top: 60px;
          transition: 0.3s;
          flex-direction: column;
          gap: 1rem;
      }

      .nav-container.active {
          right: 0;
          display: flex;
      }

      /* Hamburger animation */
      .hamburger-menu.active .bar:first-child {
          transform: rotate(-45deg) translate(-5px, 6px);
      }

      .hamburger-menu.active .bar:nth-child(2) {
          opacity: 0;
      }

      .hamburger-menu.active .bar:last-child {
          transform: rotate(45deg) translate(-5px, -6px);
      }
  }

  @media screen and (max-width: 780px) {
      .nav-container {
          width: 100%;
          padding: 0;
          position: fixed;
          top: 0;
          left: 0;
          right: 0;
          background: #b400fb;
          display: none;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          height: 100vh;
          gap: 2rem;
      }

      .nav-container.active {
          display: flex;
      }

      .nav-container .nav-item {
          color: white;
          font-size: 2rem;
          margin: 2rem;
          text-align: center;
          width: 100%;

      }
  }

  @media screen and (max-width: 480px) {
      #model-container {
          height: 200px;
          margin-bottom: 20px;
          transform: scale(0.8);
      }

      .about-content {
          margin-top: 60px;
          padding: 0 15px;
          font-size: 0.7rem;
      }

      .artwork-container {
          top: 0px;
          left: 0;
          z-index: 1000;
          display: flex;
          align-items: center;
          margin-left: 0.5rem;
          width: auto;
      }

      .artwork-container img {
          width: 70px;
          height: auto;
      }
  }


  @media screen and (max-width: 400px) {
      #model-container {
          height: 180px;
          margin-bottom: 20px;
      }

      #model-container canvas {
          transform: scale(0.8);
      }

      .about-content {
          margin-top: 18vh;
          padding: 0 15px;
          font-size: 0.7rem;
      }

      .nav-container {
          gap: 1rem;
          padding: 0.5rem;
      }

      .nav-item {
          margin-left: 2rem;

      }
  }

  @media screen and (max-width: 780px) and (orientation: landscape) {
      #model-container {
          height: 180px;
      }

      #model-container canvas {
          transform: scale(0.6);
          transform-origin: center;
      }
  }