@media only screen and (max-width: 800px) {
  main {
    grid-template-columns: 1fr !important;
  }
  .section-nav {
    display: none;
  }
}
/** Poor man's reset **/
* {
  box-sizing: border-box;
}
a {
  color: #dc2c35;
}
body {
  font-family: "Lato";
  font-weight: 400;
  font-size: 20px;
  color: #143741;
}
h1 {
  font-family: "Lato";
  font-weight: 900;
  font-size: 40px;
  color: #dc2c35;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
h2 {
  font-family: "Lato";
  font-weight: 900;
  font-size: 30px;
  height: 37px;
  color: #ffb145;
  text-transform: uppercase;
  margin: 0;
}
h3 {
  font-family: "Lato";
  font-weight: 400;
  font-size: 20px;
  color: #143741;
  text-transform: uppercase;
}
h4 {
  font-family: "Lato";
  font-weight: 400;
  font-size: 20px;
  color: #143741;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 0px;
}

main {
  display: grid;
  grid-template-columns: 1fr 14em;
  /* max-width: 100em; */
  width: auto;
  margin: 0;
}

/* 2. Make nav sticky */
main > nav {
  position: sticky;
  top: 2rem;
  align-self: start;
}

/* 3. ScrollSpy active styles (see JS tab for activation) */
.section-nav li.active > a {
  color: #ffb145;
  font-weight: 500;
}

/* Sidebar Navigation */
.section-nav {
  padding-left: 0;
  border-left: 1px solid #143741;
  height: calc(100vh - 4rem);
}

.section-nav a {
  text-decoration: none;
  display: block;
  padding: 0.125rem 0;
  color: #143741;
  transition: all 50ms ease-in-out; /* 💡 This small transition makes setting of the active state smooth */
}

.section-nav a:hover,
.section-nav a:focus {
  color: #666;
}
