  :root {
    --col-bg-dark: #1a1a1a;
    --col-bg-light: #2a2a2a;
    --col-text: #ddd;
    --col-acc: #A8E6CF;
    --col-acc-dark: #7FC9A9;
  }

  body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    /* background-color: #f9f9f9;
    color: #333; */
    background-color: var(--col-bg-light);
    color: var(--col-text);
    text-align: center;
  }

  h1, h2, h3 {
    font-family: "Lora", serif;
  }

  p {
    line-height: 1.6;
  }

  header {
    background: var(--col-bg-dark);
    color: var(--col-text);
    padding: 1rem;
    text-align: center;
  }

  ol {
    list-style-position: inside; /* makes numbers part of the text flow */
    padding-left: 0;             /* remove default indent */
    text-align: center;          /* center the whole list */
    margin: auto;
  }

  ol li {
    /* optional: add some spacing */
    margin-bottom: 0.5rem;
  }

  a {
  color: var(--col-acc);
  text-decoration: none;
  }

  a:visited {
    color: var(--col-acc); /* prevent color change after click */
  }

  nav a {
    margin: 0 1rem;
    text-decoration: none;
  }
  
  nav a.active {
    text-decoration: underline;
  }
  
  main {
    padding: 2rem;
  }
  
  .gallery {
    display: flex;
    flex-wrap: wrap; /* allow images to wrap to next line */
    gap: 10px; /* space between images */
    justify-content: center; /* center the gallery horizontally */
  }
  
  .gallery img {
    width: calc((100% - 30px) / 4); /* 4 images per row, minus gaps */
    /* height: auto; */
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  
  .gallery img:hover {
    transform: scale(1.02);
  }
  #extra-img {
    width: 50%; 
    cursor: pointer;
  }

  #extra-img:hover {
    transform: scale(1.02);
  }
  .lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
  }
  
  .lightbox.hidden {
    display: none;
  }
  
  .lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
  }
  
  .lightbox .close,
  .lightbox .prev,
  .lightbox .next {
    position: absolute;
    color: var(--col-text);
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
  }
  
  .lightbox .close {
    top: 20px;
    right: 30px;
  }
  
  .lightbox .prev {
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
  }
  
  .lightbox .next {
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
  }

  .intro-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    max-width: 1000px;
    margin: auto;
  }

  .intro-section img {
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .intro-text {
    max-width: 500px;
  }

  .newsletter-section {
    padding: 2rem; 
    text-align: center;
  }

  footer {    
    text-align: center;
    font-size: 0.75rem; /* or even smaller, e.g. 0.6rem */
    color: var(--col-text); /* optional: a bit lighter color */
  }
.form-container {
  max-width: 800px;
  margin: auto;
  overflow: hidden;
}

.form-container iframe {
  width: 100%;
  /* height: auto;  */
  border: none;
}
  /* .form-container {
  position: relative;
  padding-bottom: 125%; 
  height: 0;
  max-width: 600px;
  margin: auto;
}

  .form-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  } */

  .donation-box {
    display: inline-block;
    background: var(--col-bg-dark);
    padding: 2rem;
    /* margin: 2rem auto; */
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    /* max-width: 900px; */
  }

  .donate-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    background-color: var(--col-acc); /* PayPal blue */
    color: var(--col-bg-dark) !important;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
  }

  .donate-button:hover {
    background-color: var(--col-acc-dark);
  }

    .downloads-section {
      max-width: 1000px;
      margin: auto;
      padding: 2rem;
    }

    .category {
      margin-bottom: 3rem;
    }

    .image-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
      margin-top: 1rem;
    }

    .image-grid a img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 6px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .license-popup {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.7);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
    }

    .license-popup-content {
      color: var(--col-text);
      background: var(--col-bg-dark);
      padding: 2rem;
      border-radius: 10px;
      max-width: 500px;
      text-align: center;
    }
    
    .gallery-intro{
      max-width: 600px;
      margin: auto;
    }

    .gallery-intro h2 {
      font-weight: 700;
      font-size: 1.8rem;
      margin-bottom: 0.5rem;
    }

    .gallery-intro .quote {
      font-style: italic;
      font-size: 1rem;
      line-height: 1.4;
    }

    .gallery-intro .quote em {
      font-style: normal;
      /* font-weight: 600; */
      /* display: inline-block;   */
      /* margin-left: 10em; */
      display: block;
      text-align: right;
      margin-top: 0.3rem;
      margin-right: 50px;
      color: var(--col-text);
    }
  @media (max-width: 600px) {
  .intro-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;    /* centers children vertically */
    padding-left: 1rem;         /* reduce left padding */
    padding-right: 1rem;        /* reduce right padding */
    margin-left: auto;          /* center the container */
    margin-right: auto;
    box-sizing: border-box;     /* include padding in width */
    width: 100%;                /* full width */
    max-width: 600px;           /* optional max width */
  }
  .intro-section img {
    max-width: 50vw; /* max 90% of viewport width on small screens */
  }
  .intro-text {
    max-width: 90vw;
    text-align: center;
  }

  .form-container {
    max-width: 200vw;       /* let container fill the screen width */
    padding-bottom: 160%;   /* adjust aspect ratio if needed */
    overflow-x: scroll;    /* allow horizontal overflow if needed */
    margin-left: auto;
    margin-right: auto;
  }

  .gallery img {
    width: calc((100% - 30px) / 2); /* 4 images per row, minus gaps */
    /* height: auto; */
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }

  #extra-img {
    width: 90%;
  }
}