/* styles.css */
body {
  font-family: Arial, sans-serif;
  background-color: #f0f8ff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

/* .container {
  position: relative;
} */

/* .body-map {
  width: 400px; 
  height: auto;
} */

.container {
  position: relative;
  overflow: hidden;
  width: 600px; /* Adjust based on your image size */
  height: auto;
}

.body-map {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease; /* Smooth zoom transition */
}

.marker {
  position: absolute;
  display: flex;
  width: 20px;
  height: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: white;
  font-size: 14px;
  border-radius: 39px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: rgba(51, 51, 51, 0.64);
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.tooltip {
  position: absolute;
  color: #fff;
  display: none;
  z-index: 10;
  border-radius: 2px;
  border: 2px solid rgba(255, 255, 255, 0.57);
  background: rgba(0, 15, 51, 0.63);
  backdrop-filter: blur(4px);
  width: 250px;
  padding: 12px;
  justify-content: space-between;
  align-items: flex-start;
  transition: opacity 0.3s ease; /* Adjust duration as needed */
  opacity: 1;
}

.tooltip.hide {
  opacity: 0;
}

.title {
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.description {
  color: #fff;
  font-size: 14px;
  font-style: normal;
  line-height: normal;
}

.link {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-style: normal;
  line-height: normal;
  text-decoration-line: underline;
  margin-top: 5px;
}

.zoomed {
  transform: scale(1.5); /* Zoom factor, adjust as needed */
  transform-origin: center center; /* The origin of the zoom */
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* background-color: rgba(0, 0, 0, 0.5); */
  color: white;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

.close-icon {
  cursor: pointer;
}

/* Mobile view styles */
@media (max-width: 768px) {
  .tooltip {
    width: 165px;
    padding: 8px;
  }
  .title {
    font-size: 12px;
  }
  .description {
    font-size: 12px;
  }
  .link {
    font-size: 12px;
  }
}
