/*
Comment:	Separate CSS file
Date:		2025-10-24 20:30 EDT
For:			The Spirit of Thanks landing page / html
Author:		ChatGPT & Edward M. Dunlap, Jr.
Cautions:	ChatGPT CAN BE WRONG
*/

/* ==========================================================
   SECTION: HEADER + NAVIGATION
   ========================================================== */

  :root {
    --accent: #7b3f00;
    --bg: #faf7f3;
  }

  /* Reset */
  html, body {
    margin: 0;
    padding: 0;
    font-family: Inter, system-ui, sans-serif;
    background: var(--bg);
    color: #222;
    line-height: 1.6;
    box-sizing: border-box;
  }

  /* Header */
  header {
    background: #fff;
    text-align: center;
    padding: 16px 24px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
  }

  header h1 {
    margin: 0;
    font-family: "Libre Baskerville", serif;
    color: var(--accent);
  }

  /* Main content */
  main {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px;
    text-align: center;
  }

  h2 {
    margin-top: 0;
    font-family: "Libre Baskerville", serif;
    color: var(--accent);
  }

  /* Books grid */
  .books {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    justify-items: center;
    align-items: end;
    margin-top: 20px;
  }

  .books img {
    width: 75%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }

  @media (max-width: 767px) {
    .books {
      grid-template-columns: 1fr;
      row-gap: 10px;
    }
  }

  /* Footer */
  footer {
    background: #fff;
    text-align: center;
    padding: 16px 24px;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.08);
  }

  /* Form container */
  .form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .form-container * {
    max-width: 100%;
    box-sizing: border-box;
  }



