.modal-window {
	position: fixed;
	background-color: rgba(255, 255, 255, 0.25);
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 999;
	/* visibility: hidden; */
	/* opacity: 0; */
	pointer-events: none;
}
.modal-window {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	background-color: rgba(29, 29, 29, 0.5);
	transition: .3s ease-out; 
}
.modal-window>div {
	width: 100%;
	max-width: 500px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 2em;
	background: white;
}
.modal-window header {
	font-weight: bold;
}
.modal-window h1 {
	font-size: 150%;
	margin: 0 0 15px;
}
.modal-close {
	color: #aaa;
	line-height: 50px;
	font-size: 80%;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	width: 70px;
	text-decoration: none;
	background: url('../img/closed_icon.svg');
	background-repeat: no-repeat;
	background-position: center;
}
.modal-close:hover {
	color: black;
}
/* Demo Styles */

.container {
	display: grid;
	justify-content: center;
	align-items: center;
	height: 100vh;
}
.modal-window div:not(:last-of-type) {
	margin-bottom: 15px;
}