/* "The Rare Newsletter" exit popup (inc/exit-popup.php), the look of the old Meow Exit Intent. */

.meow-exit-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.5);
	cursor: pointer;
	animation: meow-exit-fade 0.5s;
}

.meow-exit-popup[hidden] {
	display: none;
}

.meow-exit-popup-box {
	position: relative;
	box-sizing: border-box;
	width: 600px;
	max-width: 100%;
	padding: 30px;
	border-radius: 4px;
	background: #fff;
	color: #000;
	font-size: 15px;
	line-height: 1.6;
	cursor: auto;
	animation: meow-exit-pop 0.3s;
}

.meow-exit-popup-box h2 {
	margin: 0 0 16px;
	font-size: 28px;
	color: #000;
}

.meow-exit-popup-box p {
	margin: 0;
	color: #000;
}

.meow-exit-popup-button,
.meow-exit-popup-button:visited {
	display: block;
	margin-top: 20px;
	padding: 15px 0;
	background: #000;
	color: #fff;
	font-size: 18px;
	text-align: center;
	text-decoration: none;
}

.meow-exit-popup-button:hover,
.meow-exit-popup-button:focus {
	background: #333;
	color: #fff;
}

.meow-exit-popup-close {
	position: absolute;
	top: 8px;
	right: 12px;
	padding: 4px 8px;
	border: 0;
	background: none;
	color: #888;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.meow-exit-popup-close:hover {
	color: #000;
}

@keyframes meow-exit-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes meow-exit-pop {
	0% { transform: scale(0); opacity: 0; }
	85% { transform: scale(1.05); opacity: 1; }
	100% { transform: scale(1); }
}
