html[xmlns^="http"] {
	overflow-y: scroll;
}

html {
	height: 100%;
}

body {
	margin: 12px;
	background-color: #fff;
	color: #000;
	font-family: 'Aileron', tahoma, arial, sans-serif;
	font-size: 20px;
	line-height: 30px;
}

h1 {
	font-size: 36px;
	line-height: 48px;
	padding: 12px 0;
	margin: 0;
}

a {
	color: #000;
	text-decoration: underline;
}

div.wrapper {
	margin: 0 auto;
	width: 100%;
	max-width: 840px;
}

div.menu,
div.content,
div.footer {
	margin-left: 200px;
	padding: 12px 12px;
}

div.content {
	background-color: #fffbcc;
}

div.footer {
	background-color: #fff000;
}

div.menu {
	color: #ccc;
}

div.menu a {
	text-decoration: none;
	color: #000;
}

div.logo-small {
	display: none;
}

div.logo-small a {
	display: block;
	width: 72px;
	height: 60px;
	background-image: url(logo.svg);
	background-size: 72px 60px;
	background-position: left center;
	background-repeat: no-repeat;
	margin-top: 12px;
	margin-bottom: -72px;
}

div.logo-big {
	padding-top: 120px;
	margin-bottom: -268px;
}

div.logo-big a {
	display: block;
	width: 176px;
	height: 148px;
	background-image: url(logo.svg);
	background-size: 176px 148px;
	background-position: left center;
	background-repeat: no-repeat;
}

@media (max-width: 840px) {
	div.logo-big {
		display: none;
	}

	div.logo-small {
		display: block;
	}

	div.menu {
		margin-left: 70px;
	}

	div.content,
	div.footer {
		margin-left: 0;
	}
}

@media (max-width: 640px) {
	div.logo-big {
		display: none;
	}

	div.logo-small {
		display: block;
		width: 100%;
		text-align: center;
	}

	div.logo-small a {
		width: 100%;
		background-position: center;
		margin-bottom: 0;
	}

	div.menu {
		text-align: center;
		margin-left: 0;
	}
}
