/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/* Overlay background */
.popup-overlay {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	position: fixed;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 9999;
	-webkit-transition: opacity 0.5s ease, visibility 0.5s ease;
	-o-transition: opacity 0.5s ease, visibility 0.5s ease;
	transition: opacity 0.5s ease, visibility 0.5s ease;
	will-change: opacity;
	transform: translateZ(0); /* Helps on some Android browsers */
}

.popup-overlay.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Popup wrap */
.popup-wrap {
	position: relative;
}

/* Popup content */
.popup-content {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgb(255, 238, 212);
	padding: 14px;
	margin: 30px;
	border-radius: 8px;
	max-width: 500px;
	-webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Close button */
.close-btn {
	position: absolute;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	top: 0;
	right: 0;
	margin: 18px;
	width: 30px;
	height: 30px;
	background: #f2ead3;
	border: 2px solid var(--primary--color);
	color: var(--primary--color);
	border-radius: 50px;
	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.close-btn:hover {
	color: #fff;
	background-color: var(--primary--color);
	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
