* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  color: black;
  background-color: white;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  gap: 0.5rem;
  border-bottom: solid 1px #aaa;
  background-color: #eee;
}

nav a {
  display: inline-block;
  min-width: 9rem;
  padding: 0.5rem;
  border-radius: 0.2rem;
  border: solid 1px #aaa;
  text-align: center;
  text-decoration: none;
  color: #555;
}

nav a[aria-current="page"] {
  color: #000;
  background-color: #d4d4d4;
}

main {
  padding: 1rem;
}

h1 {
  font-weight: bold;
  font-size: 1.5rem;
}

#map {
  height: 100vh;
  width: 100%;
}

.leaflet-container {
  background-color: white !important;
}

.leaflet-bottom .leaflet-right {
  display: none !important;
}

.legend-container {
  position: absolute;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background: white;
  bottom: 0px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 1000;
  padding: 10px;
  max-width: 100%;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px !important;
}

.legend-color {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 30px;
}

.legend-label {
  font-size: 14px;
  color: #333;
}

.custom-tooltip-style {
  background-color: white;
  opacity: 1;
  border-radius: 12px;
  padding: 4px 18px;
}

.label-marker {
  font-size: 12px;
  font-weight: bold;
  color: #2a2a2a;
  text-shadow: 1px 1px 2px white;
  white-space: nowrap;
  pointer-events: none;
}

#map-logo {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  padding: 5px;
  border-radius: 4px;
}

#map-logo img {
  height: 60px;
  mix-blend-mode: multiply;
}
