html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
}

h1 {
  font-family: "Work Sans", serif;
  font-size: 40px;
  margin: auto;
  margin-left: 18px;
}

h2 {
  margin: auto;
  font-family: "Work Sans", serif;
  text-decoration: underline;
}
h3 {
  font-family: "Work Sans", serif;
  margin-left: 15px;
}
.about-header {
    font-family: "Work Sans", serif;
  font-size: 25px;
  padding: 10px;
  padding-right: 50px;
  color: #5c5c5b
}
.about-header:hover {
  color:black;
    cursor: pointer;
}


@media (max-width: 950px) {
  h1 {
    font-size: 20px;
    padding-left:50px;
    padding-right:50px
  }
  h2 {
    font-size: 15px;
  }
  .about-header {
   font-size: 20px;
      padding: 10px;
  }
}
.container {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#map {
  height: 100%;
  width: 100%;
  z-index: 0;
}
.map-contents {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  height: 100%;
  width: 100%;
}
.menu-bar {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}
@media (max-width: 600px) {
  .menu-bar {
    height: 100%;
    justify-content: center;
  }
}
.menu-box {
  position: relative;
  border-radius: 18px;
  background-color: #ffffff;
  height: auto;
  width: 90%;
  z-index: 2;
  margin-top: 3%;
  margin-right: 7%;
  margin-left: 7%;
  padding: 1rem;
  display: flex;
  box-shadow: 5px 5px 15px 0.0001px rgba(0, 0, 0, 0.2);
  justify-content: space-between;
  text-align: center;
}
@media (max-width: 991px) {
  .menu-box {
    opacity: 80%;
    width: 100%;
    margin-top: 0;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 0px;
    display: grid;
    grid-template-rows: auto auto auto;
    grid-template-columns: none;
    justify-content: center
  }
}
.tool-bar {
  z-index: 2;
  justify-content: space-between;
  display: flex;
  flex-direction: row;
  margin-top: 8px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: -7px;
  pointer-events: none;
  height: 100%;
}
@media (max-width: 600px) {
  .tool-bar {
    flex-direction: column;
    justify-items: center;
    align-items: center;
    margin-bottom: -7px;
    height: 100%;
    pointer-events: none;
  }
}
.left-side-tools {
  margin-left: 5%;
  pointer-events: none;
  height: 95%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 600px) {
  .left-side-tools {
    max-width: 100%;
    flex-wrap: wrap;
    margin-left: 20px;
    margin-right: 0;
  }
}

.right-side-tools {
  margin-right: 5%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 80%;
  margin-bottom: 40px;
  pointer-events: none;
}
@media (max-width: 600px) {
  .right-side-tools {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    align-items: center;
    pointer-events: auto;
  }
}
.slider-box {
  justify-content: start;
  border-radius: 45px;
  background-color: #d9d9d9;
  align-self: start;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  width: 18rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  font-family: Helvetica, serif;
  font-size: 14px;
}
@media (max-width: 600px) {
  .slider-box {
    width: 80%;
  }
}
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #a2f5d6;
  outline: none;
  opacity: 1;
  -webkit-transition: opacity 0.15s ease-in-out;
}
#volume-slider {
  margin-top: 10px;
}
.slider::-moz-range-thumb {
  border-radius: 50%;
  width: 15px;
  height: 15px;
  background: #04aa6d;
  cursor: pointer;
}
.slider::-moz-range-thumb:hover {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  box-shadow: none;
}
.slider:hover {
  opacity: 1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}
#selected-volume {
  width: 270px;
}
.info-box {
  margin-top: 8px;
  border-radius: 15px;
  background-color: #d9d9d9;
  display: flex;
  padding: 3px 10px 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  flex-direction: column;
  font-family: Helvetica, serif;
  pointer-events: auto;
}

@media (max-width: 600px) {
  .info-box {
        width: 80%;

  }
}

.info-content {
  padding-left: 20px;
  padding-bottom: 5px;
  display: none;
}

.legend-icon {
  margin-left: 10%;
}

