/* Main Styles */

/* Garet font family: regular (Book) and heavy versions */
@font-face {
  font-family: 'Garet';
  src: url('./fonts/Garet-Book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Garet';
  src: url('./fonts/Garet-Heavy.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --wss-charcoal: rgb(23, 23, 23);
  --wss-bone-white: rgb(210, 191, 149);
  --wss-orange: rgb(170, 101, 25);
}

/* Use flex layout on body for a sticky footer that flows with content */
body {
  background-color: var(--wss-charcoal);
  background-image: linear-gradient(rgba(23, 23, 23, 0.45), rgba(23, 23, 23, 0.45)), url('../images/backgrounds/great_plains_kraft.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;

  color: var(--wss-bone-white);
  font-family: 'Garet', system-ui, -apple-system, 'Helvetica Neue', Segoe UI, Roboto, Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
  line-height: 1.4;

  /* Sticky footer mechanics */
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Ensure main content doesn't force full viewport height so the footer can sit at the bottom when content is short */
body>div:first-of-type {
  min-height: 0 !important;
  /* overrides inline min-height:100vh in index.html */
  flex: 1 0 auto;
  /* occupy remaining space above the footer */
}

h1,h2,h3,h4,h5,h6 {
  color: var(--wss-orange);
  font-weight: normal;
}

h1 {
  font-size: 3em;
}

.site-footer {
  flex: 0 0 auto;
  /* Make sure it’s always at the bottom of dynamic space */
  margin-top: auto;
  min-height: env(safe-area-inset-bottom, 0px);
  /* helps iOS notch areas */
  text-align: center;
  font-style: italic;
  font-size: .8em;
  color: var(--wss-bone-white);
  padding: 8px 12px;
  text-shadow: 0 1px 1px black, 0 1px 1px black;
}