﻿.popup-image {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    height: 100%;
    width: 100%;
    z-index: 100;
    display: none;
}

    .popup-image span {
        position: absolute;
        top: 10px;
        right: 20px;
        font-size: 60px;
        font-weight: bolder;
        color: white;
        cursor: pointer;
        z-index: 100;
    }

    .popup-image img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border: 5px solid white;
        border-radius: 5px;
        max-width: 90%;
        max-height: 90%;
        object-fit: contain;
    }

@media (max-width: 768px) {
    .popup-image img {
        max-width: 95%;
        max-height: 95%;
    }
}
