/* Style shee created by: Strong, Alvin, 11 March 2019 */

/* Style for body specifies a background color */
body {
	background-color: #B0C0D5;
}

/* Style to create a fluid image */
img {
	max-width: 100%;
}

/* Styles for Mobile Layout */

/* Style for container centers the page and sets the element width */
#container {
	width: 100%;
	margin-left: auto;
		margin-right: auto;
}

/* Style for header specifies top margin, background color, rounded border, and center-aligns content */
header {
	margin-top: 0.2em;
	background-color:  #C8D8EF;
	border-radius: 0.5em;
	text-align: center;
}

/* Style for nav specifies text properties */
nav {
	font-family: Georgia, "Times New Roman", serif;
	font-size: .85em;
	font-weight: bold;
	text-align: center;
}

/* Style specifies padding and margins for unordered list */
nav ul {
	padding: 0;
	margin-top: 0.5em;
	margin-bottom: 0.5em;		
}

/* Style for nav li specifies the background color, rounded corners, removes bullet style, and applies margins and padding for list items within the navigation */
nav li {
	background-color: #4A7BDC;
	border-radius: 2em;
	list-style-type: none;
	margin: 0.3em;
	padding: 0.4em;
	
}

/* Style changes navigation link text color to white and removes the underline */
nav li a {
	color: #153626;
	text-decoration: none;
}

/* Style displays the mobile class */
.mobile {
	display: inline;
}

/* Style hides the desktop class */
.desktop {
	display: none;
}

/* Style for the main element specifies a block display, text properties, margins, padding, rounded corners, and border properties */
main {
	display: block;
	font-family: Verdana, Arial, sans-serif;
	font-size: 1em;
	margin-top: 0.5em;
	padding: 1em;
	border-radius: 1em;
	background-color: #B0C0D5;
	border-top: solid 0.2em #17303E;
	border-bottom: solid 0.2em #17303E;
}
main br{
	color: #17303E;
}

/* Style for footer specifies font size, text alignment, and top margin */
footer {
	font-size: .70em;
	text-align: center;
	margin-top: 2em;
}

/* Style hides the tablet class */
.tablet {
	display: none;
}

/* Style rule specifies to not display the equip class */

.desktop {
		display: none;
	}
/* Media Query for tablet viewport targets screen size with a minimum width of 660px. */

@media only screen and (min-width: 660px) { /*to insert a media query.*/
	
	/* Style specifies a horizontal display for navigation links */
	nav li {
		font-size: 1em;
		display: inline;
		float: left;
		margin-left: 1%;
		margin-right: 1%;
		padding-left: 0;
		padding-right: 0;
		width: 12%;
		white-space: nowrap;
	}
	
/* Style specifies clear and top margin properties for the main element */
	main {
		clear: left;
		margin-top: 4em;
	}	
	
/* Style specifies to hide the mobile class */
	.mobile {
		display: none;
	}
	
/* Style specifies to display the desktop class */
	.desktop {
	display: inline;	
	}	
	
	/* Style specifies a display, float, and padding for the equip class */
	.equip {
		display: inline;
		float: left;
		margin-right: 1.5em;
	}
	
	/* Stle specifies a display, list style position, and bottom margin for the items class */
	.items {
		display: block;
		list-style-position: inside;
		margin-bottom: 5em;
	}
	
	/* Style specifies to display the tablet class */
	.tablet {
		display: block;
	}
	
	/* Style specifies a font weight and top margin for description list items */
	dt {
		font-weight: bold;
		margin-top: 0.7em;
	}

	}/*to close the media query*/

/* Media query for desktop viewport targets screens with a minimum width of 830px. */

@media only screen and (min-width: 830px) {
	
	/* Style specifies a width for container */
	#container {
		width: 80%;
		opacity: 0.8;
		filter: alpha(opacity=80); /* For IE8 and earlier */

	}
	
	/* Style specifies margin and padding for the unordered list within the nav */
	nav ul {
		margin: 0;
		padding-left: 0.50%;
		padding-right: 0.50%;
	}
	
	/* Style for navigation list items specifies a border radius, border, margin, width, and padding */
	nav li {
		font-size: 1.25em;
		border-radius: 0;
		border-top: solid #000000;
		border-bottom: solid #000000;
		margin-left: 0;
		margin-right: 0;
		padding: 0;
		width: 20%;
	}
	
	/* Style for navigation links specifies display and padding */
	nav li a {
		display: inline-block;
		padding: 0.7em;
	}
	
	/* Style rules for psuedo-classes */
	nav li a:link {
		color: #153626;
	}
	
	nav li a:visited{
		color: #A7F085;
	}
	
	nav li a:hover {
		color: #43B90C;
		font-style: italic;
	}
	
	/* Style specifies border, box shadow, and margins for the main element */
	main {
	border-style: none;
	box-shadow: 0.5em 0.5em 0.5em #404040;
	margin-bottom: 1em;
	margin-top: 1em;
	background-color: #B0C0D5;
	font-weight: normal;
	color: #010101;
	}
	
	/* Style specifies left and right padding for paragraph elements within the main element */
	main p {
	padding-left: 0.5em;
	padding-right: 0.5em;
	font-family: Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", serif;
	}
	
	/* Style specifies a bottom margin for the items class */
	.items {
		margin-bottom: 6em;
	}
	
	/* Style specifies a gradient for the body element */
	body {
		background: -moz-linear-gradient(#112233, #ffff99); /* Firefox */
		background: -o-linear-gradient(#112233, #ffff99); /* Opera */
		background: -webkit-linear-gradient(#112233, #ffff99); /* Chrome, Safari */
		background: linear-gradient(#112233, #ffff99);
		background-attachment: fixed;
	}
	.desktop {
		display: block;
	}
	
}
