:root {
  --color-accent: #a35587;
  --color-on-accent: #fff;
  --color-primary: #333;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 25px;
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-primary);
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration-style: dashed;
}

nav {
  background-color: var(--color-accent);
  color: var(--color-on-accent);
  padding: 0.5em;
  position: fixed;
  width: 100vw;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: 0.5s border-bottom-color;
}

nav:hover {
  border-bottom-color: rgba(0, 0, 0, 0.3);
}

nav .nav-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

nav .nav-content a {
  color: currentColor;
}

nav .nav-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

header {
  background-color: var(--color-accent);
  color: var(--color-on-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4em;
  box-sizing: border-box;
  gap: 1em;
}

header a {
  color: currentColor;
}

.hero-header {
  min-height: 90vh;
  padding: 4em 1em;
  box-sizing: border-box;
}

.hero-header .hero-header-title {
  font-size: 3em;
}

.hero-header .hero-header-tagline {
  font-size: 1.5em;
}

.template-header {
  padding: 4em 1em;
  box-sizing: border-box;
}

.home-section {
  padding: 1em;
  min-height: 80vh;
}

.home-section .home-section-title {
  color: var(--color-accent);
  scroll-margin-top: 6em;
}

.no-wrap {
  white-space: nowrap;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
}

.card {
  background-color: #efefef;
  padding: 1em;
  box-sizing: border-box;
  border-radius: 0.5em;
}

.card-template {
  display: inline-block;
}

.card-template .card-template-title {
  margin: 0;
  color: var(--color-primary);
}

footer p {
  margin: 0;
}

footer.footer {
  background-color: #efefef;
  text-align: center;
  padding: 1em 1em;
}

.columnator {
  max-width: 42em;
  margin: 0 auto;
}

@media (width <= 550px) {
  body {
    font-size: 20px;
  }

  .no-wrap {
    white-space: unset;
  }
}

@media (width <= 350px) {
  body {
    font-size: 18px;
  }
}
