/*
Author: Isaac Schulz
Date: 2/17/2024
File Name: styles.css
*/

/* CSS Reset */
body, header, nav, main, footer, h1, div, img, ul {
	margin: 0;
	padding: 0;
	border: 0;
}

/* Style rules for body and images */
body {
	background-color: #000;
}

img {
	max-width: 100%;
	display: block;
}

/* Style rules for mobile viewport */

/* Style rule for header */
header {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	background-color: #000;
	height: 190px;
}

header img {
	margin: 0 auto;
}

/* Style rules for navigation area */
nav {
	padding: 1%;
	margin-bottom: 1%;
}

nav ul {
	list-style-type: none;
	text-align: center;
}

nav li {
	font-size: 1.5em;
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	border-top: 1px solid #fff;
}

nav li:first-child {
	border-top: none;
}

nav li a {
	display: block;
	color: #fff;
	padding: 0.5em 1em;
	text-decoration: none;
}

/* Show mobile class, hide tab-desk class */
.mobile {
	display: block;
}

.tab-desk {
	display: none;
}

/* Style rules for main content */
main {
	background-color: #fff;
	padding: 2%;
	font-size: 1.25em;
	font-family: "Roboto", sans-serif;
	line-height: 1.3;
}

.opening {
	font-weight: 300;
}

.action a {
	font-size: 1.08em;
	color: #7d1919;
	font-weight: bold;
	text-decoration: none;
}

.action a:hover {
	text-decoration: underline;
}
	
#portraitphoto {
	margin: 0 auto;
}

#stars, #chicken, #fireworks, #lowpoly, #christmascard, #banners, #lego, #selfportrait, #selfportaitfinal {
	margin: 0 2%;
}

.round {
	border-radius: 8px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Style rules for footer content */
footer p {
	font-size: 0.75em;
	text-align: center;
	color: #fff;
	padding: 0 1em;
}

/* Media Query for Tablet Viewport */
@media screen and (min-width: 680px), print {
	
	/* Tablet Viewport: Show teb-desk class, hide mobile class */
	.tab-desk {
		display: block;
	}
	
	.mobile {
		display: none;
	}
	
	/* Tablet Viewport: Style rule for header */
	header {
		position: static;
		padding-bottom: 2%;
	}
	
	/* Tablet Viewport: Style rules for nav area */
	nav li {
		border-top: none;
		display: inline-block;
		border-right: 1px solid #fff;
	}
	
	nav li:last-child {
		border-right: none;
	}
	
	nav li a {
		padding: 0.1em 0.75em;
	}
	
	/* Tablet Viewport: Style rules for main content area */
	main {
		line-height: 1.8;
	}
	
	main ul {
		margin: 0 0 4% 10%;
	}
	
	#camtips {
		border-top: 1px solid #000;
		border-bottom: 1px solid #000;
		background: linear-gradient(to right, #cbb, #fff);
		background-color: #fff2f2;
		padding: 1% 2%;
	}
	
	#camtips dt {
		font-weight: bold;
	}
	
	#camtips dd {
		padding: 0.5% 1% 2% 0%;
	}
	
}

/* Media Query for Desktop Viewport */
@media screen and (min-width: 1060px), print {
	
	/* Desktop Viewport: Style rule for header */
	header {
		width: 25%;
		float: left;
		padding-bottom: 0;
	}
	
	/* Desktop Viewport: Style rules for nav area */
	nav {
		float: right;
		width: 70%;
		margin: 4em 1em 0 0;
	}
	
	nav ul {
		text-align: right;
	}
	
	nav li {
		border: none;
	}
	
	nav li a {
		padding: 0.5em 1em;
	}
	
	nav li a:hover {
		color: #000;
		background-color: #fff;
	}
	
	/* Desktop Viewport: Style rules for top photo */
	#top img {
		margin: 0 auto;
	}
	
	/* Desktop Viewport: Style rules for main content */
	main {
		clear: left;
		overflow: auto;
	}
	
	main h1 {
		font-size: 1.8em;
	}
	
	#splash {
		float: left;
		width: 65%;
	}
	
	.centext {
		margin: auto;
		position: relative;
		max-width: 800px;
	}
	
	#portraitphoto {
		float: right;
		width: 30%;
	}
	
	#stars, #chicken, #fireworks, #lowpoly, #christmascard, #banners, #lego, #selfportrait, #selfportaitfinal {
		width: 29%;
		float: left;
		margin: 0 2%;
	}
	
	#camtips {
		clear: left;
	}
	
}

/* Media Query for Large Desktop Viewports */
@media screen and (min-width: 1921px) {
	
	#container {
		width: 1920px;
		margin: 0 auto;
	}
	
}

/* Media Query for Print */
@media print {
	
	body {
		background-color: #fff;
		color: #000;
	}
	
}
