/* Prevent scrolling while loading */
body.loading {
  overflow: hidden;
}

/* Loader overlay */
#loader {
  position: fixed;
  inset: 0;
  background: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}

/* Percentage text */
#loader-percent {
  font-size: 4rem;
  font-weight: 300;
  color: #fff;
  font-family: system-ui, sans-serif;
  letter-spacing: 2px;
}

/* Hide content initially */
#content {
  visibility: hidden;
}

html, body {
    margin: 0;
    padding: 0;
    background-color: #111111;
    color: #ffffff;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    overflow-x: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}
a {
    color: #ffffff;
    text-decoration: none;
}
nav a {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
nav a.active {
    opacity: 1;                      
}
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    padding: 1rem 0;
}