.hog-marker {
  border: 1.3px solid #89BF56; /* Solid border color */
  height: 2px;
  width: 2px;
  background-color: rgba(137, 191, 86, 0.3); /* Semi-transparent fill */
  opacity: 1; /* Full opacity for the element */
  border-radius: 50%;
  display: inline-block;
}


.highlight-info {
  pointer-events: auto;
  margin-top: auto;
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: Helvetica, sans-serif;
  color: #785ef0;
  text-shadow: 2px 2px 10px grey;
  gap: 10% 10%;
}

/* @media (max-width: 600px) {
  .highlight-info {
    display:
  }
} */

.chevron-container {
  cursor: pointer;
  display: flex;
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  justify-content: space-between;
}
/* .chevron-container:hover {


} */

.chevron {
  font-size: 15px;
  justify-content: flex-end;
}

.chevron-up {
  transform: rotate(180deg);
}

.select-data {
  cursor: pointer;
  height: 8px;
  width: 100px;
  border-radius: 15px;
  background-color: #d9d9d9;
  display: flex;
  gap: 9px;
  padding: 15px 15px;
  align-items: center;
  justify-content: center;
  font-family: aktiv-grotesk, sans-serif;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
}
.select-data:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  color: white;
}

.select-data-box {
  flex-wrap: wrap;
  padding-right: 20px;
  padding-bottom: 20px;
  margin-top: 8px;
  width: 300px;
  max-width: 500px;
  height: auto;
  flex-shrink: 0;
  border-radius: 16px;
  background: #d9d9d9;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);

  pointer-events: auto;
}
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 45px;
  padding-top: 20px;
  margin-bottom: 12px;
  cursor: pointer;
/*   font-size: 22px; */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-family: Helvetica, sans-serif;
  pointer-events: auto;
}
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  border-radius: 4\px;
  position: absolute;
  left: 10px;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: #2196f3;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.popup-text {
  font-family: Helvetica, serif;
}
.about-popup {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  display: flex;
  align-items: center; /* Align vertical */
  justify-content: center;

}

.about-content-container {
  align-items: center; /* Align vertical */
  justify-content: center;
  background-color: white;
  padding: 20px;  
  width: 60%; /* Adjust based on preference */
  max-width: 60vw; /* Maximum width */
  max-height: 40vh; /* Maximum height */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;  
  border-radius: 10px;
  display: flex
}

.about-content {
  align-items: center; /* Align vertical */
  justify-content: center;
  background-color: none;
  padding: 10px;  
  width: 100%;
  max-height: 40vh;/* Adjust based on preference */
  overflow-y: auto; /* Enables vertical scrollbar if content overflows */
  transition: 0.3s;
  font-family: "Helvetica", serif
}



/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.tooltip {
  position: relative;
  display: inline-block;
/*   font-weight: 700; */
  border-bottom: 2px dotted black;
}



.tooltip .tooltiptext {
  visibility: hidden;
  width: 500px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  font-weight: 100;
  /* Position the tooltip */
  position: absolute;
/*   z-index: 1;
 */
}


.checkbox-container .tooltip .tooltiptext {
      width: 200px;

  bottom: 100%;
  left: 50%;
  margin-left: -60px;
}
@media (max-width: 991px) {
  .tooltip .tooltiptext {
      width: 200px;

  bottom: 100%;
  left: 50%;
  margin-left: -60px;

  }
}
.tooltip:hover .tooltiptext {
  visibility: visible;
}
.tooltip:hover {
  background: yellow
}

.leaflet-bar a {
  background-color: #04aa6d;
  color: white;
  margin-right: 15px;
  margin-bottom: 6px;
}
@media (max-width: 950px) {
  .leaflet-bar a {
    display: none;
  }
}
.leaflet-bar a:hover {
  background-color: #04aa6d;
  opacity: 60%;
  box-shadow: 2px 2px 4px grey;
}

.leaflet-touch .leaflet-bar a:last-child {
  border-radius: 4px;
  align-items: center;
  justify-content: center;
}
.leaflet-touch .leaflet-bar a:first-child {
  border-radius: 4px;
  align-items: center;
  justify-content: center;
}

.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
  border: none;
}
