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

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    position: relative;
    max-width: 90%;
    width: 800px;
    margin: 20px;
}

.popup-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

@media screen and (min-width: 769px) {
    .popup-content {
        transform: scale(1.5);
        transform-origin: center;
    }
}

.popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    color: #000;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.popup-button {
    position: absolute;
    left: 50%;
    top: 61%;
    transform: translate(-50%, -50%);
    padding: 15px 30px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    width: 60%;
    height: 15%;
} 