html, body,
.leaflet-container,
.leaflet-control,
.leaflet-tooltip,
.leaflet-popup,
.leaflet-control-zoom,
.leaflet-control-attribution {
  font-family: 'Open Sans', sans-serif !important;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

#map {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.tooltip {
  position: absolute;
  padding: 0.4em 0.7em;
  background: white;
  border: 0.1em solid #888;
  border-radius: 0.3em;
  pointer-events: none;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  display: none;
  box-shadow: 0 0.15em 0.3em rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.page-header {
  position: absolute;
  top: 3vh;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  z-index: 1001;
  pointer-events: none;
  padding: 0 5vw;
  overflow: visible;
  max-width: 90vw;
  box-sizing: content-box;
}

.page-header h1 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  margin: 0;
  font-weight: 700;
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  font-style: normal;
  line-height: 1.2;
  color: #111;
  white-space: nowrap;
  overflow: visible;
  text-overflow: ellipsis;
  text-shadow:
    0.15vw 0.15vw 0 white,
    0.30vw 0.30vw 0 rgba(0, 0, 0, 0.5),
    0 0 0.5vw white,
    0 0 1vw white,
    0 0 1.5vw white,
    0 0 2vw white,
	0 0 2.5vw white,
	0 0 3vw white;
}

.page-header p {
  font-size: clamp(1rem, 2.2vw, 1.6rem);
  color: #333;
  margin: 1vh 0 0;
  font-weight: 400;
  white-space: nowrap;
  overflow: visible;
  text-overflow: ellipsis;
  text-shadow:
    0 0 0.5vw white,
    0 0 1vw white,
    0 0 1.5vw white,
    0 0 2vw white,
	0 0 2.5vw white,
	0 0 3vw white;
}

#info-button {
  --corner-space: 2vh;
  position: absolute;
  inset-block-start: var(--corner-space);
  inset-inline-start: var(--corner-space);
  z-index: 1002;
  font-size: 3rem;
  background: none;
  border: none;
  border-radius: 0.25em;
  padding: 0.25em 0.25em;
  cursor: pointer;
  filter: grayscale(100%);
  box-shadow: none;
  line-height: 1;
  opacity: 0.75;
  text-shadow:
    0 0 0 white,
    0 0 0.5vw white,
    0 0 1vw white;
}

#info-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1003;
}

#info-modal.hidden {
  display: none;
}

.info-content {
  background: white;
  padding: 2rem;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
  font-size: 1rem;
  box-shadow: 0 0 1em rgba(0,0,0,0.4);
  font-family: 'Open Sans', sans-serif;
}

.info-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.8em;
  text-align: center;
  color: #111;
}

.info-content .container p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.5;
  color: #222;
  margin-bottom: 2em;
  text-align: left;
}

.info-content h1, h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-top: 0;
  margin-bottom: 0.5em;
  text-align: center;
  color: #111;
}

.info-content ul {
  margin: 0;
  padding-left: 1.5em;
}

.info-content li {
  margin-bottom: 0.5em;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.info-content a {
  color: #3366cc;
  text-decoration: underline;
}

.close-btn {
  position: absolute;
  top: 0.5em;
  right: 0.7em;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.map-dropdown {
  margin-top: 2vh;
  font-size: clamp(0.5rem, 1.5vw, 1.125rem);
}

.map-dropdown select {
  font-size: clamp(0.5rem, 1.5vw, 1.125rem);
  padding: clamp(0.25rem, 0.75vw, 0.5625rem);
  border-radius: 0.3em;
  border: 1px solid #aaa;
  font-family: 'Open Sans', sans-serif;
  pointer-events: auto;
  width: clamp(18rem, 30vw, 30rem);
}
