body {
  min-height: 100dvh;
}

#main-page-header,
.section-header,
h3 {
  font-family: var(--heading-font);
}

p,
p + ul {
  margin-bottom: 1.3em;
  font-family: var(--main-body-font);
  font-weight: 300;
}

pre {
  white-space: pre-wrap;
}

a:focus {
  outline: 2px dashed #20b2aa;
}

a:active {
  outline: none;
}

a:visited {
  color: #62c9c3;
}

.nav-list,
.nav-list > li {
  list-style: none;
  padding-left: 0;
}

.main-section a {
  outline: none;
  text-decoration: none;
  padding: 2px 1px 0;
}

.main-section a:link {
  color: #1ca099;
}

.main-section a:visited {
  color: #62c9c3;
}

.main-section a:focus {
  border-bottom: 1px solid;
  background: #bce7e5;
  color: #20b2aa;
}

.main-section a:hover {
  border-bottom: 1px solid;
  background: #e8f7f6;
  color: #4cc1bb;
}

.main-section a:active {
  background: #1ca099;
  color: #e8f7f6;
}

#main-page-header {
  margin-top: 35px;
  font-size: clamp(1rem, 3vw, 1.5rem);
  line-height: 2.25em;
}

#main-header-subtext {
  font-size: clamp(1rem, 3vw, 1.5rem) !important;
  line-height: 1.25em;
}

#main-page-header,
#main-header-subtext {
  text-align: center;
}

#main-doc {
  margin-left: calc(var(--side-bar-width) + 20px);
  width: 75dvw;
  margin-right: 16px;
  margin-bottom: 50px;
}

.disclaimer {
  font-style: italic;
  text-align: center;
  color: #666;
  margin-top: 10px;
}

.disclaimer strong {
  font-weight: bold;
}

#main-doc h2 {
  font-size: clamp(1.2rem, 3.5vw, 1.75rem);
}

#main-doc h3 {
  font-size: clamp(1rem, 3vw, 1.5rem);
}

#main-doc p {
  font-size: clamp(0.9rem, 2vw, 1rem);
}

#main-doc ul {
  font-size: clamp(0.9rem, 2vw, 1rem);
}

#main-doc table {
  font-size: clamp(0.8rem, 1.65vw, 0.8rem);
}

.main-section > pre {
  font-size: clamp(0.8rem, 3vw, 0.8rem);
}

table {
  border-collapse: collapse;
  width: 100%;
  max-width: 800px;
  margin: 0;
  margin-bottom: 1.3em;
  font-family: var(--main-body-font);
}

th,
td {
  border: 1px solid #ddd;
  padding: 8px;
}

th {
  background-color: #f2f2f2;
  font-weight: bold;
  text-align: center;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

footer {
  z-index: -1;
  margin-left: var(--side-bar-width);
  background-color: #333;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
  box-shadow: 0px -4px 4px rgba(0, 0, 0, 0.25);
}

footer p {
  margin-bottom: 0;
  color: #fff;
}

footer a {
  color: #20b2aa;
  text-decoration: none;
}

footer a:visited {
  color: #20b2aa;
}

footer a:hover {
  background: #20b2aa;
  color: #ffff;
}

/* ------------▽-Media Queries-▽----------- */

@media screen and (max-width: 823px) {
  nav {
    display: block;
  }
  footer {
    margin-left: 0;
  }
  #sidebar {
    display: none;
  }
  #main-doc {
    margin-left: 63px;
    width: auto;
  }
}
