/*Body Section*/

body {
	margin: 0;
	background-color: #667BC6;
	font-family: "Gotham", "Open Sans",sans-serif;
}

/*Header Section*/

header {
	background: #FFB4C2;
	color: #667BC6;
	padding: 15px 15px 0px 15px;
	text-align: center;
}

h1 {
	margin: 0;
	display: block;
	font-family: "Gotham", "Open Sans",sans-serif;
	font-weight: bold;
	font-size: 2.5em;
}

/*Nav Section*/

nav {
	margin: 0;
	display: block;
	text-align: center; /* Centers the <ul> and its <li> items */
}

nav ul {
	margin: 0;
    padding: 10px;
	display: inline-block; /* Ensures <ul> shrinks to fit its content */
}

nav ul li {
	list-style-type: none;
	display: inline-block;
	background: #DA7297;
	color: white;
	padding: 5px 15px;
	margin: 0;
	border-radius: 5px;
}

nav ul li a{
	color: white;
	font-family: "Gotham", "Open Sans",sans-serif;
	text-decoration: none;
}

a:hover {
	color: #667BC6;	
}

a:visited {
	color: #FFB4C2;
}

/*Main Section*/

main {
    overflow: hidden; /* Clearfix to contain floated elements */
    margin-top: 20px;
}
.content {
	float: right;
	background: #FDFFD2;
	margin: .5%;
	width: 75%;
	border-radius: 5px;
	padding: 10px .75%;
	color: #667BC6;
}

.sidebar {
	float: left;
	background: #FDFFD2;
	margin: .5%;
	width: 20%;
	border-radius: 5px;
	padding: 10px .75%;
	color: #667BC6;
}

/*Footer Section*/

footer {
    clear: both;
    background-color: #DA7297;
    color: #667BC6;
    text-align: left;
    padding: 10px;
    margin-top: 15px;
    border-radius: 8px;
}

footer a {
	color: #FFB4C2;
	text-decoration: none;
}

/* Media Query for smaller screens 
Responsive layout - when the screen is less than 768px wide, make the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 768px) {
	
/* Stack main and aside vertically */ 

 .content, .sidebar {
    width: 100%; 
	float: none;
  }
  
nav ul{
	display: block;
}

nav ul li {
        display: block; /*stacks nav links vertically*/
        margin: 5px 0;
    }
	
}