.room-background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../images/rooms/hole.png');
    background-size: 1200px 800px;
    background-repeat: no-repeat;
    background-position: top left;
}

.hotspot {
    position: absolute;
    /* Define hotspot positions and dimensions */
    transition: all 0.3s ease; 
    cursor: pointer;
    background-color: rgba(153, 50, 204, 0.5);
    border-radius: 60%;
}

/* Define the keyframes for the animation */
@keyframes pulseAnimation {
    0% {
        box-shadow: 0 0 10px rgba(51, 0, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 20px rgba(51, 0, 0, 0.9);
    }
    100% {
        box-shadow: 0 0 10px rgba(51, 0, 0, 0.7);
    }
}

/* Define the keyframes for the size change animation */
@keyframes sizeChangeAnimation1 {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
}

@keyframes sizeChangeAnimation2 {
    0%, 100% {
        transform: scale(0.7);
    }
    50% {
        transform: scale(1);
    }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); }
    50% { box-shadow: 0 0 20px rgba(0, 0, 0, 0.8); }
}

@keyframes pop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Example hotspot */
#hotspot1 {
    top: 250px;
    left: 150px;
    width: 50px;
    height: 150px;
    /* Add more styling as needed */
    animation: pulseAnimation 2s infinite, sizeChangeAnimation1 5s infinite;
}

#hotspot2 {
    top: 450px;
    left: 400px;
    width: 50px;
    height: 150px;
    /* Add more styling as needed */
    animation: pulseAnimation 2s infinite, sizeChangeAnimation2 2.5s infinite;
}

#hotspot3 {
    top: 200px;
    left: 550px;
    width: 50px;
    height: 150px;
    /* Add more styling as needed */
    animation: pulseAnimation 2s infinite, sizeChangeAnimation2 2.8s infinite;
}

#hotspot4 {
    top: 400px;
    left: 850px;
    width: 50px;
    height: 150px;
    /* Add more styling as needed */
    animation: pulseAnimation 2s infinite, sizeChangeAnimation2 2.8s infinite;
}

.hotspot:hover {
    /* Styling for hover effect */
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.6); 
}
