*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

:root {
  color-scheme: light;
  --paper: #f5f5f2;
  --ink: #292c2a;
  --muted: #666;
  --accent: darkred;
  --line: #d4d5cf;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }
a:hover { text-decoration: normal; }

h1, h2, h3, h4, h5, h6 {
  line-height: 1.5rem;
  font-family: var(--serif);
  font-weight: 500;
}

header {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  margin-bottom: 1rem;
  gap: 3rem;
  justify-content: space-between;
}

header > :last-child {
  margin-top: auto;
}

h1 {
  margin: 0 2rem;
  font-size: 2rem;
  line-height: 2.25rem;
}

h2 {
  margin: 0 2rem;
  font-size: 1.25rem;
  line-height: 2.25rem;
  font-style: italic;
}

nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 5px solid darkred;
  padding-left: 1.8rem;
}

nav > a {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.85rem
}

nav > a:hover {
  text-decoration-color: darkred;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

footer {
  margin: 0 1.75rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  padding-top: .5rem;
  border-top: 1px solid #ccc;

  font-size: .8rem;
  color: var(--muted);
  font-family: var(--serif);
}

main {
  background: url("/assets/images/smalls.jpg") no-repeat center center fixed; 
  background-size: cover;
  padding: 4.3rem 2rem 2rem;
  color: white;
  text-shadow: 0 0 3px black, 2px 2px black;
  font-family: var(--sans);
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

h3 {
  font-size: 3rem;
  font-weight: 1000;
  font-style: italic;
  margin-bottom: 1rem;
}

.square {
  display: inline-block;
  color: darkred;
  width: .2em;
  height: .2em;
  margin-inline-start: .1em;
  background: currentColor;
}
