
/* Hide the container when not clicked */	
.content {
	display: none;
}

/* display the container when clicked */
#div3 {
	display: block;
}

/* category container overlay */	
.category_overlay {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(255,255,255,0.7);
	opacity: 0;
}
	.category_overlay:hover {
		opacity: 1;
		transition: 500ms;
	}

/* category text overlay */	
.cattext_overlay {
	text-align: center;
	color: black;
	margin: auto;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	top: 45%;
	font-family: 'Aileron Light';
}

/* inner container of link texts */
.innerlinks_container {
	width: 80%;
	margin: auto;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;	
}	

/* link texts */
.gallery_linktext {
	font-size: 20px;
	color: #676767;
	margin-left: 8%;
	float: left;
}
	.gallery_linktext:hover {
		color: black;
		font-weight: bold;	
	}

/* outer texts container in different viewports */
@media only screen and (min-width : 1046px) {
	.links_container {
		height: 50px;
		margin: auto;
		max-width: 1200px;
		text-align: center;
		position: relative;
	}
}
	
@media only screen and (max-width : 1045px) {
	.links_container {
		height: 230px;
		margin: auto;
		max-width: 1200px;
		text-align: center;
		position: relative;
	}
	
	.gallery_linktext {
		font-size: 20px;
		color: #676767;
		display: block;
		width: 100%;
		margin: auto;
		margin-top: 2%;
		border: none;
	}
}
	
@media only screen and (max-width : 700px) {
	.links_container {
		height: 200px;
		margin: auto;
		max-width: 1200px;
		text-align: center;
		position: relative;
	}
} 
	
@media only screen and (max-width : 400px) {
	.links_container {
		height: 180px;
		margin: auto;
		max-width: 1200px;
		text-align: center;
		position: relative;
	}
}
/* --- End of outer texts container in different viewports --- */