/* 1. Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 2. HTML + Body */
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  font-size: var(--text-sm);
  line-height: var(--lh-body);
  color: var(--brown);
  background-color: var(--offwhite);
  -webkit-font-smoothing: antialiased;
}

/* 3. Media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 4. Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

h1 {
  font-size: var(--text-h1);
}

h2 {
  font-size: var(--text-h2);
}

h3 {
  font-size: var(--text-h3);
}

p {
  font-size: var(--text-md);
}

/* 5. Links */
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

/* 6. Lists */
ul,
ol {
  list-style: none;
}

/* 7. Buttons */
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
