/*
 * Globals
 */
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Josefin+Slab:ital,wght@0,400;0,700;1,400;1,700&display=swap");
/*
 * Base structure
 */
* {
  font-family: "Josefin Slab", serif;
  font-weight: 400;
  font-size: 1em;
  letter-spacing: -0.15pt;
  word-spacing: -0.75pt;
  color: #101010;
}

body {
  /* text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5); */
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Josefin Slab", serif;
  text-transform: uppercase;
  letter-spacing: 0.5pt;
  font-weight: 700;
  text-shadow: 2px 2px 0 rgba(255, 43, 0, 0.5);
  -moz-column-break-after: avoid;
       break-after: avoid;
}

h1 {
  margin: 2rem 0 1rem;
}
@media screen and (max-width: 768px) {
  h1 {
    margin: 1rem 0 0 0;
  }
}

h2 a,
h3 a,
h4 a {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
  color: #ff2b00;
  text-shadow: 2px 2px 0 rgba(33, 37, 41, 0.5);
  text-decoration: none;
}

p {
  font-size: 1.25rem;
}

br {
  line-height: 3em;
}

strong {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  letter-spacing: -0.3px;
  word-spacing: -1px;
  font-size: 90%;
}

.btn {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5pt;
  border-width: 2px;
  padding: 0.8rem 1rem 0.5rem 1rem;
}

.cover-container {
  max-width: 42em;
}

/*
 * Navigation
 */
nav > div {
  line-height: 40px;
}
nav .nav-btn {
  font-weight: 400;
  margin-bottom: -0.5rem;
}
@media screen and (max-width: 768px) {
  nav .navbar-brand {
    margin-right: 1rem;
  }
}

/*
 * Modal definitions
 */
.modal {
  padding-top: 80px;
}

.modal-header {
  display: block;
  text-align: center;
  padding: 1rem;
}
@media screen and (max-width: 768px) {
  .modal-header {
    padding: 0.5rem;
  }
}
.modal-header h2 {
  margin: 0.5rem 0 0 0;
}

.modal-body {
  padding: 2rem 3rem;
}
@media screen and (max-width: 768px) {
  .modal-body {
    padding: 1rem 1rem;
  }
}
.modal-body h2,
.modal-body h3,
.modal-body h4,
.modal-body h5 {
  width: 100%;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  font-style: italic;
  padding: 1.25rem 0 0 0;
}
.modal-body h2::before {
  content: "";
  display: block;
  position: relative;
  top: 10px;
  height: 5px;
  width: 200px;
  background-color: rgba(255, 43, 0, 0.25);
  margin: -1rem auto 7rem auto;
}
.modal-body h3 {
  font-size: 1.4rem;
  text-shadow: 1.5px 1.5px 0 rgba(33, 37, 41, 0.3);
  padding: 0;
  letter-spacing: -0.5px;
}
.modal-body a {
  color: #ff2b00;
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: white;
  font-weight: 700;
  transition: 500ms;
}
.modal-body a:hover {
  color: rgb(33, 37, 41);
  text-decoration-color: #ff2b00;
  transition: 180ms;
}
.modal-body > p {
  text-align: justify;
  padding-bottom: 1rem;
}
.modal-body > p:first-child {
  font-style: italic;
  font-size: 1.5rem;
}
.modal-body > p:first-child::after {
  content: "";
  display: block;
  position: relative;
  top: 10px;
  height: 3px;
  width: 120px;
  background-color: rgba(33, 37, 41, 0.25);
  margin: 1rem auto 0 auto;
}
.modal-body section {
  -moz-columns: 2;
       columns: 2;
  -moz-column-gap: 3rem;
       column-gap: 3rem;
}
@media screen and (max-width: 1200px) {
  .modal-body section {
    -moz-columns: 1;
         columns: 1;
  }
}
.modal-body section > p {
  text-align: justify;
  padding-bottom: 1rem;
}
.modal-body section > p.figure-wrapper {
  width: 100%;
  text-align: center;
  margin: 1em auto;
  display: inline-block;
}
.modal-body section > p.figure-wrapper figcaption {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1rem;
  padding: 0.5rem;
}
.modal-body blockquote p {
  font-family: "Josefin Slab", serif;
  font-weight: 300;
  font-size: 1.4rem;
  padding: 1.25rem 1rem 1rem 1rem;
  margin-bottom: 2em;
  margin-left: 0.25rem;
  border-left: 10px solid rgba(255, 43, 0, 0.2);
}
.modal-body img.img-fluid {
  max-height: 400px;
  margin: auto;
}
.modal-body span.metatherm {
  content: "";
  display: inline-block;
  text-shadow: 1px 1px 0 rgba(255, 43, 0, 0.25);
}
.modal-body span.metatherm::before {
  content: "META";
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
}
.modal-body span.metatherm::after {
  content: "THERM";
  font-family: "Josefin Slab", serif;
  font-weight: 400;
  margin-left: -1.5px;
}

.alert {
  font-family: "Josefin Sans", sans-serif;
}
.alert .d-flex {
  justify-content: space-between;
  align-items: center;
}

.modal-footer {
  padding: 1rem 2rem;
  justify-content: space-between;
}
.modal-footer span.date {
  font-family: "Josefin Sans", sans-serif;
  font-style: italic;
}

/*
 * Header
 */
nav {
  width: 100%;
  background-color: rgba(33, 37, 41, 0.95);
  box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5), 0 0 2rem rgba(0, 0, 0, 0.8);
  border-radius: 0 0 5px 5px;
}
nav.fixed-top {
  z-index: 1337;
}
nav div {
  max-width: 1140px;
  margin: auto;
}
nav a {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  text-decoration-color: #222;
  color: white;
  line-height: 1;
  vertical-align: middle;
  transition: text-decoration-color 120ms ease-in;
}
@media (max-width: 768px) {
  nav a {
    font-size: 1.3rem;
  }
}
nav a:hover {
  color: white;
  text-decoration-color: white;
}
nav a.active {
  text-decoration-color: #ff2b00;
}

.nav-masthead .nav-link {
  padding: 0.25rem 0;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  background-color: transparent;
  border-bottom: 0.25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

footer {
  margin: inherit auto;
}
footer ul li {
  color: white;
  display: inline-block;
  list-style: none;
  padding: 0.25rem 2rem 0.25rem 0;
}
footer ul li:first-child {
  padding-left: 1rem;
}
footer ul li a.footer-link {
  display: inline-block;
  color: #ffb7a8;
  text-decoration: none;
  transition: 280ms;
}
footer ul li a.footer-link:hover, footer ul li a.footer-link:active {
  color: #ff2b00;
}