.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s;
}

.popup-content {
    width: 50%;
    max-width: 350px; /* Opcional: Establecer un ancho máximo para la ventana emergente */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    box-sizing: border-box;
}

.popup img {
    width: 100%;
    height: auto;
}

.popup.active {
    visibility: visible;
    opacity: 1;
}
