/* --- CSS Reset --- */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  color: #151414;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* End CSS Reset */

:root {
  --main-font: EB Garamond, serif, sans-serif;
  --body-font: Libre Franklin;
  --dark-green: #7bbfa2;
  --main-green: #acd7c5;
  --dark-main-green: #c8e4d8;
  --main-green-transparent: rgba(123, 191, 162, 0.1);
  --dark-main-green-transparent: rgba(123, 191, 162, 0.2);
}

body {
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
figure,
blockquote,
dl,
dd,
.main-font {
  font-family: var(--main-font);
}

p,
ol,
ul {
  font-family: var(--body-font);
  line-height: 200%;
  font-size: 18px;
}

a {
  text-decoration: none;
  color: black;
  border-bottom: 2px rgb(211, 211, 211) solid;
  position: relative;
}

a:not(.article-block-links, .nav-logo-link)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 100%;
  border-bottom: 2px solid var(--dark-green);
  background: var(--main-green-transparent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease-in-out;
}

a:hover::after {
  transform: scaleY(1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 1rem auto;
  max-width: 872px;
  width: 100%;
}

.nav-logo {
  width: 4rem;
  height: auto;
  margin-left: 16px;
}

@media only screen and (min-width: 601px) {
  .mobile-navbar {
    display: none;
  }
}

@media only screen and (max-width: 600px) {
  .mobile-navbar {
    display: block;
  }

  .nav-logo {
    width: 6rem;
    height: auto;
  }

  .nav-logo > a {
    border: none;
  }

  .navbar {
    display: none;
  }
}

.mobile-navbar {
  overflow: hidden;
  position: relative;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.mobile-navbar #myLinks {
  display: none;
}

/* Style navigation menu links */
.mobile-navbar a {
  color: black;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
  text-align: center;
}

/* Style the hamburger menu */
.mobile-navbar .icon {
  display: block;
  background-color: white;
  position: absolute;
  right: 0;
  top: 0;
  border: none;
  margin-right: 16px;
}

.icon:hover::after {
  width: 0%;
}

.a-no-line {
  font-family: EB Garamond, serif, sans-serif;
  font-weight: 500;
  color: black;
  text-decoration: none;
  border: none;
  margin: 0 1rem;
  position: relative;
}

.a-no-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 100%;
  border-bottom: 2px solid var(--dark-green);
  background: var(--main-green);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s ease-in-out;
}

.a-no-line:hover::after {
  transform: scaleY(1);
}

/* Footer */

footer {
  margin-top: auto;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  font-family: EB Garamond, serif, sans-serif;
}

/* Homepage */

.main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 5% 0;
  background-color: rgba(123, 191, 162, 0.1);
  border-top: 4px rgba(123, 191, 162, 0.2) solid;
  border-bottom: 4px rgba(123, 191, 162, 0.2) solid;
}

.main-title {
  margin: 0 0 1rem 0;
  font-size: 3rem;
  text-align: center;
}

.main > p {
  margin: 0 auto;
  padding: 0 36px;
  max-width: 872px;
  font-size: 1.5rem;
  font-family: var(--main-font);
}

@media only screen and (max-width: 600px) {
  .main-title {
    font-size: 2.5rem;
    padding: 0 36px;
  }

  .main {
    padding: 10% 0;
  }
}

/* Homepage Body */

.hp-body {
  justify-content: center;
  margin: 2rem auto 4rem auto;
  padding: 0 16px;
  max-width: 872px;
  width: 100%;
}

.hp-body > h2 {
  border-bottom: 3px var(--main-green) solid;
  margin-bottom: 1rem;
}

.article-block {
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 6px rgb(0 0 0 / 16%);
  position: relative;
  transition: box-shadow 0.2s ease-in-out;
}

.article-block > h3,
p,
a {
  text-decoration: none;
  color: black;
}

.article-block > h3 {
  font-weight: 600;
}

.article-block:hover {
  box-shadow: 0 0 12px rgb(0 0 0 / 16%);
}

.article-block > h3 {
  margin-bottom: 1rem;
}

.view-more {
  font-family: EB Garamond, serif, sans-serif;
  text-decoration: none;
  color: black;
  font-size: 18px;
  width: max-content;
  margin-top: -8px;
  border-bottom: 2px rgb(211, 211, 211) solid;
}

