* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

div > img {
  width: 250px;
}

/* NAV */

main > nav {
  position: sticky;
  top: 2rem;
  align-self: start;
}

/* ACTIVE STYLING */

.section-nav li.active > a {
  color: #333;
  font-weight: 500;
}

/* SIDE NAV */

.section-nav {
  padding-left: 0;
  border-left: 1px solid #efefef;
}

.section-nav a {
  text-decoration: none;
  display: block;
  padding: 0.125rem 0;
  color: #ccc;
  transition: all 50ms ease-in-out;
}

.section-nav a:hover,
.section-nav a:focus {
  color: #666;
}

html,
body {
  background: #fff;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
li {
  margin-left: 1rem;
}

h1 {
  font-weight: 300;
}

/* PAGE COLUMNS */

main {
  display: grid;
  grid-template-columns: 1fr 20em;
  max-width: 100em;
  width: 100%;
  margin: 0 auto;
}

.left-col {
  padding: 0 15px;
}

/* SECTION SPACING */

section {
  padding-bottom: 5em;
}

/* BUTTON STYLES */

#button {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 1.125em;
  border: none;
  outline: none;
  background-color: #333;
  color: white;
  cursor: n-resize;
  padding: 15px;
  border-radius: 4px;
}
#button:hover span {
  display: none;
}
#button:hover::before {
  content: "Going up?";
}

/* MISCELLANEOUS STYLINGS */

.ultext {
  text-decoration: underline;
}
.note {
  font-size: .8em;
}
.title {
  margin-bottom: -10px;
}
.bullets {
  list-style-type: square;
  list-style-position: inside;
}
.bullets-decimal {
  list-style-type: decimal;
  list-style-position: inside;
}
.bullets-alpha {
  list-style-type: lower-alpha;
  list-style-position: inside;
}
.bullets-alpha,
.bullets-decimal {
  counter-reset: list;
}
.bullets-alpha > li,
.bullets-decimal > li {
  list-style: none;
  position: relative;
}
.bullets-alpha > li:before,
.bullets-decimal > li:before {
  counter-increment: list;
  content: counter(list, lower-alpha) ") ";
}
.hrule {
  width: 90%;
}
#footnote {
  font-size: .8em;
}