/* WRAPPER PRINCIPALE */
.np-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.np-popup.active {
    display: flex;
}

.np-popup-content {
    display: inline-flex;
}

.np-popup-content-image img{
	max-width: 200px;
	margin: auto;
  	display: block;
}

.np-popup-content-image{
	width: 30%;
	margin-right: 10%;
}
.np-popup-content-text{
	width: 60%;
}

/* OVERLAY */
.np-popup-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
	  180deg,
	  rgba(72,86,147,.85) 0%,
	  rgba(72,86,147,.65) 100%
	);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .3s ease;
}

/* BOX */
.np-popup-box {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 10vh auto;
    background: #ffffff;
    border-radius: 50px;
    padding: 50px;
    transform: translateY(30px);
    opacity: 0;
    transition: all .35s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

/* CONTENUTO */
.np-popup-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #111827;
}

.np-popup-content p {
    font-size: 15px;
    margin-bottom: 30px;
    color: #4b5563;
}

/* BOTTONE */
.np-popup-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #485693;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    transition: all .25s ease;
}

.np-popup-btn:hover {
    background: #3b477a;
    transform: translateY(-2px);
}

/* CLOSE */
.np-popup-close {
    position: absolute;
    top: 18px;
    right: 22px;
    border: none;
    background: none;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
}

/* OPEN STATE */
.np-popup.active .np-popup-overlay {
    opacity: 1;
}

.np-popup.active .np-popup-box {
    opacity: 1;
    transform: translateY(0);
}