/* 
	CSS Order of Operations 
	1 - !important
	2 - in-line css styles
	3 - id selectors
	4 - class selectors
	5 - element selectors
	6 - (*) universal selectors	
	**** Treat as a script which goes top down ****
*/

/*
	width = left border + left padding + width + right padding + rightborder
	
	height = top border = top padding = height = bottom padding + bottom border
*/
* {}

body {
	color: #444;
	font-family: sans-serif;
}

.post-img {
	width: 100%;
	height: auto;
}

.container {
	width: 800px;
	margin: 0 auto;
}

.main-header {
	background-color: #f7f7f7;
	text-align: center;
	/*padding: 20px 40px;*/
	margin-bottom: 60px;
	height: 80px;
}

article {	
	background-color: #f7f7f7;
	border-top: 5px solid #1098ad;
	border-bottom: 5px solid #1098ad;
}

nav {
	font-size: 18px;
}

h1, 
h2, 
h3, 
h4, 
p, 
li{
	font-family: sans-serif;
	color: #444;
}

h1, 
h2, 
h3 {	
	color: #1098ad;
}

h1{
	font-size: 26px;
	text-transform: uppercase;
	font-style: italic;
}

h2{
	font-size: 40px;
}

h3{
	font-size: 30px;
}

h4{
	font-size: 20px;
	text-transform: uppercase;
	text-align: center;
}

p{
	font-size: 22px;
	line-height: 1.5;
}

li{
	font-size: 20px;
}

#copyright {
	font-size: 16px;
}

#landing {
	font-style: italic;
	font-size: 18px;
}

.title {
	font-size: 18px;
	font-weight: bold;
}

/* hyperlink styles */
a:link {
	color: #1098ad;
	text-decoration: none;
}

a:visited {
	color: #1098ad;
}

a:hover {
	color: orangered;
	font-weight: bold;
	text-decoration: underline dotted orangered;
}

a:active {
	background-color: black;
	font-style: italic;
}

/* Psuedo class examples */
/*p:nth-child(even) {
	color: red;
}*/

/*p:last-child {
	font-style: italic;
}*/

/*body {
	background-color: black;
}*/