@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

#imagePopup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: auto;
}

.popup.hide {
    animation: fadeOut 0.5s forwards; /* Apply fade-out animation */
}

.popup-content {
    position: relative;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

#popupImage {
    width: 100%;
    max-width: 400px;
}

.countdown {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.popup-image {
	width: 400px;
}

