@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,400;0,500;1,400;1,500&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css');
@import url('https://api.mapbox.com/mapbox-gl-js/v2.8.1/mapbox-gl.css');
html,
body,
#map {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: 'Fira Sans', sans-serif;
  

}


#mobileWarning {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -20%);
  background-color: white;
  padding: 20px;
  border: 2px solid #333;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
  z-index: 9999;
  width: 80%;
  max-width: 400px;
  text-align: center;
  border-radius: 8px;
}

#closeMobileWarning {
  float: right;
  font-size: 24px;
  cursor: pointer;
}


#storyboard {
  position: -webkit-sticky;
  position: sticky;
}

h1 {
  font-size: xxx-large;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 0 3px rgba(0, 0, 0, .95);
}

h2 {
  text-align: center;
  padding: 1rem;
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  background-color: #3b3b3b;
  margin-top: 0;
  margin-bottom: 0;
}

h3 {
  font-size: large;
  font-weight: 500;
  margin-left: 10px;
	color:black;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.95);
}

h5 {
  font-size: x-large;
  text-align: center;
}

p {
  line-height: 1.5;
}

ul {
  color: black;

  text-shadow: 0 0 6px white;
}

li {
  color: black;

  text-shadow: 0 0 6px white;
}

.canvas-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.fullscreen {
  position: fixed;
  min-height: 100%;
  min-width: 100%;
}

#cover {
  width: 100%;
  height: 100%;
  background: #fff;
  background-color: rgba(0, 0, 0, 0.3);
}

#intro {
  position: relative;
  top: 400px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 50%;
  color: #fff;
  padding: 2rem;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.2);
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.95);
}

#intro .footnote {
  text-align: right;
}

#intro .footnote a {
  margin-right: 0.5rem;
  vertical-align: top;
}

#intro .footnote span {
  position: relative;
  bottom: -0.5rem;
  color: #fff;
  text-shadow: 0 0 3px rgba(0, 0, 0, .95);
  font-style: italic;
  font-size: small;
}

#footer {
  width: 100%;
  height: 20vh;
  color: white;
  background: #fff;
  background-color: rgba(0, 0, 0, 0.3);
}



.scene {
  position: relative;
  max-width: 40rem;
  /* margin: 0 auto 0 auto; */
  margin: 0 auto 0 4rem;
  padding: 0;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.1);
  zoom: 100%; /* Adjust the percentage as needed */
}

.scene:first-child {
  margin-top: -20%;
}

.scene:last-child {
  padding-bottom: 20%;
  margin-bottom: 0;
}

.scene p {
  padding-left: 1rem;
  padding-right: 1rem;
  color: black;
  text-shadow: 0 0 6px white;
}

/* [data-scene="4"] div {
  font-size: xxx-large;
} */

/* [data-scene="5"] img {
  display: block;
  margin: 2rem auto 0 auto;
  width: 90%;
  border: 5px solid white;
}

[data-scene="8"] {
  background: url("../img/background.jpg") no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  margin: 0 auto 0 auto !important;
  height: 100vh !important;
} */

/* Add a black background color to the top navigation */
.topnav {
    position: absolute;
    top: 0;
    width: 100%;
    /* background-color: rgba(0, 0, 0, 0.5); */
    color: rgb(255, 255, 255);
    z-index: 1;
  }
  
  /* Style the links inside the navigation bar */
  .topnav a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px; 
    text-decoration: none;
    font-size: 26px;
  }
  
  /* Change the color of links on hover */
  .topnav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
  }
  
  /* Add an active class to highlight the current page */
  .topnav a.active {
    background-color: rgba(0, 0, 0, 0.303);
    color: white;
  }
  
  /* Hide the icon that should open and close the topnav on small screens */
  .topnav .icon {
    display: none;
  }
  
  /* Style for page content */
  .content {
    padding: 14px;
    font-size: 22px;
    margin-top: 60px;
  }

  .scrollable-sction {
    margin-top: 100vh;
    padding: 20px;
  }

  /* Test */

  @media (max-width: 767px) {
    .topnav {
      display: flex !important;
      flex-wrap: wrap;
      justify-content: center;
      background-color: rgba(0, 0, 0, 0.5);
    }
  
    .topnav a {
      display: inline-block !important;
      float: none !important;
    }
  
    .topnav .icon {
      display: none !important;
    }
  }

  
  

  
  /* When the screen is less than 800 pixels wide, if the user clicks on the icon */
  /* the "responsive" class attribute will be added to the topnav by the JavaScript code */
  /* This media query sets the style for the unfolded topnav */
  /* It makes the topnav look good on small screens (display the links vertically instead of horizontally)  */

