/*Legend Styling */
.legend {
    padding: 6px 8px;
    font-size:12px;
    font-family:"Montserrat", sans-serif;
    background: white;
    background: rgba(255, 255, 255, 0.7);
    line-height: 16px;
    color: black;
  }

.legend h4 {
    margin-top: 5px;
    margin-bottom: 5px;
}

#funfact-container {
  font-family:"Montserrat", sans-serif;
  color: black;
  position:relative;
  top: 10px;
  left: 10px;
  width: 25%;
  height: 80vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  scrollbar-width: none;
}

#funfact-container::-webkit-scrollbar {
  display: none;
}

.funfact-section {
  color: black;
  padding: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-radius: 8px;
  background: rgba(200, 200, 200, 0.3);
  transition: 0.5s;
}

.funfact-section:last-child {
  margin-bottom: 300px;
}


.funfact-section.active {
  background: rgba(0, 150, 0, 0.6);
  color: black;
  font-weight: bold;
}

.funfact-section h2 {
  font-weight: bolder;
  position: static;
  line-height: 1.1em;
  text-align: center;
  color: black;

}

.funfact-img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-top: 5px;
}

.marker {
  width: 10px;
  height: 10px;
  background-color: red;
  border-radius: 50%;
  border: 2px solid white;
}
