/* ---------- Basics ---------- */
:root {
  --bg: #ffffff;
  --text: #1c1c1c;
  --muted: #6b6b6b;
  --link: #1a3a8a;
  --nav-width: 10rem;
  --content-width: 65rem;
}
 
* {
  box-sizing: border-box;
}
 
html {
  scroll-behavior: smooth;
}
 
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@font-face {
  font-family: 'Daisybud Script';
  src: url('../fonts/DaisybudScript_PERSONAL_USE_ONLY.otf') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
 
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Times New Roman", Times, serif;
  font-size: 1.125rem;
  line-height: 1.65;
}
 
a {
  color: var(--link);
}
 
a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}
 
/* ---------- Layout ---------- */
.side-nav {
  position: fixed;
  top: 5rem;
  left: 6rem;
  width: var(--nav-width);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
 
main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
 
/* ---------- Hero image ---------- */
.hero img {
  display: block;
  width: 40%;
  height: auto;
}
 
/* ---------- Sections ---------- */
section {
  padding-top: 2.5rem;
  scroll-margin-top: 1rem;
}

h1 {
font-family: 'Daisybud Script', cursive;
  margin: 0 0 1rem;
  font-size: 3.5rem;
  font-weight: 100;
  text-transform: capitalize;
}
 
h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: normal;
}
 
h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: normal;
}
 
article {
  margin-bottom: 1.25rem;
}
 
article p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}
 
/* ---------- Small screens ---------- */
@media (max-width: 60rem) {
  .side-nav {
    position: static;
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1.5rem 1.5rem 0;
  }
 
  main {
    padding-top: 1.5rem;
  }
}