@charset "utf-8";
/* CSS Document */

.section-intro {
	max-width:700px;
	text-indent: 70px;
	height: 40vh;
}

.section-intro p {
	font-size: 1.5rem;
	line-height: 1.2;
}

.section-ending h2 {
	text-indent: 0;
	font-size: 1.3rem;
	line-height: 1.2;
	text-align: center;
	padding-top: 20px;
	text-decoration: none;
}

.section-intro img {
	width: 250px;
	height: 167px;
	float: right;
	
}

/* CATEGORY SECTION START */
.index-category {
	width:100%;
	padding: 10px 0;
	display: flex;
	justify-content:center;
	column-gap:20px;
	row-gap:20px;
	flex-wrap:wrap;
}

.index-category-box {
	width: 200px;
	height: 200px;
	background-color: #111;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items:center;
	position: relative;		
}

.index-category-box:nth-child(1) {
	background-image: url(../images/photography.png);
}

.index-category-box:nth-child(2) {
	background-image: url(../images/graphic_publications.png);
}

.index-category-box:nth-child(3) {
	background-image: url(../images/web_design.png);
}

.index-category-box:nth-child(4) {
	background-image: url(../images/Model_Essantials.png);
}

.dark-overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #000;
	opacity: 0.5;
	transition: all ease-in-out 200ms;	
}

.index-category-box h3 {
	text-align:center;
	text-shadow: -2px 2px 4px #000;
	z-index:100;
}

.index-category-box:hover .dark-overlay{
	opacity: 0;
}

.index-category-box h3:hover {
	color:var(--site-color-golden-letters);
}
/* CATEGORY SECTION END */




/* Mobile Layout: 600px and below. */
@media only screen and (max-width: 600px){
	
/* About Main Section (MOBILE) START */
	h1 {
		line-height: 3rem;
	}

	.section-intro {
		max-width:550px;
		height: 160vh;
		text-indent: 0;
		padding: 0 15px;
		margin-top: 15px;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.section-intro img {
		width: 300px;
		height: 200px;
		clear: both;
		float: none;
		order:3;
	}

	.section-intro p {
		font-size: 1.5rem;
		line-height: 2rem;
		text-align: center;
	}
	
	.section-ending h2 {
		font-size: 1rem;

}
/* About Main Section (MOBILE) END */
	
/* CATEGORY SECTION Start */
	.index-category {
		max-width:550px;
		margin-top: 220px;
		padding: 10px 30px 20px;
		row-gap: 20px;
		position: relative;
	}
	
	.index-category-box {
		width: 250px;
		height: 200px;		
	}
	
	.dark-overlay {
		opacity: 0;	
	}
	
	.index-category-box h3 {
		font-size:35px;
		line-height: 45px;
		z-index:0;
	}
/* CATEGORY SECTION Start */
	
}


/* Media Query for Tablets */
@media only screen and (min-width : 601px) and (max-width : 768px) {

	/* About Main Section (TABLET) START */

	h1 {
		max-width:600px;
		line-height:1;
	}

	.section-intro {
		max-width:550px;
		margin-top: 10px;
	}

	.section-intro p {
		font-size: 1.3rem;
		line-height: 1.2;
	}
/* About Main Section (TABLET) END */
	
}