.overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.7);
	transition: opacity 200ms;
	visibility: hidden;
	opacity: 0;
	z-index: 50;
}

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

.popup {
	z-index: 51;
	margin: 10% auto;
	padding: 10px 2%;
	background: #fafafa;
	border: 2px solid silver;
	border-radius: 5px;
	width: 30%;
	position: relative;
	transition: all 5s ease-in-out;
}

.popup h2 {
	margin: 0;
	color: #696969;
	border-bottom: 2px solid transparent;
	width: 90%;
	font-weight: lighter;
}

.popup .close {
	font-size: 30px;
	font-weight: bold;
	color: #333;
	position: absolute;
	top: 8px;
	right: 15px;
}

.popup .close:hover {
	text-decoration: none!important;
	color: #af7a6e;
}

.popup .content {
	color: #333;
	font-size: 1em;
}

.popup .content small {
	color: #696969;
	font-size: 0.8em;
}

.popup input {
	width: 100%;
	padding: 2%;
	font-size: 1em;
	border: 1px solid silver;
	color: #333;
	margin: 10px 0;
	border-radius: 5px;
}

.popup button {
	border: 0;
	padding: 2% 3%;
	border-radius: 5px;
	background: rgba(236, 101, 80, 1);
	color: white;
	font-size: 0.9em;
	cursor: pointer;
}

.popup button:hover {
	background: rgba(187, 60, 40, 1);
}

@media screen and (max-width: 900px) {
	.popup{
		width: 70%;
	}
}

@media (max-width: 500px) {
	.popup{
		width: 97%;
	}
}

.popup ::-webkit-input-placeholder {
	color: #7e7e7e
}

.popup ::-moz-placeholder {
	color: #7e7e7e
}

.popup :-ms-input-placeholder {
	color: #7e7e7e
}

.popup :-moz-placeholder {
	color: #7e7e7e
}