/* Basic CSS resets -- leveling slight inconsistencies in browsers */
html, body {
	margin:0px;
	padding:0px;
	height:100%;
}

html {
		/* Standard text-settings below */
	font-size: 1em;
    line-height: 1.4em;
}


/* Mobile First CSS: we'll design for phone sizes first, then add media queries for larger screens later */


body {
	background:#ccc;
	font-family: papyrus, sans-serif;
	
}


#container {
	width:80%;
	margin:auto;
	background:white;
}

header, footer {
	background: black;
	color:white;
}

header {
	padding:2em;
	text-align:center;
}

footer {
	padding: 1em;
}

nav ul {
	list-style:none;
	padding-left:0px;
}

nav a {
	display:block;
	text-decoration:none;
	padding:1em;
	border:1px solid red;
}



figure {
	margin:0px;
	border:1px solid black;
	padding:0.5em;
	
}

figure img {
	width: 100%;
}

section {
	background:#fceda9;
	padding:1em;
}


/* making youtube videos responsive */

figure.responsive {
    position: relative;
    padding-bottom: 56.25%;  /* 16:9 */
    height: 0px;
    overflow: hidden;
    max-width: 100%;
}

figure.responsive iframe {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}



/* ========================================
MEDIA QUERIES!
You can adjust the min-width numbers below, and add as many new media queries as you need.
======================================== */



/* Minimum width for laptops. */
@media all and (min-width: 769px) {
	

/*nav li {
	display:inline-block;
	width:12.1%;
}*/

nav ul {
	display: flex;
}

nav li {
	flex: 1 1 auto;
}

main {
	display: flex;
}

figure, section {
	flex: 1 1 50%;
}


	
} /* closes 769px+ */




/* Minimum width for desktop screens. */
@media all and (min-width: 1024px) {
	
	
	
	
} /* closes 1024px+ */





