.modal-background{
	display:none;
	position:fixed;
	left: 0;
	right:0;
	top:0;
	bottom:0;
	background: #000000AA;
  	transition: opacity 0.25s linear;
}

.modal-background.open{
	display:block;
}


.modal-window{
	position:absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	
	width:100%;
	height:100%;
	max-width:600px;
	max-height: 80%;
	background:#FFF;
	border-radius: 3px;
	overflow-y:auto;
}

@media (max-width: 650px) {
	.modal-window{
		max-width:95%;
		max-height:95%;
	}
}


.modal-container{
	padding:25px;
}