.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  
  background: #090909;
  position: relative;
  overflow: hidden;
  
  /* Animation */
  animation: backgroundFadeIn 3s ease forwards;
  animation-delay: 1.5s; 
}

.hero-content {
  width: 80vw;            /* always 80% of viewport width */
  max-width: 1200px;      /* optional: prevent it from being too wide on big screens */
  margin: 0 auto;         /* center horizontally */
}

.hero h1 {
  font-size: 8vw;
  /* white-space: nowrap; */
  margin: 0;
  position: relative;
  z-index: 1;
  color: #090909;
  /* bottom: 20px; */

  /* Animation */
  animation: textFadeIn 1.5s ease forwards;
  animation-delay: 0.5s; 
}

.hero ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  /* position: relative; */
  /* list-style: none; */
  /* padding: 15px 0; */
  width: 100%;
  /* justify-self: center; */
  max-width: 800px; /* optional: limit maximum width */
  margin: 0 auto;
}

.hero p {
  font-size: clamp(16px, 4vw, 36px);
  /* white-space: nowrap; */
  margin: 0;
  z-index: 1;
  color: transparent;
  /* bottom: 60px; */
  /* position: relative; */
  /* transform: translate(50%, 50%); */
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  /* Animation */
  animation: smallTextFadeIn 1.5s ease forwards;
  animation-delay: 3s; 
}

@keyframes backgroundFadeIn {
  0% { background:#090909; }
  100% { background: transparent; }
  /* 100% { background: linear-gradient(to bottom right, #fa97c8 0%, #b485d3 50%, #88defe 100%); } */
}

@keyframes textFadeIn {
  0% { color: #090909; }
  100% { color: white; }
}

@keyframes smallTextFadeIn {
  0% { opacity: 0%; color: #090909; transform: translate(0, -20px); }
  100% { opacity: 100%; color: #f1f2f3; transform: translate(0, 0); }
}

#scene-container {
  position: fixed;   /* stay behind everything */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;       /* behind all content */
}
