body {
  margin: 0px;
  padding: 0px;
  background-color: #f4efeb;
  color: #240900;
  overflow-y: scroll;
  ::-webkit-scrollbar {
    display: none;
  }
}

body a {
  all: unset;
  text-decoration: none;
  color: none;
  cursor: pointer;
}

body h3 {
  font-family: "eb-garamond", serif;
  margin: 0;
  letter-spacing: -3px;
  font-weight: 200;
  font-size: clamp(2.5rem, 2.9vw, 2.9rem);
}

body h4 {
  margin: 0;
  letter-spacing: -2.2px;
  font-family: "eb-garamond", serif;
  font-size: clamp(1.5rem, 1.9vw, 1.9rem);
  font-weight: 200;
}

.banner {
  width: 100%;
  height: 123px;
  margin-top: 25px;
  background-color: #240900;
  overflow-x: auto;
  overflow-y: hidden;
  position: fixed;
  z-index: 1000;
  display: flex;
  align-items: center;
  top: 0;
  cursor: default;
}

.title {
  font-family: 'Bebas', 'Bebas Neue', sans-serif;
  font-weight: 100;
  font-size: 160px;
  align-items: center;
  color: #f4efeb;
  letter-spacing: -3px;
  margin-left: 5px;
  height: auto;
  position: relative;
  transition: color 0.5s ease-in-out;
  top: -6%;
  text-transform: uppercase;
}

.title:hover {
  color: #240900;
  -webkit-text-stroke: 2px #f4efeb;
  transition: color 0.5s ease-in-out;
  cursor: pointer;
  transform: scaleY(0.982);
}

.navigation,
.header,
.routes {
  opacity: 1;
  z-index: 1000;
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}

.slide-out {
  opacity: 0;
  transform: translateY(-20px);
}

.slide-in {
  opacity: 1;
  transform: translateY(0);
}

.slide-out,
.slide-in {
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out,
    filter 0.6s ease-in-out;
}

.navigation {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 25%;
  right: 12%;
  width: 250px;
}

.header {
  justify-content: center;
  position: relative;
  margin-bottom: clamp(-1.3rem, -1vw, -0.8rem);
  display: flex;
}

.routes {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  top: 100%;
  left: 5.8rem;
  margin-top: 4px;
}

.route {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  position: relative;
  margin-bottom: -3px;
  width: 350px;
}

.route-title:hover {
  cursor: pointer;
  text-decoration: underline;
}

@font-face {
  font-family: 'Bebas';
  src: url('https://narrowmarginquarterly.com/bebasneuepro-bold.woff2') format('woff2'),
       url('https://narrowmarginquarterly.com/bebasneuepro-bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.bebas-neue-regular {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-style: normal;
}

@media (max-width: 1300px) {
  .routes {
    left: 6.3rem;
    transition: all 0.5s 1s ease-out;
  }

  .route-title {
    letter-spacing: -1.5px;
  }
}

@media (max-width: 783px) {
  .banner {
    height: 15.7vw;
  }

  .title {
    font-size: calc(1.3 * 15.7vw);
  }

  .about-nav {
    position: relative;
    transition: all 0.5s 1s ease-out;
    left: -3.3rem;
  }

  .navigation {
    right: calc(20% - 1.8rem);
    transition: all 0.5s 1s ease-out;
  }
}

.issue-image-container {
  position: relative;
  z-index: 1;
  translate: 0 35%;
  width: 400px;
  margin: 0 auto;
  z-index: 90;
  pointer-events: none;
  transition: opacity 0.6s ease-in-out;
}

.issue-image-container.fade-out {
  opacity: 0;
  pointer-events: none;
}

.issue-image-container.fade-in {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 550px) {
  .issue-image-container {
    width: 450px;
    translate: 0 25%;
  }
}

@media (max-width: 450px) {
  .issue-image-container {
    width: 350px;
    translate: 0 30%;
  }
}

.issue-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  pointer-events: auto;
  transition: transform 0.3s ease;
}

.issue-image:hover {
  transform: scale(1.01);
}

.down-arrow {
  position: fixed;
  top: calc(100vh - 100px);
  left: calc(50% - 14px);
  width: 0;
  height: 30px;
  border: 2px solid #240900;
  border-radius: 2px;
  animation: jumpInfinite 3s infinite;
  opacity: 0;
}

.down-arrow:after {
  content: " ";
  position: absolute;
  top: 12px;
  left: -10px;
  width: 16px;
  height: 16px;
  border-bottom: 4px solid;
  border-right: 4px solid;
  border-radius: 4px;
  transform: rotateZ(45deg);
}

@keyframes jumpInfinite {
  0% {
    margin-top: 0;
  }
  30% {
    margin-top: 20px;
  }
  100% {
    margin-top: 0;
  }
}
