﻿
.popup {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgb(0 0 0 / 28%);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px -3px 20px 2px rgb(0 151 136);
    animation: popupAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid white;
}

.popup img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .close:hover {
        background: rgba(255, 255, 255, 0.7);
        transform: scale(1.1);
    }

@keyframes popupAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
