.modal {
	background: rgba(0,0,0, 0.75);
	bottom: 0;
	height: 0;
	left: 0;
	opacity: 0;
	overflow: hidden;	
	position: fixed;
	right:0;
	top:0;
	transition: opacity 0.2s ease 0s, height 0s ease 0.2s;
	transition-delay: 0s, 0.2s;
}

.modal__content {
	top: 20vh;
	left: 25%;
	width: 50%;

	max-height: 60vh;
	overflow: auto;
	
	padding: 20px;
	background: #fff;
	border-radius: 4px;
	color: #333;

	transform: translateY(-30px) scale(1.1);
	opacity: 0;
	pointer-events: none;
	transition: all 0.2s;
	transition-delay: 0.2s;
}

.modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	font: 48px/1em Helvetica;
	z-index: 900;
	cursor: pointer;
	color: #ccc;
}

.modal__close::after {
	content: "\00d7";
}

.modal.active {
	height: 100%;
	opacity: 1;
	z-index: 1000;
}

.modal.active .modal__content {
	transform: translateY(0) scale(1);
	opacity: 1;
	pointer-events: none;
}

.is-modal {
	overflow: hidden;
}


@media(max-width: 768px) {
	.modal .content {
		top: 5vh;
		left: 10%;
		width: 80%;
	}
}
