
/*!* Container for Three.js *!*/
#threejs-container {
    width: 100%;
    height: 100vh; /* Full viewport height */
    position: fixed;
    top: 0;
    left: 0;
    /*z-index: 0; !* Normal stacking order *!*/
    /*overflow: hidden;*/
}

/*!* Canvas for Three.js *!*/
#threejs-canvas {
    width: 100%;
    height: 100%;
    /*display: block;*/
    /*background: #f0f0f0; !* Optional: background color for debugging *!*/
}

.hero {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 10;
  font-size: 1rem;
  pointer-events: none; /* Allow clicks to pass through hero container */
  max-width: 400px;
}

/* Responsive hero text for mobile */
@media (max-width: 768px) {
  .hero {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
    width: auto;
  }

  .hero h2 {
    font-size: 2rem; /* Smaller on mobile */
  }

  .hero p {
    font-size: 0.9rem; /* Slightly smaller text */
    padding: 0.75rem;
  }

  .hero-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 0.5rem;
  }

  .hero-button {
    width: 100%; /* Full width buttons on mobile */
    padding: 0.6rem 1rem;
  }
}

.hero h2 {
    pointer-events: auto; /* Make text elements clickable/selectable */
    user-select: text; /* Allow text selection */
    font-size: 3rem; /* Larger font size for poreFlow */
    margin: 0 0 1rem 0;
    text-align: left;
}

.hero p {
    pointer-events: auto; /* Make text elements clickable/selectable */
    user-select: text; /* Allow text selection */
    /*background-color: rgba(255, 255, 255, 0.1); !* Slight background for better visibility *!*/
    /*padding: 1rem;*/
    border-radius: 4px;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  pointer-events: auto;
}

.hero-button {
  pointer-events: auto;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}


.hero-button {
  background-color: rgba(10, 10, 10, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.hero-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Force header, navbar, and sidebar to be above the render */
.md-header, 
.md-nav, 
.md-sidebar {
    /*position: relative;*/
    z-index: 20;
    /*pointer-events: auto; !* Ensure elements are interactive *!*/
}

/* Ensure all header, navbar, and sidebar elements are interactive */
.md-header *, 
.md-nav *, 
.md-sidebar * {
    z-index: 20;
    pointer-events: auto;
}

/* Ensure drawer overlay works */
.md-overlay {
    z-index: 30; /* Above everything else */
    pointer-events: auto;
}

/* Hide footer or put it behind */
.md-footer {
    display: none; /* Remove footer completely */
}
