body {
  margin: 0%;
  background-color: rgb(223, 233, 237);
  font-family: Calibri;
  display: flex;
  flex-direction: column;
}

:is(h1, h2, h3, h4, h5, h6) {
  font-family: "Montserrat";
}

p {
  font-family: "Merriweather";
  line-height: 45px;
  z-index: 0;
}

sup {
  vertical-align: top;
  position: relative;
  top: -0.5em;
}

.navbar {
  width: 100%;
  height: 50px;
  background-color: rgb(41, 46, 48);
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: fixed;
  z-index: 1;
}

.nav-container-right {
  display: flex;
  align-items: center;
  justify-content: right;
  width: 100%;
  flex: 1;
}

.nav-container-left {
  display: flex;
  justify-content: left;
  align-items: center;
  flex: 1;
}

.navigation {
  padding: 20px;
  text-decoration: none;
  color: white;
  font-size: 20px;
  font-family: "Lato";
}

.navigation:hover {
  color: rgb(200, 200, 200);
}

.line {
  width: 50%;
  margin-top: 20px;
}

.bottom {
  width: 100%;
  height: 75px;
}

.hyperlink {
  color: black;
}

.page-content {
  width: 50%;
  justify-self: center;
  align-self: center;
  justify-content: center;
  display: flex;
  margin-left: 30px;
  margin-right: 30px;
  margin-top: 50px;
  flex-direction: column;
  font-size: 18px;
}

.article-container {
  display: flex;
  justify-content: center;
}

.article-content {
  width: 90%;
  display: flex;
  flex-flow: row nowrap;
  margin-top: 50px;
}

.article-text {
  margin-left: 30px;
  width: 70%;
}

.simple-article-text {
  width: 50%;
}

@media screen and (max-width: 1300px) {
  .simple-article-text {
    width: 80%;
  }
}

.article-toc {
  justify-self: right;
  margin-right: 30px;
  margin-left: 30px;
  width: 30%;
  height: 550px;
  position: sticky;
  top: 15%;
  display: flex;
  flex-direction: column;
}

.toc-header {
  align-self: center;
  text-align: center;
}

.toc-text {
  text-align: center;
  padding: 10px;
  color: black;
}

.toc-text:hover {
  color: rgb(50, 50, 50);
}

@media screen and (max-width: 1500px) {
  .page-content {
    width: 80%;
  }

  .footnotes {
    width: 50%;
  }
}

@media screen and (min-width: 1500px) {
  .article-content {
    width: 60%;
  }
}

@media screen and (max-width: 900px) {
  .article-toc {
    width: 0px;
    display: none;
  }

  .article-text {
    width: 90%;
  }
}

.page-title {
  width: 90%;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-top: 75px;
  justify-content: center;
  align-items: center;
  padding-left: 5%;
  padding-right: 5%;
}

.paragraph {
  text-indent: 48px;
  margin: 0;
}

.footnotes {
  width: auto;
  display: flex;
  flex-direction: column;
}

.footnote-navigation {
  color: black;
  text-decoration: underline;
}

.footnote-navigation:hover {
  text-decoration: underline;
}

.section {
    display: flex;
    flex-direction: column;
    justify-self: center;
    width: 50%;
}

.section-header {
    margin-top: 1rem;
}

.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image {
    align-self: center;
    justify-self: center;
    z-index: -1;
}