/* about.css */

/* ===================================================
   Body / Global font for About page
=================================================== */
body[data-page="about"] {
  background-color: var(--bg);
  margin: 0;
  padding: 0 !important;
  width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  font-family: 'Share Tech Mono', monospace; /* global content font */
}

/* ===================================================
   HTML root adjustments
=================================================== */
html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* ===================================================
   Splash screen
=================================================== */
#splash {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  background: var(--bg);
  opacity: 1;
  transition: opacity 0.5s ease;
}

#splash.fade-out {
  opacity: 0;
  pointer-events: none;
}

body.dark #splash {
  background: var(--bg, #121212);
}

/* Splash logo uses Architects Daughter */
#splash h1 {
  font-family: 'Architects Daughter', cursive;
  font-size: 4rem;
  color: var(--text);
  user-select: none;
  animation: float 2s ease-in-out infinite;
}

/* ===================================================
   Swiji / Toolbar Titles
=================================================== */
#swijiTitle,
#toolbarTitle {
  font-family: 'Architects Daughter', cursive;
}

/* ===================================================
   Main content
=================================================== */
main {
  padding: 5rem 1rem 6rem 1rem;
  max-width: 100%;
  box-sizing: border-box;
  text-align: left;
  font-family: 'Share Tech Mono', monospace; /* was 'Orbitron', now ShareTechMono */
}

main h2 {
  font-weight: bold;
  color: var(--text);
  margin-bottom: 1rem;
  text-align: center;
}

main p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
  text-align: left;
}

/* ===================================================
   Footer
=================================================== */

/* Footer link color override to fix blue color issue */
#siteFooter .footer-links a {
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
}

#siteFooter .footer-links a:hover {
  color: var(--text);
}

/* Footer copyright text */
#siteFooter .footer-copy {
  color: #888888; /* medium grey */
  transition: color 0.3s ease;
  font-family: 'Share Tech Mono', monospace;
}
