/* styles-map.css */
body {
    padding: 0;
    margin: 0;
}

.image-container {
    position: relative;
    width: 100%;
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
}

.hotspot {
    position: absolute;
    cursor: pointer;
    transition: transform 0.5s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hotspot1 {
    background-image: url('https://chainbridgeestates.com/wp-content/uploads/2024/05/tennis-hotspot.png');
}

.hotspot2 {
    background-image: url('https://chainbridgeestates.com/wp-content/uploads/2024/05/patio-hotspot.png');
}

.hotspot3 {
    background-image: url('https://chainbridgeestates.com/wp-content/uploads/2024/05/clubhouse-hotspot.png');
}

.hotspot4 {
    background-image: url('https://chainbridgeestates.com/wp-content/uploads/2024/05/garden-hotspot.png');
}

.hotspot:hover {
    transform: scale(1.1);
}

.tooltip {
    display: none;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-20%);
    z-index: 100000;
	 width: 600px;
    
}

.tooltip img {
    background-color: #FFF;
    padding: 20px ;
    white-space: nowrap;
   	height: 100%;
    filter: drop-shadow(1rem 1rem 5px rgba(0, 0, 0, 0.5));
}
.tooltip .caption {
    font-family: Montserrat, serif;
    font-size: 1.5rem;
    color: #FFF;
    padding-top: 15px;
}

.tooltip-bottom {
    transform: translateY(-60%);
}

.hotspot:hover .tooltip {
    display: block;
}