/* Andrew Smith
stylesheet.css
3/7/2026 */

/*  This is the CSS reset style rule */
body, header, nav, main, footer, h1, div, ul, figure, figcaption, article, section, aside {
	margin: 0;
	padding: 0;
	border: 0;
}

/* Beginning of image style */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Beginning of style with class selector*/

.topics {
	font-weight: bold;
}

#introduction {
	line-height: 2;
}

/* Beginning of header style */
header {
	background-color: #DAF6BB;
	padding: 10px;
	text-align: center;
	font-weight: bold;
}

header h1 {
	text-align: center;
	color: black;
	border: 1px solid black;
	border-radius: 10px 10px;

}

/* Beginner of body style */
body {
	margin: 0;
	padding: 0;
	background-color: #DAF6BB;
}

/* Beginner of nav style. Bullet marker is removed */
nav {
	padding: 1%;
	margin-bottom: 1%;
	border: 1px solid #000;
	border-radius: 5px 10px 8px;
}

nav ul {
	list-style-type: none;
	text-align: center;
	background-color: #DAF6BB;
}

nav li {
	font-family: "Oswald", sans-serif;
	border-top: 1px solid #fff;
	background-color: #DAF6BB;
}

nav li:first-child {
	border-top: none;
}

nav li a {
	display: block;
	color: #fff;
	padding: 0.7em 1.2em;
	text-decoration: none;
}

.column {
	width: 100%;
}

/* Show mobile class, hide table-desktop class */
.mobile {
	display: block;
}

.tablet-desktop {
	display: none;
}

/* Nav hover style */
nav a:hover {
	background-color: #000;
	color: #DAF6BB;
}


/* Beginning of main style with font fallbacks */
main {
	background-color: white;
	color: black;
	padding: 20px;
	font-family: "Roboto Slab", serif;
}

/* Beginning of footer style. */
footer {
	text-align: left;
	color: black;
	padding: 0px;
	line-height: 1.0;
}

.telephone {
	margin: 0;
	font-style: italic;
}

.telephone a:hover {
	color: #0041C2;
}

footer p {
	text-align: center;
}

.resize {
	width: 40%;
}

* {
	box-sizing: border-box;
}
	
/* Style Rules for mobile viewport */

header {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	background-color: #DAF6BB;
}

header img {
	margin: 0 auto;
	
}

nav li a {
	padding: 0.1em 0.75em;
	color: black;
}


.grid {
	display: grid;
	grid-template-columns: auto auto;
}

.frame {
	position: relative;
	max-width: 450px;
	margin: 2% auto;
}

.frame img {
	display: block;
	width: 100%;
}

.pic-text {
	position: absolute;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	width: 100%;
	padding: 20px;
	text-align: center;
	font-family: Verdana, Arial, sans-serif;
	font-size: 1.5em;
	font-weight: bold;
}

aside {
    display: none;
}

ul {
    list-style-type: none;
}

.grid {
    clear: both;
}

footer {
	background-color: #DAF6BB;
	border: none;
}


/* Media query for tablet viewport */

@media screen and (min-width: 630px), print {
	nav li {
			display: inline-block;
	}

	/* Table viewpoint: Show tablet-desktop class, hide mobile class */

	.tablet-desktop {
		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;
		color: black;
	}
	footer {
		background-color: #DAF6BB;
		border: none;
	}
		
	aside {
	display: block;
	float: right;
	width: 30%;
	margin: 2% 0 2% 2%;
	padding: 2%;
	border: 2px solid #000;
	box-shadow: 4px 4px 8px #ccc;
	}
	
	.column {
	float: left;
	width: 68%;
	}
	
	.row::after {
	content: "";
	display: table;
	clear: both;
	}

}

/* Media query for desktop viewport */

@media screen and (min-width: 919px), print {

	/* Desktop viewport: Style rule for header */
	
	header {
		width: 35%;
		float: left;
		padding-bottom: 0;
	}

	/* Desktop viewport: Style rules for nav area */
	
	nav {
		background-color: #DAF6BB;
		padding: 10px 0;
		border: none;
	}
	
	nav ul {
		text-align: center;
		padding: 10px 0;
	}
	
	nav li {
		border: none;
	}
	
	nav li a {
	padding: 0.1em 0.75em;
	color: black;
	box-shadow: 2px 2px 4px #888;
	}
	
	/* Desktop viewport: Style rules for main content */
	
	main {
		clear: left;
	}
	
	main h1 {
		font-size: 1.8em;
		background-color: #DAF6BB;
	}
	
	/* Multiple column floats */
	
	.column {
		float: left;
		width: 68%;
	}
	
	.row::after {
		content: "";
		display: table;
		clear: both;
	}
	
	/* Pseudo-class selectors */
	
	nav a:link {
		color: white;
	}
	
	nav a:visited {
		color: black;
	}
	
	nav a:hover {
		background-color: black;
		color: #DAF6BB;	}
	
	footer {
		background-color: #DAF6BB;
		border: none;
	}
	
	aside {
    		float: right;
   		width: 30%;
   		margin-left: 2%;	
   	}

}

/* Media query for large desktop viewports */

@media screen and (min-width: 1921px) {

	#container {
		width: 1200px;
		margin: 0 auto;
	}
}

/* Media query for print */

@media print {

	body {
		background-color: #fff;
		color: #000;
	}
}

