* {
	margin: 0px;
	padding: 0px;
}
body {
	font-family: 'Open Sans', sans-serif;
	margin: 1em;
}
header {
	font-size: 32px;
}


figure {
	width: 100%;
	height: auto;
	border:1px solid #fff;

}
figure figcaption {
	color: #FFF;
	background-color: #000;
	padding: 2px 5px 2px 5px;
	margin-top: -5px;
	font-size:0.8em;
}

figure img {
	width: 100%;
	height: auto;
}
h1 ,h2   {
	margin-top: 1em;
	margin-bottom: 0.5em;
}
section h1 {
	font-size: 1.5em;
}
section h2 {
	font-size: 1.2em;
}

article section p {
	margin-bottom: 1em;
}
article nav ul {
	list-style-type: none;
}
article nav ul li {
	display: block;
	margin: 2px;
	width:100%;
}
article nav ul li a {
	display: block;
	padding: 5px 10px 5px 10px;
	text-decoration: none;
	text-align: center;
	border: 1px solid #000;
	color:black;
}
article nav ul li a:hover {
	color: #000;
	background-color: #eee;
}

footer {
	margin-top: 2em;
	border-top: 1px solid black;
	clear:left;
}


@media screen and (orientation:landscape) {

figure {
	display:block;
	width:40%;
	float:left;
	margin-right:1em;
}
article nav ul {
	display:flex;
}

}
@media screen and (orientation:portrait) {

figure {
	display:block;
	width:100%;
	float:none;
}
article nav ul {
	display:block;
}
}

@media print {

body {
	font-family: "Times New Roman";
}

nav {	
	display:none;
}
}
