/* Hi there! */

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Georgia", "Times New Roman", serif;
  background-color: #0f1f24;
  background-image: url("https://file.garden/aX3alAqEQ1TtZMEa/IMG_0315.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #2c2c2c;
}


/* Centered paper container */
.container {
  max-width: 720px;
  margin: 80px auto;
  padding: 40px;
  background: #f3efe6;
  background-image: url("https://file.garden/aX3alAqEQ1TtZMEa/IMG_0302.jpeg");
  border-radius: 14px;
  box-shadow: 
  0 0 40px rgba(120,200,180,0.25),
  0 15px 30px rgba(0,0,0,0.4),
  inset 0 0 30px rgba(255,255,255,0.35);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.8);
}

/* Title */
h1 {
  margin-top: 0;
  font-weight: normal;
  letter-spacing: 0.08em;
}

/* Intro text */
.intro {
  line-height: 1.7;
  margin-bottom: 35px;
}

/* Navigation */
.nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}

.nav a {
  text-decoration: none;
  color: #1f4d46;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: rgba(31, 77, 70, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  background: rgba(31, 77, 70, 0.18);
  transform: translateY(-2px);
}

/* Icons */
.nav img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/*Spore Field*/
.spores {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Individuals */
.spores span {
  position: absolute;
  bottom: -40px;
  width: 10px;
  height: 10px;
  background: rgba(180, 250, 255, 0.7);
  border-radius: 50%;
  box-shadow:
  0 0 12px rgba(180, 255, 220, 0.8),
  0 0 24px rgba(120, 200, 180, 0.6);
  animation: drift 30s linear infinite;
  opacity: 0;
}

.spores span:nth-child(1) { left: 10%; animation-duration: 28s; width: 6px; height: 6px; }
.spores span:nth-child(2) { left: 22%; animation-duration: 34s; }
.spores span:nth-child(3) { left: 35%; animation-duration: 26s; width: 8px; height: 8px; }
.spores span:nth-child(4) { left: 48%; animation-duration: 32s; }
.spores span:nth-child(5) { left: 60%; animation-duration: 29s; width: 7px; height: 7px; }
.spores span:nth-child(6) { left: 72%; animation-duration: 36s; }
.spores span:nth-child(7) { left: 85%; animation-duration: 31s; width: 5px; height: 5px; }
.spores span:nth-child(8) { left: 95%; animation-duration: 27s; }

@keyframes drift {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-120vh) translateX(40px);
    opacity: 0;
  }
}

/* Fog */
.fog {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  
  background:
  radial-gradient(
  ellipse at 20% 60%,
  rgba(200, 255, 230, 0.08),
  transparent 60%
  ),
  radial-gradient(
  ellipse at 80% 40%,
  rgba(180, 220, 255, 0.06),
  transparent 65%
  ), 
  radial-gradient(
  ellipse at 50% 80%,
  rgba(200, 255, 240, 0.05),
  transparent 70%
  ),
  radial-gradient(
  ellipse at 10% 30%,
  rgba(160, 210, 255, 0.03),
  transparent 70%
  );
  animation: fogDrift 90s linear infinite;
}

@keyframes fogDrift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-200px, -40px);
  }
}


.container {
  position: relative;
  z-index: 2;
}
  
/* Footer */
.footer {
  font-size: 0.9em;
  color: #666;
}