/* ==========================================
   Overlay
========================================== */

.npb-popup-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.55);

    backdrop-filter:blur(6px);

    display:none;

    align-items:center;

    justify-content:center;

    z-index:999999;

    opacity:0;

    transition:.35s ease;

}

/* ==========================================
   Active
========================================== */

.npb-popup-overlay.active{

    display:flex;

    opacity:1;

}

/* ==========================================
   Popup
========================================== */

.npb-popup{

    width:100%;

    max-width:680px;

    position:relative;

    max-height:90vh;

    background:#fff;

    border-radius:16px;

    overflow:hidden;

    transform:scale(.92);

    transition:.35s ease;

    box-shadow:

        0 25px 70px rgba(0,0,0,.35);

}

.npb-popup-overlay.active .npb-popup{

    transform:scale(1);

}

/* ==========================================
   Image
========================================== */

.npb-popup img{

    display:block;

    width:100%;

    height:auto;

}

/* ==========================================
   Close Button
========================================== */

.npb-popup-close{

    position:absolute;

    top:10px;

    right:10px;

    width:38px;

    height:38px;

    border:none;

    border-radius:50%;

    background:#fff;

    cursor:pointer;

    font-size:22px;

    line-height:38px;

    box-shadow:0 2px 12px rgba(0,0,0,.2);

    transition:.25s;

}

.npb-popup-close:hover{

    transform:rotate(90deg);

}

/* ==========================================
   Responsive Images
========================================== */

.npb-mobile{

    display:none;

}

@media(max-width:991px){

    .npb-popup{

        max-width:90vw;

    }

}

@media(max-width:767px){

    .npb-popup{

        max-width:323px;

    }

    .npb-desktop{

        display:none;

    }

    .npb-mobile{

        display:block;

    }

}