/* =================================
   HEADER
================================= */
.site-header {
  border-top: 5px solid $border-color-03;
  border-bottom: 1px solid $border-color-01;
  min-height: $spacing-unit * 1.865;
  line-height: $base-line-height * $base-font-size * 2.25;
  background-color: #4e2774;
  position: relative;
}

.header-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

/* Responsive for mobile header */
@media (max-width: 768px) {
  .header-wrapper {
    padding: 0 15px;
  }
}

/* =================================
   GLOBAL LAYOUT & BACKGROUNDS
================================= */

.home,
.page-content,
.site-footer {
  background-color: #121212;
}

/* =================================
   INDEX PAGE (.home)
================================= */

.page-heading {
  text-align: center;
  color: white !important;
  margin-bottom: 20px;
  font-weight: bold !important;
}

/* =================================
   MAIN CONTENT AREA (.wrapper)
================================= */

/* Default styles for the content area */
#content {
  padding: 20px;
  border-radius: 5px;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* Night Mode Styles */
#content.night-mode {
  background-color: #272727;
  color: white;
}

/* Day Mode Styles */
#content.day-mode {
  background-color: #ffffff;
  color: #1b1b1b;
}

#content .night-mode-quotes {
  color: white;
}

#content.day-mode .day-mode-quotes,
#content.day-mode .night-mode-quotes {
  color: #8095fb;
}

/* Scope headings to content area only */
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
  color: inherit;
  text-align: center;
}

/* Scope links to content area only */
#content a:link {
  color: #9966cc;
}

#content a:visited {
  color: darkgray;
}

#content a:hover {
  color: rgb(107, 78, 134);
}

#content a:active {
  color: #9C84A2;
}

#content.day-mode a:link,
#content.day-mode a:visited {
  color: #4e2774;
}

#content.day-mode a:hover,
#content.day-mode a:active {
  color: #7a3fc4;
}

.post-title {
  text-align: center;
  color: white;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.ameth {
  color: white !important;
}

#content.day-mode .ameth {
  color: black !important;
}

/* =================================
   COMPONENTS
================================= */
/* Table of Contents */
ul.toc {
  list-style: none;
  padding-left: 0;
	margin-left: 0;
}
/* Navbar */
.navbar {
  overflow: hidden;
  background-color: white;
}

/* Blockquotes */
blockquote {
  border-left: 4px solid $border-color-01;
  padding-left: $spacing-unit / 2;
  font-style: normal;
  font-size: 1em;
  letter-spacing: 0px;

  > :last-child {
    margin-bottom: 0;
  }
}

/* =================================
   INLINE FOOTNOTES / SUPERSCRIPT
================================= */

small {
  color: #838374;
  font-size: 0.875em;
}

p input + label + small {
  transition: opacity 0.2s 0.05s;
  position: absolute;
  opacity: 0;
  visibility: hidden;
}

p input:checked + label + small {
  position: relative;
  opacity: 1;
  visibility: visible;
}

p input+label {
  font: 0.7em / 1 system-ui, sans-serif;
  vertical-align: super;
  cursor: pointer;
  transition: color 0.1s;
}

p input+label:before {
  content: "";
}

p input+label:after {
  content: "";
}

p input+label:hover {
  color: #838374;
}

/* =================================
   FOOTER
================================= */
.footer-col-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
}