img {
	width: 100%;
}

.main-container {
	cursor: pointer;
	transition: 0.3s;
}

.main-container:hover > img {
	opacity: 0.9;
}

.modal {
	display: none;
	position: fixed;
	z-index: 1;
	padding-top: 100px;
	margin: auto;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: #000;
	background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
	margin: auto;
	display: block;
	top: 50%;
	width: 75%;
	max-width: 700px;
	animation-name: zoom;
	animation-duration: 0.6s;
}

.modal-text {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
	text-align: center;
	color: #fff;
	padding: 20px 0;
	height: 150px;
	animation-name: zoom;
	animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
	from {
		transform: scale(0);
	}
	to {
		transform: scale(1);
	}
}

@keyframes zoom {
	from {
		transform: scale(0);
	}
	to {
		transform: scale(1);
	}
}

.modal-close {
	position: absolute;
	top: 10px;
	right: 15px;
	color: #fff;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
}

.modal-close:hover {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}

.modal-close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}

@media only screen and (max-width: 768px) {
	.modal-content {
		width: 100%;
	}
}