.pageTitle {
	padding-bottom: 1%;
}

/* Button Images for Provinces */
.smallImgWrapper {
	height: 100%;
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	font-family: Georgia, 'Times New Roman', Times, serif;
	font-size: 0.85em;
	margin-bottom: 1.5%;
}
.modal-button {
	height: auto;
	width: 100%;
}
.titleButtons {
	color: #fff;
	text-shadow: 2px 2px 6px rgba(0, 0, 0, 1);
	text-decoration: none;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1;
	padding: 0;
	margin: 2.5%;
}
.card {
	width: 350px;
	height: auto;
	margin: 0.5em 1.5em;
	perspective: 1500px;
	cursor: pointer;
	display: flex;
	justify-content: space-around;
	align-items: center;
	-webkit-transition: all 0.35s ease;
	-moz-transition: all 0.35s ease;
	-o-transition: all 0.35s ease;
	-ms-transition: all 0.35s ease;
	transition: all 0.35s ease;
}
.card:hover {
	opacity: 60%;
}

/* Style the Image Used to Trigger the Modal */
.provinceImage,
.gyeonggiImage {
	border-radius: 5px;
	cursor: pointer;
	transition: 0.3s;
}
.provinceImage:hover {
	opacity: 0.7;
}
.gyeonggiImage:hover {
	opacity: 0.7;
}

/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding: 2.5%; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0, 0, 0); /* Fallback color */
	background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}


/* Modal Images */
#provinceImg {
	width: 50%;
	padding-top: 1.5%;

	margin: 2.5% 25%;
	margin-bottom: 1%;
}





.gyeonggiImgDetail {
	width: 70%;
	padding: 0 1.5%;
	margin: auto;
	float: right;
}

/* Caption / Text / Titles for Modal Image */
#caption {
	color: #ccc;
	text-align: center;
	font-size: 24px;
}

#gyeonggiCompText {
	font-size: 22px;
	padding: 2.5%;
	margin: auto;
	width: 80%;
	background-color: rgba(56, 93, 122, 0.9);
	color: rgb(214, 214, 214);
	box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.75);
	text-align: justify;
	border-radius: 5px;
}

.compTitle {
	color: #ffffff;
	text-shadow: 2px 2px 9px rgba(0, 0, 0, 0.95);
	font-size: 40px;
	padding-bottom: 1%;
}


/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
	-webkit-animation-name: zoom;
	-webkit-animation-duration: 0.6s;
	animation-name: zoom;
	animation-duration: 0.6s;
}
@-webkit-keyframes zoom {
	from {
		-webkit-transform: scale(0);
	}
	to {
		-webkit-transform: scale(1);
	}
}
@keyframes zoom {
	from {
		transform: scale(0);
	}
	to {
		transform: scale(1);
	}
}

/* The Close Buttons */
.closeProvince {
	position: absolute;
	top: 100px;
	right: 150px;
	color: #f1f1f1;
	font-size: 50px;
	font-weight: bold;
	transition: 0.3s;
}
.closeProvince:hover,
.closeProvince:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}



/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 900px) {
	.modal-content {
		width: 100%;
	}
	.card {
		width: 150px;
	}

	.gyeonggiImgDetail {
		width: 100%;
		padding: 1.5%;
		margin: auto;
		float: none;
	}
	
	/* Caption / Text / Titles for Modal Image */
	#caption {
		color: #ccc;
		text-align: center;
		font-size: 24px;
	}
	
	#gyeonggiCompText {
		font-size: 22px;
		width: 96%;
	}
	
	.compTitle {
		font-size: 40px;
		text-align: center;
	}
	/* Modal Images */
	#provinceImg {
		width: 75%;
		padding-top: 1.5%;
		margin: 2.5% 12.5%;
		margin-bottom: 1%;
		margin-top: 20vh;


	}
	/* The Close Buttons */
.closeProvince {
	position: absolute;
	top: 60px;
	right: 20px;
	color: #f1f1f1;
	font-size: 36px;
	font-weight: bold;
	transition: 0.3s;
}

}

@media only screen and (max-width: 420px) {
	/* Modal Images */
	#provinceImg {
		width: 95%;
		padding-top: 1.5%;
		margin: 2.5%;
		margin-bottom: 1%;
		margin-top: 20vh;
	}
}