@charset "utf-8";
/* CSS Document */


body {
	font-family: 'Roboto Slab', serif;
	font-size: 12px;
	font-size: 1vw;
	line-height: 0.9em;
	padding: 0;
	margin: 0;
	background-color: #eee;
	background-image:url(../img/background.jpg);
	background-repeat: repeat-y;
	background-size: 100%;
}

h1, h2, h3, h4 {
	margin: 0;
	color : 0;
}

p {
	margin : 0;
	padding: 0;
}


a, a:link, a:visited, a:active {
	color: #FFF;
}

a: hover {
	color: #94542e;
}

main, footer {
	font-size:0.45em;
}


main {
	padding: 0;
	width: calc(100% - 6em);
	position: fixed;
	top: 3em;
	left: 3em;
	background-color: rgba(58, 54, 36, 0.1); /* #3a3624 */
	
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display:block;	
}

main h1 {
	color: #3a3624;
	font-size: 2em;
	margin-bottom: 1em;
}

main section {
	opacity: 1;
	position: relative;
	left: 25%;
	width: calc(75% - 1.5em);
	margin-top: 1.5em;
}

main p {
	font-size: 0.9em;
	line-height: 1.9em;
	text-align: justify;
	-ms-word-break: break-word;
	-webkit-word-break: break-word;
	-moz-word-break: break-word;
	-o-word-break: break-word;
    word-break: break-word;

	-ms-hyphens: auto;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-o-hyphens: auto;
    hyphens: auto;
	
	word-wrap: break-word;
}

main p span{
	
	background-color: rgba(255, 255, 255, 0.5);
	color: #3a3624;
	padding: 0.15em 0;
	font-weight: lighter;
}

main p span a, main p span a:link, main p span a:visited, main p span a:active {
	color: #3a3624;
	font-weight: normal;
}

main p span a:hover {
	color: #5a6338;
}

main nav {
	font-size: 0.9em;
	position : relative;
	right: 100%;
	text-align: right;
	margin-top: 3em;
}

main li {
	padding: 0.3em 0;
	position: relative;
}

main li a {
	display: inline-block;
	background-color: rgba(58, 54, 36, 0.7);
	color: #fff;
	padding: 0 1em;
}

main li a:hover {
	color: #959d62;
}

main ul {
	line-height: 1.6em;
}

footer {
	text-align: left;
	width: 100%;
	position: fixed;
	top: calc(100% - 3em);
	left: 0em;
	padding: 0;
	margin: 0;
}

footer p {
	font-size: 0.8em;
	display: inline-block;
	background-color: rgba(236, 229, 201, 0.5);
	color: #3a3624;
	padding: 0.1em 1em;
	position: relative;
	top: 0.5em;
	left : calc(25% + 2em);
	font-weight: lighter;
}

footer p a, footer p a:link, footer p a:visited, footer p a:active {
	color: #3a3624;
	font-weight: normal;
}

footer p a:hover {
	color: #5a6338;
}

#main_background {
	font-size:0.5em;
	display: inline-block;
	padding: 0;
	width: calc(100% - 6em);
	position: fixed;
	top: 3em;
	left: 3em;
	background-color: #eee;
	background-image:url(../img/background.jpg);
	background-repeat: repeat-y;
	background-size: calc(100% + 6em);
	background-position: top -3em left -3em;
	-webkit-filter: blur(5px);
	-moz-filter: blur(5px);
	-o-filter: blur(5px);
	-ms-filter: blur(5px);
	filer: blur(5px);
}

@media (max-aspect-ratio: 1/1) {
	main, footer {
		font-size:1em;
	}
	
	main {
		width: calc(100% - 3em);
		top: 1.5em;
		left: 1.5em;
	}
	
	main section {
		left: 1.5em;
		width: calc(100% - 3em);
	}
	
	main h1 {
		text-align: center;
	}
	
	main nav {
		right: auto;
		text-align: center;
		left: 0;
	}
	
	footer {
		top: calc(100% - 1.5em);
		text-align: center;
	}
	
	footer p {
		left: 0;
	}
}