.view-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 100%;
  border-bottom: 2px solid var(--dark-green);
  background: var(--main-green);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s ease-in-out;
}

.view-more:hover::after {
  transform: scaleY(1);
}

@media only screen and (max-width: 600px) {
  .view-more {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Blog Post */

.blog-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 300px;
  padding: 2% 10%;
  background-color: rgba(123, 191, 162, 0.1);
  border-top: 4px rgba(123, 191, 162, 0.2) solid;
  border-bottom: 4px rgba(123, 191, 162, 0.2) solid;
}

.blog-fi {
  width: 40%;
  display: block;
  margin-top: 4rem;
  margin-bottom: 4rem;
  margin-left: auto;
  margin-right: auto;
}

.blog-header > h1 {
  font-size: 40px;
  text-align: center;
}

.sub-head {
  margin-top: 1rem;
  font-size: 1.5rem;
  max-width: 872px;
  font-family: var(--main-font);
  text-align: center;
}

.blog-header > p {
  margin: 1rem 0 0 0;
  font-size: 1.25rem;
  max-width: 872px;
  font-family: var(--main-font);
}

.hp-body p {
  margin: 1.5rem 0;
  font-size: 18px;
}

.hp-body > h2 {
  font-size: 32px;
  margin: 3rem 0 0.75rem 0;
}

.hp-body > h3 {
  font-size: 24px;
  margin: 3rem 0 0.75rem 0;
}

.hp-body > p > img {
  border: #9a9a9a8a solid 1px;
  border-radius: 12px;
  margin: 2rem auto;
  max-width: 90%;
}

.hp-body > blockquote {
  margin: 1rem 0;
  font-size: 1.25rem;
  padding: 2rem;
  background-color: var(--main-green-transparent);
  font-family: var(--main-font);
  border: var(--dark-main-green) 4px solid;
}

.hp-body > blockquote > p {
  margin-bottom: 1rem;
  font-size: 18px;
  font-style: italic;
}

.hp-body > blockquote > p:last-child {
  margin-bottom: 0px;
}

.hp-body > blockquote > p:first-child {
  margin-top: 0px;
}

.hp-body > blockquote > .author {
  font-family: var(--main-font);
  font-weight: bold;
  font-style: normal;
  margin-bottom: 0px;
}

.hp-body > blockquote > .author > a {
  font-style: italic;
  font-weight: 400;
}

.hp-body > ol,
ul {
  font-size: 18px;
  margin-bottom: 2;
}

.hp-body > ol > li:not(:last-child) {
  margin-bottom: 24px;
}

.emphasized {
  margin: 48px auto;
}

@media only screen and (max-width: 600px) {
  .blog-header {
    padding: 10%;
    height: auto;
  }
}

hr {
  margin: 4rem auto;
  width: 100px;
  border-width: 0px;
  border-bottom: 4px solid var(--main-green);
}

/* Articles Page */
.article-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.article-group > a {
  text-decoration: none;
  color: black;
  font-size: 1.25rem;
  border: none;
  font-family: var(--main-font);
}

.article-group > h2 {
  border-bottom: 3px #7bbfa2 solid;
  width: max-content;
  margin-bottom: 1rem;
}

/* Favorite Things */

.favorite-thing > h2 {
  border-bottom: 3px #7bbfa2 solid;
  width: max-content;
  margin-bottom: 1rem;
  font-size: 32px;
}

.favorite-thing > h3 {
  font-size: 24px;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.favorite-thing > a {
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px rgb(211, 211, 211) solid;
  font-family: var(--main-font);
}

.favorite-thing > p {
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.resource-tag {
  width: max-content;
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Newsletter Form */

.email-form {
  margin-top: 4rem;
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--main-font);
}

.form-fields {
  display: flex;
  width: 80%;
  gap: 12px;
}

.form-email-field {
  width: 100%;
}

.form-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 18px;
  border: none;
  background-color: rgb(246, 246, 246);
  border-radius: 12px 0 0 12px;
}

.form-submit-button {
  background-color: var(--dark-green);
  color: #151414;
  font-size: 18px;
  font-weight: 600;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0 12px 12px 0;
  transition: all 0.2s;
}

.form-email-field:focus-visible {
  outline: none;
}

.form-input:focus-visible {
  outline-color: var(--dark-green);
}

.form-submit-button:hover {
  background-color: #5aaf8a;
  cursor: pointer;
}

.form-submit-button:active {
  background-color: #428a6b;
}

.formkit-header > p {
  font-weight: bold;
  font-family: var(--main-font);
  font-size: 1.5rem;
  margin: 0px 0 1rem 0;
}

@media only screen and (max-width: 600px) {
  .form-fields {
    flex-wrap: wrap;
    width: 98%;
  }

  .form-input {
    border-radius: 12px;
    text-align: center;
  }

  .form-submit-button {
    border-radius: 12px;
    width: 100%;
  }

  .formkit-header > p {
    text-align: center;
    line-height: 36px;
  }
}

/* Footnote CSS */
.littlefoot-footnote__button {
  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
  background-color: #dcede6;
  border-radius: 0.5em;
  border: 0;
  box-sizing: border-box;
  color: rgba(110, 110, 110, 0.5);
  cursor: pointer;
  display: inline-block;
  font-size: 0.9em;
  font-weight: bold;
  height: 1em;
  line-height: 1;
  margin: 0 0.1em 0 0.2em;
  min-width: 1.5em;
  padding: 0 0.5em;
  position: relative;
  text-decoration: none;
  top: -0.1em;
  transition-duration: 0.25s;
  transition-property: background-color color;
  transition-timing-function: ease;
  vertical-align: middle;
  z-index: 5;
}
.littlefoot-footnote__button:hover,
.littlefoot-footnote__button:focus {
  background-color: rgba(110, 110, 110, 0.5);
  color: white;
}
.littlefoot-footnote__button:active {
  background-color: rgba(110, 110, 110, 0.5);
  color: white;
}
.littlefoot-footnote__button.is-active {
  background-color: #f5f5f5;
  color: white;
  transition-delay: 0.1s;
}
.littlefoot-footnote__button::after {
  clear: both;
  content: "";
  display: table;
}
.littlefoot-footnote__button__ellipsis {
  padding: 0.35em 0.5em;
}
.littlefoot-footnote__button__ellipsis svg {
  float: left;
  height: 0.3em;
}
.littlefoot-footnote__button__number::after {
  color: rgba(110, 110, 110, 0.5);
  content: attr(data-footnote-number);
  display: block;
  font-size: 0.9em;
  font-weight: bold;
  left: 50%;
  padding: 0.35em 0.5em;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition-duration: 0.25s;
  transition-property: background-color color;
  transition-timing-function: ease;
}
.littlefoot-footnote__button__number:hover::after,
.littlefoot-footnote__button__number.is-active::after {
  color: white;
}
.littlefoot-footnote__button__number svg {
  display: none;
}
.littlefoot-footnote__host {
  display: inline-block;
  position: relative;
  text-indent: 0;
}
@media not print {
  .footnote-print-only {
    display: none !important;
  }
}
@media print {
  .littlefoot-footnote,
  .littlefoot-footnote__button {
    display: none !important;
  }
}
.littlefoot-footnote {
  background: #fafafa;
  border-radius: 0.5em;
  border: 1px solid #c3c3c3;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  display: inline-block;
  left: 0;
  line-height: 0;
  margin: 2.01924em 0;
  max-width: 90%;
  opacity: 0;
  position: absolute;
  top: 0;
  transform-origin: 50% 0;
  transform: scale(0.1) translateZ(0);
  transition-duration: 0.25s;
  transition-property: opacity, transform;
  transition-timing-function: ease;
  z-index: 10;
}
.littlefoot-footnote.is-positioned-top {
  bottom: 0;
  top: auto;
}
.littlefoot-footnote.is-active {
  opacity: 0.97;
  transform: scale(1) translateZ(0);
}
.littlefoot-footnote.is-scrollable::after {
  content: "";
  position: absolute;
  bottom: 0.3875em;
  left: 0.3875em;
  z-index: 14;
  display: block;
  height: 0.78125em;
  width: 0.625em;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxNXB4IiB2aWV3Qm94PSIwIDAgMTIgMTUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pbllNaW4iPgogICAgPGcgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IkFycm93IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxLjAwMDAwMCwgMS4wMDAwMDApIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJzcXVhcmUiPgogICAgICAgICAgICA8cGF0aCBkPSJNNSwwIEw1LDExLjUiIGlkPSJMaW5lIj48L3BhdGg+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjUsNy41IEw1LjAyNzY5Mjc5LDEyLjAyNzY5MjgiIGlkPSJMaW5lIj48L3BhdGg+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik00LjUsNy41IEw5LjAyNzY5Mjc5LDEyLjAyNzY5MjgiIGlkPSJMaW5lLTIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDcuMDAwMDAwLCAxMC4wMDAwMDApIHNjYWxlKC0xLCAxKSB0cmFuc2xhdGUoLTcuMDAwMDAwLCAtMTAuMDAwMDAwKSAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=");
  background-size: cover;
  opacity: 0.1;
  transition-property: opacity;
  transition-duration: 0.25s;
  transition-timing-function: ease;
}
.littlefoot-footnote.is-scrollable .littlefoot-footnote__wrapper::before,
.littlefoot-footnote.is-scrollable .littlefoot-footnote__wrapper::after {
  content: "";
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 12;
}
.littlefoot-footnote.is-scrollable .littlefoot-footnote__wrapper::before {
  background-image: linear-gradient(
    to bottom,
    #fafafa 50%,
    rgba(250, 250, 250, 0) 100%
  );
  border-radius: 0.5em 0.5em 0 0;
  height: 0.6em;
  top: -1px;
}
.littlefoot-footnote.is-scrollable .littlefoot-footnote__wrapper::after {
  background-image: linear-gradient(
    to top,
    #fafafa 50%,
    rgba(250, 250, 250, 0) 100%
  );
  border-radius: 0 0 0.5em 0.5em;
  bottom: -1px;
  height: 0.6em;
}
.littlefoot-footnote.is-scrollable ::-webkit-scrollbar {
  display: none;
}
.littlefoot-footnote.is-fully-scrolled::after,
.littlefoot-footnote.is-fully-scrolled::before {
  opacity: 0;
  transition-delay: 0;
}
@media (max-width: 720px) {
  .littlefoot-footnote {
    border-radius: 0;
    border-width: 1px 0 0;
    bottom: 0;
    left: 0 !important;
    margin: 0;
    opacity: 1;
    position: fixed;
    right: auto;
    top: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    width: 100%;
  }
  .littlefoot-footnote.is-active {
    transform: translateY(0);
  }
  .littlefoot-footnote .littlefoot-footnote__wrapper {
    margin: 0;
    max-width: 100% !important;
    transform: none;
    width: 100%;
  }
  .littlefoot-footnote .littlefoot-footnote__wrapper,
  .littlefoot-footnote .littlefoot-footnote__content {
    border-radius: 0;
  }
  .littlefoot-footnote .littlefoot-footnote__tooltip {
    display: none;
  }
}
.littlefoot-footnote__wrapper {
  background-color: #fafafa;
  border-radius: 0.5em;
  box-sizing: inherit;
  display: inline-block;
  line-height: 0;
  margin: 0;
  overflow: hidden;
  position: relative;
  width: 22em;
  z-index: 14;
}
.littlefoot-footnote__content {
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-overflow-scrolling: touch;
  background: #fafafa;
  border-radius: 0.5em;
  box-sizing: inherit;
  display: inline-block;
  line-height: normal;
  font-size: initial;
  font-style: initial;
  font-weight: initial;
  max-height: 15em;
  overflow: auto;
  padding: 0.6em 1.4em 0.6em;
  position: relative;
  z-index: 8;
}
.littlefoot-footnote__content img {
  max-width: 100%;
}
.littlefoot-footnote__content *:first-child {
  margin-top: 0;
}
.littlefoot-footnote__content *:last-child {
  margin-bottom: 0;
}
.is-scrollable .littlefoot-footnote__content {
  padding-bottom: 0;
}
.is-scrollable .littlefoot-footnote__content *:last-child {
  margin-bottom: 0.6em;
}
.littlefoot-footnote__tooltip {
  background: #fafafa;
  border-top-left-radius: 0;
  border: 1px solid #c3c3c3;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  height: 1.3em;
  margin-left: -0.65em;
  position: absolute;
  transform: rotate(45deg);
  width: 1.3em;
  z-index: 12;
}
.is-positioned-bottom .littlefoot-footnote__tooltip {
  top: -0.65em;
}
.is-positioned-top .littlefoot-footnote__tooltip {
  bottom: -0.65em;
}

.footnotes-sep {
  display: none;
}
