:root {
  --bg-color: #f5f0e8;
  --text-color: #2c1f14;
  --primary-accent: #a0552a;
  --secondary-accent: #7a8c68;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
}

nav {
  display: flex;
  justify-content: space-around;
  margin: 1rem;
  border-bottom: 1px solid var(--secondary-accent);
  background-color: var(--bg-color);
  position: sticky;
  top: 0;
}

.nav-item {
  transition: color ease-in-out 0.2s;
}

.nav-item:hover {
  color: var(--secondary-accent);
}

/* headings, links, and paragraphs */

h1,
h2,
h3 {
  font-family: "Syne", sans-serif;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}

a {
  font-size: 1.2rem;
  font-family: "DM Sans", sans-serif;
  color: var(--primary-accent);
  text-decoration: none;
}

p {
  font-family: "DM Sans", sans-serif;
}

.hero {
  padding: 1rem;
  padding-bottom: 3rem;
  min-height: calc(100vh - 4rem);
}

.heading {
  font-weight: 750;
  line-height: 0.9;
}

.subheading {
  font-size: 1.125rem;
  padding-top: 0.25rem;
}

/* media querys */

@media (max-width: 640px) {
  nav {
    font-size: 1rem;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.6rem;
  }
  h3 {
    font-size: 1.2rem;
  }
}
