
.popup-wrapper {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.5s ease;
    transition-property: opacity, visibility;
}

html.popup-show {
    overflow-y: hidden;
}

html.popup-show .popup-wrapper {
    visibility: visible;
    opacity: 1;
}

.popup-slider {
    width: 100%;
}

.popup-slider-item {
    display: flex !important;
    justify-content: center;
    padding: 0 1rem;
}

.popup-slider-item img {
    max-height: 30rem;
}