body {
  margin: 0;
  padding: 0;
}

/* #map {
  width: 60%;
  height: 800px;
  margin: 5em auto;
} */

.mapboxgl-popup-content h4 {
  font-weight: 500;
  font-size: 0.9em;
  border-width: 0px 0px 0.5px 0px;
  border-style: solid;
  border-color: rgb(80, 80, 80);
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.mapboxgl-popup-content p {
  font-weight: 300;
  margin-top: 0.3em;
  margin-bottom: 0em;
}


#map {
top: 0;
height: 100vh;
width: 100%;
position: fixed;
}

#header {
  position: relative;
  width: 100%;
  height: 100vh; /* or set to a specific value */
  text-align: center;
  overflow: hidden;
  background-image: url("images/opening-photo.jpg");
  background-size: cover;       /* Or use 'contain' to fit without cropping */
  background-position: center;
  background-repeat: no-repeat;
}


#features {
padding-top: 80vh;
padding-bottom: 10vh;
}

@media (max-width: 750px) {
#features {
  width: 90vw;
  margin: 0 auto;
}
}

#footer {
min-height: 2vh;
text-align: left;
line-height: 25px;
width: 100%;
position: relative;
z-index: 5;
background-color: #181818;
}

#header h1 {
  font-weight: 900;
  font-size: 50px;
  font-family: 'Utopia Std Bold', serif;
  text-align: center;
  margin: auto;
  margin-top: 1em;
  max-width: 800px;
  /* background-color: rgba(0, 0, 0, 0.15); /* black background with 30% opacity */
  /* padding: 1em; /* optional: to add spacing inside the h1 */
}

#header h4 {
  font-family: 'Utopia Std', serif;
  font-weight: 300;
  margin-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  max-width: 800px;
}

#header p.byline {
  font-weight: 400;
  font-size: 0.9em;
  margin: 0.8em auto 2em auto;
  font-family: 'Lora', serif;
}

#header p {
  font-family: 'Utopia Std', serif;
  font-weight: 400;
  text-align: center;
  font-size: 2.5em;
  max-width: 800px;
  margin: 1em auto;
}

/* Media query for screens smaller than or equal to 600px (e.g. mobile devices) */
@media only screen and (max-width: 600px) {
  #header p {
    font-size: 1.5em; /* Adjust this value as needed */
  }
}

/* each text box is a feature */

#features h3 {
  font-weight: 700;
  font-family: 'Utopia Std', serif;
  text-align: left;
  max-width: 80vw;
}

#features p {
  font-family: 'Utopia Std', serif;
  padding-left: 15px;
  text-align: left;
  font-size: 2em;
  line-height: 38px;
  max-width: 80vw;
}

#features .imageCredit {
font-size: 0.9em;
margin-top: -5px;
}
#footer p {
font-family: 'Roboto Condensed', sans-serif;
font-size: 0.9em;
max-width: 600px;
padding: 0.75em 0em;
margin: 0px auto;
}
a, a:hover, a:visited {
color: #e96138;
}
.hidden {
visibility: hidden;
}
.centered {
width: 50vw;
margin: 0 auto;
}
.lefty {
width: 33vw;
margin-left: 5vw;
}
.righty {
width: 33vw;
margin-left: 62vw;
}
.fully {
width: 100%;
margin: auto;
}

.light {
color: #ffffff;
background-color: #06060639;
opacity: 1;
width: 100%; /* Ensure it doesn't limit child elements */
max-width: unset; /* Remove possible width restrictions */
}




.dark {
color: #fafafa;
background-color: #444;
}
.step {
padding-bottom: 75vh;
opacity: 0.6;
}

  /* p {
    font-size: 1em;
  } */
  
.step.active {
opacity: 0.99;
}

.step div {
padding: 10px 0px;
line-height: 28px;
font-size: 16px;
max-width: 950px;
margin: 0 auto;
}

.step img {
  width: 100%;
  }
@media (max-width: 750px) {
.centered, .lefty, .righty, .fully {
  width: 90vw;
  margin: 0 auto;
}
}


/* Fix issue on mobile browser where scroll breaks  */
.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan, 
.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas {
touch-action: unset;
}



.chapter-container {
  position: relative;
  width: 100%; /* Ensures it stays within the parent */
  max-width: 900px; /* Adjust as needed */
  margin: 0 auto; /* Centers the content */
  text-align: center;
}

.chapter-container img {
  width: 100%; /* Ensures responsiveness */
  max-width: 900px; /* Expands image without breaking layout */
  height: auto; /* Maintains aspect ratio */
}


/* * {
  outline: 1px solid red; /* Visualizes all containers */


