/* Page + full-screen map - Make the page tall enough for a full-screen map*/
html, body {
  height: 100%;
}
/* Basic styling for the whole page */
body {
  margin: 0;
  background-color: whitesmoke;
  font-family: "Noto Sans", sans-serif;
  color: #3d3d3d;
}
/* Make the map fill the entire browser window */
#map {
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
}
/*Style the title panel (overlay box)*/
#title {
  position: fixed;
  top: 15px;
  left: 300px;
  right: 300px;
  
  
  
  text-align: center;
  font-size: 2em;
  font-family: "Lora", serif;
  letter-spacing: .04em;
  margin: 20px auto;
  padding: 8px;

  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #777;
  border-radius: 12px;          /* Rounded corners */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);  /* Soft shadow */
  
  z-index: 800;
}
#description {
  position: fixed;
  top: 290px;
  left: 300px;
  width: 300px;
  padding: 2px 15px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #777;
  border-radius: 6px;
  z-index: 800;
  overflow-y:auto
}

/* 3. Safety net: If the screen is smaller than 1200px, fall back to 10% */
@media (max-width: 1250px) {
  #description {
    left: 10%;
    margin-left: 0;
  }
}
/*Make paragraph text inside the description readable */
#description p {
  font-size: 0.95rem;
  line-height: 1.5;
}
/*Style links inside the description (and hover effect)*/
#description a {
  color: #005daa;
  text-decoration: none;
}

#description a:hover {
  text-decoration: underline;
}

#footer {
  position: fixed;
  bottom: 10px;         
  left: 300px;
  right: 300px;
  text-align: center;
  font-size: 0.9em;
  font-family: "Lora", serif;
  padding: 8px;

  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #777;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);

  z-index: 800;
}
