html {
	background: white;
	color: black;
	margin: 0;
	padding: 1em;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	background-color: #dddcdc;
	padding: 1em;
	box-shadow: 0 0 0.8em 0 black;
}

/* Style the header */
header {
	padding: 2em;
	text-align: center;
	color: white;
}
h1 {
	font-size: 3.3em;
	padding: 0.3em;
	margin: 0;
	text-shadow: 0 0 0.3em #000;
}

/* Create two columns/boxes that floats next to each other */
nav {
	float: left;
	width: 30%;
	box-sizing: border-box;
	padding: 1.5em;
}

/* Style the list inside the menu */
nav ul, nav li {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

nav li.newsection {
	margin-top: 1em;
	padding-top: 1em;
	border-top: 1px solid white;
}

main {
	float: left;
	box-sizing: border-box;
	padding: 1em;
	width: 70%;
}

figure {
	margin: 0;
	padding: 0;
}

figure img {
	max-width: 100%;
}

/* forms */

.essentialfillme {
	position: absolute;
	top: -100px;
	left: -10000px;
}

fieldset {
	box-sizing: border-box;
	width: 100%;
	min-width: 0; /* stop Chromium stretching to fit */
}

label {
	cursor: pointer;
}

input[type="text"], input[type="email"], textarea {
	box-sizing: border-box;
	width: 50em;
	max-width: 100%;
}

textarea {
	height: 10em;
}

#sandrope, #nylon {
	width: 10em;
}

.error {
	font-weight: bold;
	color: red;
}

/* galleries */

ul.gallery {
	display: block;
	margin: 1em 0;
	padding: 0;
}

ul.gallery li {
	display: inline-block;
	vertical-align: top;
	margin: 0;
	padding: 0.5em;
	max-width: 22em;
}

ul.gallery figure {
	box-sizing: border-box;
	border: 1px solid black;
	max-width: 22em;
}

/* Style the footer */
footer {
	clear: both;
	padding: 1em;
	text-align: center;
	color: white;
	border-top: 1px solid white;
	text-shadow: 0 0 0.3em #000;
}

/* Responsive layout - makes the two columns/boxes stack on top of each other instead of next to each other, on small screens */
@media (max-width: 600px) {
	nav, main {
		width: 100%;
		float: none;
	}
}