/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.poem-title a {
  color: inherit;       /* Makes link text color inherit from parent (probably your poem-title color) */
  text-decoration: none; /* Removes underline */
  outline: none;       /* Removes focus outline */
}

.poem-title a:focus,
.poem-title a:active,
.poem-title a:hover {
  color: inherit;        /* Keeps color consistent on hover/focus */
  text-decoration: none; /* Keeps no underline on hover/focus */
  outline: none;         /* No outline on focus */
}


/* Grain Overlay */
.grain-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.05; /* Adjust to taste */
  pointer-events: none;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 400px 400px;
}

/* Body + HTML */
body, html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  overflow: hidden;
  position: relative;
}

/* Header */
header {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.center-nav {
  display: flex;
  gap: 2rem;
}

.center-nav a {
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

.center-nav a:hover {
  opacity: 0.6;
}

/* Main Logo */
main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
}

.logo {
  display: block;
  max-width: 90%;
  height: auto;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

main h1 {
  font-size: 4rem;
  letter-spacing: 2px;
}

/* Footer */
footer {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 0.7rem;
  color: #999;
  z-index: 2;
}

