#map {
  width: 100%;
  height: 500px;
}

@media (max-width: 768px) {
  #map {
    height: 300px; 
  }

}

@media (max-width: 480px) {
  #map {
    height: 250px; 
  }
}
.legend {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  background-color: white;
  padding: 15px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.legend-title {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 16px;
}

.legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.legend-item:last-child {
  margin-bottom: 0;
}

.legend-color {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border-radius: 2px;
}

.member-states {
  background-color: #2d7a4f;
}

.co-opted-states {
  background-color: #ffd700;
}

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