@font-face {
  font-family: 'SF Distant Galaxy';
  src: local('SF Distant Galaxy'), url(fonts/SF\ Distant\ Galaxy.ttf), format('ttf');
}



body {
  background-color: black;
  margin: 0;
  font-family: 'SF Distant Galaxy';
}

#heading {
  position: fixed;
  width: 100%;
  padding-top: 20px;
  text-align: center;
  align-content: center;
}

.border {
  height: 2px;
  margin-top: 4px;
  background: linear-gradient(
    90deg,
    black 0%,       /* start with black */
    gray 20%,       /* fade into gray */
    gray 80%,       /* stay gray in middle */
    black 100%      /* fade to black at end */
  );
}

h1 {
  color: #39FF14;
  font-size: 4em;
  margin: 0px;
  font-weight: 100;
}

#progress-container {
  position: fixed;
  /* This "decreases the top" by starting the background lower */
  top: 12%; 
  left: 0;
  width: 100%;
  height: 95%; /* Total height is reduced */
  display: flex;
  flex-direction: column; /* Stack text and percentage */
  justify-content: center; /* Vertical center */
  align-items: center;     /* Horizontal center */
  background-color: black;
  z-index: 9999;
  transition: opacity 1s ease;
}

#progress {
  font-size: 3em;
  color: #39FF14;
  text-shadow: 0 0 15px rgba(57, 255, 20, 0.6);
  text-align: center;
  letter-spacing: 2px;
  margin-top: -10%;
  /* Add these lines: */
  display: flex;
  flex-direction: column;
  gap: 10px; /* Space between the text and the percentage */
}

#percent-text {
  font-size: 0.8em; /* Slightly smaller than the main text */
  opacity: 0.8;
}

#ui-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allows you to still click the 3D cowry through the overlay */
    z-index: 10;
}

.corner {
    position: absolute;
    width: 80px;  /* Adjust size as needed */
    height: 80px;
    pointer-events: auto; /* Makes the icons clickable if you want to add links later */
    display: flex;
    align-items: center;
    justify-content: center;
}

.corner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(225, 213, 213, 0.957)); /* Adds depth like your image */
}

/* Positioning */
.top-left { top: 120px; left: 20px; }
.top-right { top: 120px; right: 20px; }
.bottom-left { bottom: 20px; left: 20px; }
.bottom-right { bottom: 20px; right: 20px; }