/* Global site-wide styles for CGM Pal */

.about {
  background: #1a1a1a;
  padding: 60px 20px;
  color: #e0e0e0;
}

.about .container {
  max-width: 900px;   /* limits horizontal span */
  margin: 0 auto;     /* centers the block */
  padding: 0 20px;    /* adds inner spacing */
}

.about h2 {
  color: #00ffff;
  margin-bottom: 15px;
  font-size: 1.8em;
}

.about p {
  line-height: 1.6;
  font-size: 1.1em;
  margin-bottom: 30px;
}


html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #111;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
}

#particles-js {
  position: fixed;   /* instead of absolute */
  inset: 0;          /* shorthand for top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* ensures clicks go through */
  background: #111;     /* your dark background */
}

body > * {
  position: relative;
  z-index: 1;
}



.content {
  position: relative;
  z-index: 1;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

nav a {
  color: #00ffff;
  margin: 0 15px;
  text-decoration: none;
  font-size: 1.2em;
}

nav a:hover {
  text-decoration: underline;
}

/* Global navigation bar */
nav {
  background: #222;
  padding: 15px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2;
  text-align: center;
}

nav a {
  color: #00ffff;
  margin: 0 20px;
  text-decoration: none;
  font-size: 1.1em;
}

nav a:hover {
  text-decoration: underline;
}

.content {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 120px; /* push content below nav */
}
