* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
    font-family: 'lato', sans-serif;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.map {
    width: 100%;
    height: auto;
    display: block;
}

.points-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.point {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: #ff0000;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.413);
    pointer-events: auto;
    left: var(--desktop-x);
    top: var(--desktop-y);
}

.point::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(154, 31, 31, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.point:hover {
    transform: translate(-50%, -50%) scale(1.2);
    background-color: #a40b0b;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    position: relative;
    background: white;
    padding: 30px;
    border-radius: 16px;
    max-width: 90%;
    width: 600px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup.active .popup-content {
    transform: scale(1);
}

.popup .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup .close:hover {
    color: #000;
}

.popup h2 {
    color: #1f909a;
    margin-bottom: 20px;
    font-size: 24px;
}

.popup-image-container {
    width: 100%;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}

.popup img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.popup img:hover {
    transform: scale(1.02);
}

.popup p {
    color: #444;
    line-height: 1.6;
    margin-top: 15px;
}

@media (max-width: 800px) {
    .popup-content {
        padding: 20px;
        width: 95%;
    }

    .point {
        width: 20px;
        height: 20px;
        left: var(--mobile-x);
        top: var(--mobile-y);
    }
}