@import url("../font/webfont.css");
*{
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-o-box-sizing:border-box;
	box-sizing:border-box;
}
body{
	font: 0.8em/1.4 open_sanslight, promptregular, sans-serif;
	color: #e1d3c8;
	background-color: #282828;
}
header, footer{
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}
h1{
	font: 700 2.25em pecitabook;
	color: #282828;
	float: left;
	margin: 10px 0 10px 5%;
}
h2{
	font: 2.25em ostrich_sansblack;
	padding: 10px 0 0 5%;
}
figcaption{
	font-size: 1.1em;
	text-align: justify;
}
a{
	text-decoration: none;
	color: #000000;
}
img{
	max-width: 100%;
}
/*header*/
header{
	width: 100%;
	position: fixed;
	z-index: 1;
	top: 0;
	background: #e1d3c8;
	transition: ease-in-out 300ms;
}
.layout-header{
	max-width: 960px;
	margin: 0 auto;
}
.submenu{
	padding: 0 5% 10px;
	width: 100%;
	clear: both;
	overflow: hidden;
}
.submenu li{
	width: 33%;
	float: left;
	border-right: 1px solid #282828;
	text-align: center;
	padding: 1%;
}
.submenu li:last-child{
	border-right: none;
}
.submenu a{
	text-transform: none;
	color: #282828;
	font: 0.90em ostrich_sansmedium;
}
/*main*/
section{
	margin-right: 5%;
	margin-left: 5%;
	width: 90%;
	overflow: hidden;
}
section ul{
	margin-top: 120px;
	margin-bottom: 20px;
	height: 60px;
}
section ul li{
	width: 80%;
	float: left;
}
section ul li:first-child{
	width: 20%;
}
.grid-item{
	width: 100%;
	clear: both;
	margin-bottom: 40px;
}
img{
	border-radius: 5px 5px 0 0;
}
figcaption{
	width: 100%;
	margin-top: -8px;
	padding: 40px 20px 60px;
	background: #ffffff;
	color: #282828;
	border-radius: 0 0 5px 5px;
}
iframe{
	width: 100%;
}
/*footer*/
footer{
	margin: 10px 0;
}
small{
	display: block;
	font-size: 0.6em;
	text-align: center;
}
	@media screen and (min-width: 20em){
	header nav {
		position: absolute;
		top: 15px;
		right: 18%;
		color: #282828;
	}
	header nav a{
		color: #282828;
		font-size: 0.7em;
	}
	header nav a:hover{
		text-decoration: underline;
	}
	/*Hamburger*/
	.hamburger{
		width: 30px;
		height: 30px;
		float: right;
		position: relative;
		margin: 10px 5% 10px 0;
	}
	.hamburger span{
		width: 30px;
		height: 2px;
		margin: 2px;
		background: #282828;
		display: block;
		position: absolute;
	}
	.hamburger span:nth-child(1) {
		top: 0px;
		-webkit-transform-origin: left center;
		-moz-transform-origin: left center;
		-o-transform-origin: left center;
		transform-origin: left center;
		transition: ease-in 300ms;
	}
	.hamburger span:nth-child(2) {
		top: 10px;
		-webkit-transform-origin: left center;
		-moz-transform-origin: left center;
		-o-transform-origin: left center;
		transform-origin: left center;
		transition: ease-in 300ms;
	}
	.hamburger span:nth-child(3) {
		top: 20px;
		-webkit-transform-origin: left center;
		-moz-transform-origin: left center;
		-o-transform-origin: left center;
		transform-origin: left center;
		transition: ease-in 300ms;
	}
	.hamburger.open span:nth-child(1) {
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		-o-transform: rotate(45deg);
		transform: rotate(45deg);
		transition: ease-in 300ms;
		background: #282828;
	}
	.hamburger.open span:nth-child(2) {
	  	width: 0%;
		opacity: 0;
	}
	.hamburger.open span:nth-child(3) {
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		-o-transform: rotate(-45deg);
		transform: rotate(-45deg);
		transition: ease-in 300ms;
		background: #282828;
	}
	/*menu*/
	.menu{
		width: 100%;
		height: 100vh;
		background: #e1d3c8;
		padding-top: 40px;
		z-index: 1;
		display: none;
		transition: ease-in 300ms;
	}
	.menu li{
		font-family: ostrich_sansmedium;
		width: 80%;
		margin: 20% auto;
		text-align: center;
	}
	.menu li a{
		font-size: 1.6em;
		color: #282828;
	}
	.menu li a:hover{
		font-weight:900;
	}
	.active{
		font-weight:900;
	}
	.expand{
		display: block;
		transition: ease-in 300ms;
	}
}
	@media screen and (min-width: 22em){
		body{
			font-size: 1em;
		}
		.submenu a{
			font-size: 0.5em;
		}
		section ul{
			height: 100px;
		}
	}
		@media screen and (min-width: 37em){
			body{
				font-size: 1.2em;
			}
			header h1{
				width: 30%;
			}
			section ul{
				margin-top: 150px
			}
			section ul{
				height: 120px;
			}
			iframe{
				height: 320px;
			}
		}
			@media screen and (min-width: 48em){
				body{
					font-size: 1.5em;
				}
				h2{
					margin-top: 20px;
				}
				header h1{
					margin-left: 10%;
				}
				.hamburger{
					margin: 20px 10% 0 0;
				}
				figcaption{
					font-size: 1em;
					margin-top: -10px;
				}
				section{
					margin: 0 10% 0;
					width: 80%;
				}
				section ul{
					margin-top: 180px;
					height: 150px;
				}
				section div{
					margin-bottom: 60px;
				}
				
			}
				@media screen and (min-width: 60em){
					h2{
						font-size: 2em;
					}
					/*header*/
					header{
						padding: 0 10%;
					}
					header h1{
						width: 20%;
						float: left;
						margin: 20px 0 10px;
					}
					header nav{
						top: 15px;
						right: 160px;
					}
					.hamburger{
						margin-right: 0px;
					}
					section ul{
						height: 180px;
					}
					img{
						width: 100%;
					}
					figcaption{
						padding-bottom: 60px;
					}
					.grid-item{
						margin-bottom: 60px;
						-webkit-column-break-inside: avoid;
						column-break-inside: avoid;
						page-break-inside: avoid;
						break-inside: avoid-column;
						display: table;
					}
					small{
						font-size: 0.8em;
					}
				}
					@media screen and (min-width: 65em){
						body{
							font-size: 1em;
						}
						h2{
							font-size: 2.25em;
							padding: 20px 0 0 5%;
						}
						figcaption, a,.submenu a{
							font-size: 0.9em;
						}
						/*header*/
						header, footer{
							width: 100%;
							margin-right: auto;
							margin-left: auto;
						}
						header h1{
							width: 10%;
							font-size: 2.5em;
							float: left;
							margin: 20px 0 10px;
						}
						header nav{
							position: fixed;
							top: 3%;
							right: 3%;
							color: #282828
						}
						.hamburger{
							display: none;
						}
						.menu{
							width: 72%;
							height: 80px;
							display: block;
							float: right;
							background: none;
							padding: 0;
						}
						.menu li{
							width: auto;
							float: left;
							margin: 0 0 0 12%;
							line-height: 80px;
						}
						.menu li a{
							font-size: 1.6em;
						}
						.submenu{
							font-size: 1.2em;
							padding: 0 0 20px;
						}
						.submenu li{
							padding: 1% 3%;
						}
						/*main*/
						section{
							max-width: 960px;
							height: auto;
							margin-top: 120px;
							margin-left: auto;
							margin-right: auto;
						}
						section ul{
							height: 120px;
						}
						section ul li:first-child{
							width: 10%;
						}
						.grid{
							-moz-column-count: 3;
							-webkit-column-count: 3;
							column-count: 3;
						}
					}


