.body-content {
  width: 60%;
  vertical-align: middle;   
  max-height: 90vh;
}

/* WORLD MAP */
.map-wrapper {
  max-width: 100%;
  max-height: 100%;
}

.map {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
}

.map img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.75;
}

.dot {
  position: absolute;
  width: 1%; 
  aspect-ratio: 1;
  background: rgb(119, 78, 234);
  border-radius: 50%;
  
  transform: translate(-50%, -50%);
  
  box-shadow: 0 0 8px rgba(210, 198, 233, 0.8);
}

/** dot animation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0px rgba(119, 78, 234, 0.7); }
  100% { box-shadow: 0 0 0 15px rgba(119, 78, 234, 0); }
}

.dot::after {
  content: attr(data-location);
  position: absolute;
  bottom: 150%;
  left: 50%;
  transform: translateX(-50%);
  
  background: rgba(48, 48, 54, 0.9);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.1rem;
  font-family: 'Courier New', Courier, monospace;
  
  /* Hidden by default */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, bottom 0.3s ease;
}

.dot:hover::after {
  opacity: 1;
  bottom: 180%;
}

/* MOBILE VIEW (Vertical Screens) */
@media (max-width: 1200px) {
    .body-content {
        width: 85%;
    }

  .map-wrapper {
    width: 100%; /* Ensure the map uses the full available width */
  }

  .dot {
    width: 3%;
  }
  
  /* Optional: Adjust the text size for the mobile tooltip */
  .dot::after {
    font-size: 14px;
    padding: 8px 12px;
  }
}