.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 9999;
}

.popup img {
    width: 100%;
    height: auto;
}

.close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background-image: url(../images/close-icon.png);
    background-repeat: no-repeat;
    background-size: 32px;
    background-position: center;
    cursor: pointer;
    border-radius: 100%;
    z-index: 9999;
}

@media screen and (max-width: 769px) {
    .popup {
        top: 35%;
        left: 50%;
        transform: translate(-50%, -90%);
    }

    .close {
        background-size: 15px;
    }

    .popup img {
        width: 380px;
        height: auto;
    }


}