html, body {
	height:100%;
}
body {
	width: 100%;
	background: url('../images/bg.jpg') no-repeat #fff;
	background-size: cover;
	background-position: 50% 25%;
	overflow-x: hidden;
	overflow-y: auto;
}
#header{
	position: absolute;
	z-index: 2000;
	width: 235px;
	top: 50px;
}
#header .logo {
	padding: 0 0 0 5px;
	text-align: center;
}
#header h1{
	font-size: 30px;
	font-weight: 400;
	text-transform: uppercase;
	color: rgba(255,255,255,0.9);
	text-shadow: 0px 1px 1px rgba(0,0,0,0.3);
	padding: 20px;
	background: #000;
}

.languages {
text-align: center;
padding: 15px 0 0 0;
}

.languages a {
	margin: 0 5px;
	color: #5b5b5b;
}

.languages a:hover {
	color: #e31f23;
}

.languages a.active {
	color: #e31f23;
}

#navigation {
	margin-top: 20px;
	width: 235px;
	display:block;
	list-style:none;
	z-index:3;
}
#navigation a{
	color: #fff;
	display: block;
	background: #e31e24;
	line-height: 50px;
	padding: 0px 20px;
	text-transform: uppercase;
	margin-bottom: 6px;
	box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
	font-size: 14px;
}
#navigation a:hover {
	background: #5b5b5b;
}

.footer {
	color: #616161;
	padding: 40px 0 0 5px;
	text-align: center;
	font-size: 12px;
}
.footer a:hover {
	text-decoration: underline;
	color: #404040;
}
.footer .a {
	color: #404040;
}
.footer .b {
	color: #969e3a;
}
.content{
	right: 40px;
	left: 280px;
	top: 20px;
	position: absolute;
	padding: 20px 20px;
	background: #e31e24;
	border-radius: 5px;
	opacity: 0.9;
	
}
.content h2{
	font-size: 100px;
	padding: 0px 0px 20px 0px;
	color: #fff;
	color: rgba(255,255,255,0.9);
	text-shadow: 0px 1px 1px rgba(0,0,0,0.3);
}
.content p{
	font-size: 18px;
	line-height: 33px;
	color: #fff;
	display: inline-block;
	background: #5b5b5b;
	width: 98%;
	padding: 10px;
	text-align: justify;
}

.content p .pull-left {
	float: left;
	width: 55%;
}
.content p .pull-right {
	float: right;
	width: 45%;
}
.content iframe {
	border: 3px solid #e31e24;
	border-radius: 3px;
}
.panel{
	width: 100%;
	min-height: 100%;
	position: absolute;
	margin-left: -102%;
	z-index:2;
	-webkit-transition: all .6s ease-in-out;
	-moz-transition: all .6s ease-in-out;
	-o-transition: all .6s ease-in-out;
	-ms-transition: all .6s ease-in-out;
	transition: all .6s ease-in-out;
}
.panel:target{
	margin-left: 0%;
	
}
#home:target ~ #header #navigation #link-home,
#portfolio:target ~ #header #navigation #link-portfolio,
#about:target ~ #header #navigation #link-about,
#contact:target ~ #header #navigation #link-contact{
	background: #616161;
	color: #fff;
}
#works {
	padding: 15px 0px;
}
#works li{
	display: inline;
}
#works li a{
	padding-right: 10px;
}
#works img {
	box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
	padding: 12px; 
	background: rgba(255,255,255,0.9);
}
#form p{
	background: #fff;
	color: #000;
}
#form input, #form textarea{
	background: #000;
	color: #fff;
	border: none;
}
#form textarea{
	width: 493px;
	height: 100px;
}
#form label{
	padding-right: 10px;
	float: left;
}
.footnote a{
	color: #ddd;
}