html {
    scroll-behavior: smooth;
}

/* 1. More predictable box-sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Reduce margins on text-y elements */
body, h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd {
  margin: 0.5rem;
}

/* 3. Remove list padding/margin */
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none; /* optional */
}

/* 4. Set a clean baseline for body text */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 5. Images and media scale nicely */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 6. Inputs/buttons inherit font settings but keep usable padding */
input, button, textarea, select {
  font: inherit;
}

body {
    padding-top: 70px; /* Prevent content from being hidden under the navbar */
    background-color: #faf3d4;
    padding-left: 3em;
    padding-right: 3em;
    font-family:
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      Roboto,
      "Helvetica Neue",
      Arial,
      sans-serif;
}

/* Serif system font stack for headings */
h1, h2, h3, h4, h5, h6 {
  font-family:
    Georgia,
    "Times New Roman",
    Times,
    serif;
}

h1 {
    font-size: larger;
}

h2 {
    font-size: large;
    font-weight: bold;
}

h3 {
    font-size: medium;
    font-weight: bold;
}

h4 {
    font-size: medium;
    font-weight: bold;
}

.bulleted::before {
  content: "–";
  margin-right: 0.25em;
}

.unstyled-link {
    color: inherit;
    text-decoration: none;
}

.unstyled-link:hover {
    text-decoration: underline;
}

.indent {
    margin-left: 20px;
}

.updatePopup {
    white-space: pre-wrap;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    opacity: 0;
    z-index: 9999;   
    background-color: #fff9e6;
    border: 3px solid #f0e1b8;
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.updatePopup.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.banner-container {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.banner-container label,
.banner-container span {
  font-size: 0.75rem;
  font-weight: bold;
  color: #555;
  line-height: 1;
}

.banner-container h1 {
  margin: 0;
  margin-right: 1em;
}

.banner-container .form-check-input {
  transform: scale(0.75) translateY(4px);
  margin: 0;
}
