/* 
Madisen Caswell
ITWP 1050
This stylesheet applies styles to the project 2 webpage
*/

/* Defining global variables using the :root selector*/
:root {
	--blackColor: #000000;
}

/*Adding custom font using @font-face*/
@font-face {
	font-family: 'Title Font';
	src: url('webfonts/AmaticSC-Bold.ttf');
	font-style: normal;
}

/* Setting the font fomily and background color */
body {
	font-family: Arial, Helvetica, sans-serif;
	background-color: rgba(102,204,255,.4);
}

/* Creating a rule for the paragraph element selector that adds a text indent, line height, and font size */
p {
	text-indent: 1em;
	line-height: 1.5em;
	font-size: 1.5vw;
}

/*h1 styling*/
h1 {
	font-family: 'Title Font', Arial, Helvetica, sans-serif; /*Setting custom font*/
	font-size: 7vw;
	text-shadow: 1px 1px 3px #336699; /*Text shadow with required values*/
}

/*h2 styling*/
h2 {
	background: url('images/coloradomountains_bkgd.jpg') center repeat; /* Adding image and position*/
	color: white;
	text-shadow: 1px 1px 5px var(--blackColor); /*text shadow with required values and reference*/
	padding: 25px;
	border: 2px inset var(--blackColor); /*border shorthand*/
	font-variant: small-caps;
	box-shadow: 5px 10px 20px #336699; /*box shadow with required values*/
	font-size: 3vw;
}

/*h3 styling*/
h3 {
	font-variant: normal;
	padding: 5px;
	font-size: 2vw;
	border-bottom: 2px solid var(--blackColor); /* bottom border using root variable*/
}

/*h4 styling*/
h4 {
	font-variant: normal;
	padding: 5px;
	font-size: 1.75vw;
}

/*h5 styling*/
h5 {
	font-style: italic;
	color: DarkSlateGray;
	font-size: 1vw;
}

/*image styling*/
img {
	float: right;
	margin: 0 15px 15px 15px;
	border: 1px solid var(--blackColor); /* border shorthand using root variable*/
}

/* class for state flag*/
.stateflag {
	float: left;
	border: 1px inset white;
	margin: 5px 15px 10px 0px;
	box-shadow: 0px 3px 3px 1px var(--blackColor);
}

/* class for highlight section*/
.highlightSection {
	padding: 10px;
	background-color: white;
	box-shadow: 1px 1px 2px 1px SteelBlue;
}

/*class for copyright*/
.copyright {
	font-size: 9px;
	font-style: italic;
	text-align: center;
	padding: 10px;
}

/*unordered list rule */
ul li {
	line-height: 1.5em;
	font-size: 1.5vw;
}

/* ID for validation */
#validation {
	text-align: center;
	font-size: 11px;
}

/* anchor tag styling*/
a {
	text-decoration: underline;
	color: var(--blackColor);
}

/*Unvisited link*/
a:link {
	text-decoration: underline;
	color: var(--blackColor);
	font-weight: bold;
}

/*visited state*/
a:visited {
	text-decoration: underline;
	color: darkBlue;
}

/*hover state*/
a:hover {
	text-decoration: none;
	color: DarkRed;
	font-weight: bold;
}

/*active state*/
a:active {
	text-decoration: underline wavy DarkRed;
	font-weight: bold;
}

	
	
