body {
  padding: 0;
  font-family: 'Utopia Std', serif;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

h2 {
  margin: 0;
  padding: 0;
}
/* Header content should appear above the map */
.header {
  background-color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 20px;
  z-index: 1;
}

.header h2 {
  font-family: 'Utopia Std Bold', serif;
  margin: 5px 0;
  font-size: 1.5em;
}

.header p {
  font-family: 'Utopia Std', serif;
  margin-top: 10px;
  font-size: 1em;

}

/* Map takes up remaining vertical space */
#map {
  flex: 1;
  width: 100%;
  height: 600px;
  position: relative;
  z-index: 0;
  padding: 10px;
}





/* Popup text formatting */
.mapboxgl-popup-content h4 {
  font-weight: 300;
  font-size: 0.9em;
  border-bottom: 0.5px solid rgb(80, 80, 80);
  margin: 0.5em 0;
}

.mapboxgl-popup-content h2 {
  font-weight: 500;
  margin: 0.5em 0 0.3em;
}

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

/* Footer */
footer {
  position: relative;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px 10px;
  font-size: 14px;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  padding-right: 160px;
}

.footer-right {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.footer-logo {
  max-height: 50px;
  height: auto;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  #map {
    height: 400px;
  }

  .header {
    padding: 10px;
    margin: 0 10px;
  }
}