
.modal {
	position: fixed;
		top: 0;
		left: 0;

	width: 100%;
	height: 100%;

	overflow: scroll;

	z-index: 300000;


	display: flex;
/*	align-items: center;*/
	justify-content: center;

	pointer-events: all;

/*	padding: 48px 0;*/
}

.modal--wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.4rem;
	
	width: 450px;
	padding: 1.3rem;
	position: relative;
	z-index: 300000;

	margin: 64px 0;
	
	background-color: white;
	border: 1px solid #ddd;
	border-radius: var(--dim-8);



	pointer-events: all;

	    height: max-content;
}

.modal .flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.modal input {
	padding: 0.7rem 1rem;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 0.9em;
}

.modal p {
	font-size: 0.9rem;
	color: #777;
	margin: 0.4rem 0 0.2rem;
}

button {
	cursor: pointer;
	border: none;
	font-weight: 600;
}

.btn {
	display: inline-block;
	padding: 0.8rem 1.4rem;
	font-weight: 700;
	background-color: black;
	color: white;
	border-radius: 5px;
	text-align: center;
	font-size: 1em;
}

.btn-open {
	/*position: absolute;
	bottom: 150px;*/
}

.btn-close {
/*	padding: 0.5rem 0.7rem;*/
	background: #eee;
	border-radius: 50%;

	/*position: absolute;
		top: 0;
		right: 0;*/

	width: var(--dim-32);
	height: var(--dim-32);
}

.overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(0px);
	z-index: 200000;
}

.hidden {
	display: none;
}

@keyframes moveIn {
	from {
		transform: translateY(64px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* Hidden class */
.modal.hidden {
	display: none;
}

/* Visible modal with animation */
.modal.show {
	animation: moveIn 0.4s ease-out;
}

.modal__header {
	position: sticky;
	top: 0;

	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.modal__cta {
	width: 100%;
	display: flex;
	gap: var(--dim-16);
	justify-content: space-between;
}

@media screen and (min-width: 1400px){



@media screen and (max-width: 768px){




}