@font-face {
  font-family: Chomsky;
  src: url("../media/Chomsky/Chomsky.otf");
}

html {
  line-height: 1;
}

/* Main Paragraph Body Text  */
body {
  font-family: "itc-american-typewriter", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1.5em;
  color: #000000;
  background: #dddfdf;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: visible;
}

/* Title */
.title {
  font-family: "Chomsky", serif;
  font-style: normal;
  color: #000000;
  font-size: 6.5em;
  width: 100%;
  margin: 10px 0;
}

/* Subtitle */
.subtitle {
  font-family: itc-american-typewriter, serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  color: #000000;
  font-size: 1.75em;
  width: 100%;
  margin: 10px 0;
}

/* Author */
.author {
  font-family: itc-american-typewriter, serif;
  font-weight: 300;
  font-style: italic;
  color: #000000;
  font-size: 1.5em;
  margin: 5px 0;
  width: 80vw;
}

.cover hr {
  width: 80%;
  border: 1px solid #000000;
}

.cover hr.second-double {
  margin-top: -0.5em;
}

.cover hr:first-child {
  margin-top: 5em;
}

.cover hr:last-child {
  margin-bottom: 5em;
}

.subsection {
  font-family: itc-american-typewriter, serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  font-size: 1.25em;
}

/* Tribune Nav Bar Stuff  */
.section-header {
  color: black;
  font-family: "Amplitude-Black";
  font-size: 24px !important;
  background-color: white;
  border: 2px solid black;
  padding: 10px;
  display: inline-block;
  text-align: center;
}

.filler {
  height: 10vw;
  opacity: 0;
  background-color: black;
}

.tribune {
  font-family: "Playfair Display" !important;
  margin-left: 2vw;
  color: #c7c1c7 !important;
  float: left;
  font-size: 32px;
}

.tribune a {
  text-decoration: none !important;
  color: #c7c1c7 !important;
  cursor: pointer;
}

.feature {
  font-family: "Garamond 3 LT Std";
  margin-right: 2.5vw;
  color: #c7c1c7;
  float: right;
  margin-top: 1vw;
  font-size: 30px;
}
:root {
  --nav-height: 70px;
}

.header {
  position: fixed;
  background: #000000;
  z-index: 5;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s;
}
.nav-hidden {
  transform: translateY(-90px);
}

.cover {
  padding-top: 85px;
  overflow: hidden;
  position: relative;
  margin-top: 0px;
  margin-bottom: 40px;
  border: none;
  outline: none;
}

.row {
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  align-items: center; /* Center horizontally */
  justify-content: center; /* Center vertically */
  text-align: center;
  position: relative;
}
.innerwrap p {
  margin-bottom: 2em;
  border: none;
  outline: none;

  .h2 {
    text-align: left;
  }
}
/* First letter styling */
.innerwrap > p:first-of-type::first-letter {
  font-size: 4em;
  text-decoration: bold;
  float: left;
  line-height: 60px;
  padding-right: 8px;
  margin-top: 3px;
  color: #000000;
  font-family: "itc-american-typewriter", serif;
}

/* Body Text Formatting */
.innerwrap {
  width: 50%;
  height: 100%;
  max-width: 100%;
  margin: 40px auto;
  padding: 2px 0;
  line-height: 1.6;
  text-align: left;
  border: none;
  outline: none;
  clear: both;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0; /* Adds spacing above and below */
  padding: 0;
  width: 100%;
  position: relative;
  clear: both;
}

figure {
  display: inline-block;
}

figure img {
  margin-left: auto;
  margin-right: auto;
}

figcaption {
  font-size: 0.75em;
  text-align: center;
  margin-top: 1%;
}

.image-container img {
  width: 30vw; /* Adjust size as needed */
  height: auto;
  max-width: 100%;
  display: block;
}

.innerwrap p {
  text-align: justify; /* Justify text for better flow around the image */
}

.innerwrap p.article-inset {
  margin-left: 0.5em;
  padding-left: 1em;
  border-left: 3px solid #000000;
}

.innerwrap p.editor-note {
  font-size: 0.95em;
  font-style: italic;
  text-align: center;
}

.innerwrap::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive to Screen Size  */

@media (max-width: 415px) {
  .tribune {
    font-size: 28px;
  }
  .feature {
    margin-top: 1.8vw;
    font-size: 25px;
  }

  .title {
    width: 80%;
  }

  .subtitle {
    width: 75%;
  }

  .author {
    width: 70%;
  }

  .quote {
    font-size: 25px !important;
  }
}
@media (min-width: 416px) {
  .title {
    width: 80%;
  }
  .subtitle {
    width: 80%;
  }
  .author {
    width: 100%;
  }
  .tribune {
    font-size: 32px;
  }
  .feature {
    margin-top: 1vw;
    font-size: 30px;
  }
  .bottom-image {
    width: 150%;
    max-width: none; /* Allows the 150% to apply on larger screens */
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .innerwrap {
    width: 80% !important;
  }

  .image-container img {
    width: 90vw;
  }
}
