:root {
  --site-max-width: 1024px;
  --site-background-colour: #282828;
  --site-body-background-colour: #808080;
}


    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background-color: var(--site-body-background-colour);
      color: #f5f5f5;
      max-width: var(--site-max-width);
      margin-right: auto;
      margin-left: auto;
    }
    header {
      background-color: var(--site-background-colour);
      padding: 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0px 20px 15px rgb(0,0,0,0.6);
    }
    header .logo {
      font-size: 1.2rem;
      font-weight: bold;
    }
    nav {
      display: flex;
      flex-direction: row;
    }
    nav a {
      color: #f5f5f5;
      margin: 0 0.8rem;
      text-decoration: none;
      font-weight: bold;
      font-size: 0.95rem;
    }
    .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
    }
    .menu-toggle span {
      height: 3px;
      width: 25px;
      background: #f5f5f5;
      margin: 4px 0;
      border-radius: 2px;
      transition: 0.4s;
    }
    @media (max-width: 768px) {
      nav {
        display: none;
        flex-direction: column;
        background-color: var(--site-body-background-colour);
        box-shadow: 0px 20px 15px rgb(0,0,0,0.6);
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 1rem;
      }
      nav a {
        margin: 0.5rem 0;
      }
      nav.active {
        display: flex;
      }
      .menu-toggle {
        display: flex;
      }
    }
    .hero {
      height: 20vh; /* reduced height */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 0 1rem;
    }
    .space {
      height: 100%;
      max-width: var(--site-max-width);
      width:100%;
      background: url('/images/galaxy.jpg') no-repeat center center / cover;
      display: flex;
      position:fixed;
      z-index: -1;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      /* filter:blur(5px); /*  */
    }
    .bg-galaxy {
      background: url('/images/galaxy.jpg') no-repeat center center / cover;
      background-attachment: fixed; /* parallax effect */
    }
    .bg-jupiter {
      background: url('/images/jupiter.jpg') no-repeat center center / cover;
      background-attachment: fixed; /* parallax effect */
    }
    .bg-ring {
      background: url('/images/ring.jpg') no-repeat center center / cover;
      background-attachment: fixed; /* parallax effect */
    }
    .hero h1 {
      font-size: 2.2rem;
      margin: 0;
      text-shadow: 2px 2px 10px #000;
    }
    .hero h2 {
      font-size: 2.2rem;
      margin: 0;
      text-shadow: 2px 2px 10px #000;
    }
    .hero button {
      margin-top: 1rem;
      padding: 0.8rem 1.2rem;
      font-size: 1rem;
      border: none;
      border-radius: 5px;
/*
      background: #5a5af0;
*/
      background: var(--site-background-colour);
      color: white;
      cursor: pointer;
    }
    .section {
      padding: 3rem 1rem;
      max-width: var(--site-max-width);
      margin: auto;
      background-color: var(--site-background-colour);
      box-shadow: 0px 20px 15px rgb(0,0,0,0.6);
    }
    .section a {
      text-decoration:none;
      color:inherit;
    }
    .section h2 {
      font-size: 1.8rem;
      text-align: center;
      margin-bottom: 2rem;
    }
    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 1rem;
    }
    .gallery img {
      width: 100%;
      border-radius: 8px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }
    .gallery img:hover {
      transform: scale(1.05);
      box-shadow: 0 0 15px rgba(255,255,255,0.3);
    }
    footer {
      background-color: var(--site-background-colour);
      text-align: center;
      padding: 2rem;
      margin-top: 2rem;
      font-size: 0.85rem;
    }
    @media (min-width: 768px) {
      .hero h1 {
        font-size: 3rem;
      }
      .hero h2 {
        font-size: 3rem;
      }
      .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      }
      .section {
        padding: 3rem 10rem;
      }
    }

/*
 * Additional styling for summary page
 */
.targets-header {
      background-color: var(--site-background-colour);
      overflow:auto;
}
.target {
	padding-top:20px;
	padding-bottom:20px;
	width:150px;
	text-align:center;
	color:white;
	margin-left:auto;
	margin-right:auto;
}
.target img {
	display:block;
	margin:0 auto;
}
.target a {
	text-decoration:none;
	color:inherit;
}

