/* === MEDIA QUERIES AND RESET === */

* {
	margin: 0;
	padding: 0;
	box-sizing:border-box;
}

html, body {
	height: 100%;
	background: #eeeeee;
}

/* === MOBILE LAYOUT === */
/* Mobile first: will be inherited by all other layouts */

#wrapper {
	background: #fff;
	width: 100%;
	padding: 20px;
}

#message {
	text-align: center;
	width: 80%;
	display: inline-block;
	background: #eee;
	border: 2px solid #ccc;
	border-radius: 25px;
	margin: 20px;
}

#photos {
	text-align: center;
	padding: 20px;
	margin: 20px;
}

#video {
	position:relative;
	padding-bottom: 260px;
	padding-top:30px;
	height:0;
	overflow:hidden;
}

.#video iframe, .#video object, .#video embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

figure {
	text-align: center;
	padding-bottom: 20px;
}

img {
	width: 100%;
	height: auto;
}

header, nav, section, article, aside {
	margin-bottom: 20px;
}

section {
	width: 100%;
	float: left;
}

article {
	text-align: center;
	width: 100%;
	float: none;
}

article h1, article h2 {
	font-family: 'EB Garamond', serif;
	font-size: 24px;
	font-weight: bold;
	background-color: #eee;
	color: #000;
	margin: 20px;
	padding: 10px;
	border: 1px solid #ccc;
}

/* === TABLET LAYOUT === */
/* 481px to 768px. Inherits styles from: Mobile Layout. */

@media only screen and (min-width: 481px) {
	#wrapper {
		width: 96%;
		margin: 0 auto;
	}

	article {
		clear: both;
	}
}

/* === DESKTOP LAYOUT === */
/* Desktop Layout: 769px to a max of 1200px. Inherits styles from: Mobile Layout and Tablet Layout. */

@media only screen and (min-width: 769px) {

	#wrapper {
		width: 90%;
		max-width: 950px;
	}

	section {
		width: 25%;
	}

	article {
		float: left;
		width: 100%;
	}

	footer {
		clear: both;
	}

article h1, article h2 {
	font-size: 36px;
	}

}