.header {
  background-image: url(images/Banner.jpg);
  background-position: center;
  background-size:contain;
  font-family: Arial, Helvetica, sans-serif;
  font-size:xx-large;
  font-weight: bold;
  color: rgb(250, 249, 249);
  background-color: rgb(15, 14, 14);
  text-align: center;
  padding: 20px;
  align-items: center;
  display: flex;
  justify-content: center;
  margin-right: 0;
}

.header-text-box {
  background-color:#0e0c0c;
  background-color: rgba(0, 0, 0, 0.5);
  width: fit-content; 
  border-radius: 5px; 
  padding: 5px;
  align-items: center;
}

.text-box {
  color: rgb(250, 249, 249);
  background-color: #940000;
  border-radius: 5px; 
  padding: 5px;
  display: flex;
  justify-content: center;
}

#mapid {
  margin-top: 10px;  
  width: 100%; /* Adjusts to the column width */
  height: calc(85vh); /* Keeps dynamic height */
  place-items: center;
  border: 5px solid #d7d1d1ae;
  margin-bottom: 10px;
}

.photo_metadata {
  text-align: left;
  align-items: center;
  
}

.photo_icon_tag {
  width: 85%;
  text-align: center;
  display: flex;
  margin-top: 10px;
  justify-content: center;
  margin:10px auto
}

.paragraph {
  text-align: center;
  align-items: center;
  color: rgb(250, 249, 249);
  background-color: rgb(0, 0, 0);
  width: 100%;
  margin-left: 5px;
  margin-right: 0px;
}

.blurb {
  width: 85%;
  font-size: large;
  text-align: left;
  display: flex;
  justify-content: center;
  margin:10px auto

}
.sources {
  width: 85%;
  text-align: left;
  display: flex;
  justify-content: center;
  margin:10px auto
}

.leaflet-container {
    background: #f5f0f0;
    width: 85%;
}


img {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  margin:10px auto
}

 #searchContainer { 
  text-align: center; 
  margin-top: 10px;
  margin-bottom: 10px; 
}

.popup img{
    width: 100%;
    margin-top: -5;
    border-radius: 0%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.popup h2{
    font-size: 20px;
    font-weight: 500;
    margin: 0px 0px 10px;
}

.popup button{
    width: 75%;
    margin-top: 5px;
    padding: 5px 0;
    background: #6fd649;
    color: #fff;
    border: 0;
    outline: none;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.splash_container {
    position: fixed; /* Keeps it over the whole page */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75); /* Dark overlay effect */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(1);

    z-index: 9999; /* Ensures it's above everything */
}

.popup{
    width: 50vw;
    background: #fff;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.0);
    text-align: center;
    padding: 20px;
    color: #333;
    visibility: visible;
    transition: transform 0.4s, top 0.4s;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
}

/* Animation for closing */
.close-container {
    display: none;
}

.close-popup {
    display: none;
}

.hide {
    opacity: 0;
    transform: scale(0.5);
}

nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align to the right */
    padding: 20px;

}

.menu {
    display: none;
    list-style: none;
    padding: 0;
}

.menu li {
    margin: 10px 0;
}

.menu a {
    text-decoration: none;
    color: #eae7e7;
}

.menu-toggle {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end; /* Move the toggle icon to the right */
}

.menu-toggle span {
    width: 30px;
    height: 4px;
    background: #eae7e7;
}


.menu {
    display: none;
    list-style: none;
    padding: 0;
    text-align: right; /* Align text to the right */
}


.menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.sidebar-img {
    width: 100%; /* Makes the image fill the sidebar */
    max-width: 300px; /* Optional: Limit max width */
    border-radius: 10px; /* Adds rounded corners */
    margin-bottom: 5px; /* Adds spacing */
}
