body{
  /* font-family: Arial, Helvetica, sans-serif; */
  /* font-family: Bookman Old Style; */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#logoImg{
  position: absolute;
  top: 20px;
  left: 20px;
  height: 60px;
}

#infoImg{
  position: absolute;
  top: 20px;
  right: 20px;
  height: 60px;
}

#info-button{
  position: absolute;
  top: 0px;
  right: 0px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 20; /* Ensure it appears above content but below image container */
  pointer-events: auto; /* Allow clicks only on the button */
}

.hidden {
  display: none;
}

#info-container {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background: #ffffff;
  color: #1e1e1e;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px;
  z-index: 10;
  width: 500px;
  max-height: 75%;
  overflow-y: auto;
}

.custom-marker{
  opacity: 60%;
}

.custom-marker.active-marker {
  /* border: 3px solid #007cbf; Blauw randje */
  background-color: #CADBF9;
  border-radius: 100%;
  /* transform: scale(1.4); */
  opacity: 100%;
  transition: opacity 0.2s ease;
}


/* Marker Details Container */
#marker-details {
  position: absolute;
  top: 100px;
  left: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 15px 15px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 400px;
  max-height: 500px;
  overflow-y: auto;
}

/* Close Button */
#close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 20; /* Ensure it appears above content but below image container */
  pointer-events: auto; /* Allow clicks only on the button */
}

#close-button img {
  width: 30px;
  height: 30px;
}

#closeInfo-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 20; /* Ensure it appears above content but below image container */
  pointer-events: auto; /* Allow clicks only on the button */
}

#closeInfo-button img {
  width: 30px;
  height: 30px;
}

/* Image Styling */
#marker-details img {
  width: 100%; /* Image adapts to container width */
  max-height: 250px; /* No more than 40% of the modal height */
  object-fit: contain; /* Ensure it scales properly */
}

/* Mobile styles */
@media (max-width: 768px) {
  #info-container{
    width: 90%;
  }

  #header img{
    height: 40px;
  }

  #marker-details {
    position: fixed;
    top: auto;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%);
    width: 90%;
    height: 60%;
  }

  #marker-details img {
    width: 100%; /* Fit the width of the container */
  }
}

/* Footer Styling */
#marker-footer {
  display: flex;
  justify-content: space-between; /* Align compass and source inline */
  align-items: center; /* Vertically align items */
  margin-top: 10px;
}

#compass-arrow {
  width: 40px; /* Adjust size */
  height: auto;
}

#marker-source {
  font-size: 12px;
  color: #850e0e;
  text-align: right;
}


/* Ensure image-container has a higher z-index */
.image-container {
  position: relative;
  z-index: 19; /* Image is always above the close button */
}
  
  .image-container img {
    width: 100%;
    height: auto;
    cursor: pointer; /* Indicate it's clickable */
    transition: transform 0.3s ease; /* Optional: slight zoom on hover */
  }
  
  .image-container img:hover {
    transform: scale(1.05); /* Optional hover effect */
  }
  


/* Modal styles for enlarged image */
#image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#modal-image {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  object-fit: contain;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); /* Center the image horizontally and vertically */
}

#close-modal {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 40px;
  color: white;
  cursor: pointer;
}

