.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 2;
	visibility: hidden;
	transition: all 0.3s ease;
	backdrop-filter: blur(0.8rem);
}

.overlay.show {
	opacity: 1;
	visibility: visible;
}

.default_modal {
	width: 30%;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	background-color: var(--white);
	padding: 3.2rem 4.8rem;
	flex-direction: column;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
	border-radius: 12px;
	display: none;
}

.default_modal.show {
	display: flex;
	transition: all 0.4s ease;
}

.default_modal .modal_title {
	font-size: var(--font-title-S);
	font-weight: 700;
	color: var(--textTitle);
	text-align: left;
	margin-bottom: 3.2rem;
}

.default_modal .modal_content_title {
	font-size: var(--font-title-M);
	font-weight: 700;
	color: var(--textTitle);
	text-align: left;
	margin-bottom: 1.2rem;
}

.default-modal .modal_content {
	font-size: var(--font-body-M);
	font-weight: 400;
	color: var(--textTitle);
	text-align: left;
	margin-bottom: 3.2rem;
}

.modal_btn_wrapper {
	margin-left: auto;
}

/* Small laptops and tablets landscape (up to 1200px) */
@media only screen and (max-width: 1200px) {
	.default_modal {
		width: 40%;
	}
}

/* Tablets portrait (up to 992px) */
@media only screen and (max-width: 992px) {
	.default_modal {
		width: 50%;
		padding: 2.5rem 2.5rem;
	}
}

/* Large smartphones and small tablets (up to 768px) */
@media only screen and (max-width: 768px) {
	.default_modal {
		width: 60%;
		padding: 2.2rem 2.2rem;
	}
}

/* Small smartphones (up to 576px) */
@media only screen and (max-width: 576px) {
	.default_modal {
		width: 80%;
		padding: 2rem 2rem;
	}
}

/* Extra small devices (up to 400px) */
@media only screen and (max-width: 400px) {
	.default_modal {
		width: 90%;
		padding: 1.5rem 1.5rem;
	}
}
