* {
    font-family: Arial, Helvetica, sans-serif;  
}
a {
    text-decoration: none;
}
html, body {
	height:100%;
}
body {
	width: 100%;
	background: #000000;
	overflow: hidden;
}
#header{
	position: absolute;
	z-index: 2000;
}
.content{
	right: 40px;
	left: 7.25%;/*280px;*/
	top: 3em;
	position: absolute;
	padding-bottom: 30px;
    color: #CCC;
}
.content h2{
	font-size: 50px;
    margin-top: 70px;
    margin-bottom: 0;
}
.content p{
	font-size: 12px;
	display: block;
    max-width: 30%;
}
.panel{
	min-width: 100%;
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	position: absolute;
	margin-top: -150%;
	opacity: 0;
	z-index:2;
	-webkit-transition: opacity .6s ease-in-out;
	-moz-transition: opacity .6s ease-in-out;
	-o-transition: opacity .6s ease-in-out;
	-ms-transition: opacity .6s ease-in-out;
	transition: opacity .6s ease-in-out;
}
.panel:target{
	opacity: 1;
	margin-top: 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: #000;*/
	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;
}
#logotype{
    margin-top: 0.5em;
	clear: none;
	float: left;
	display: block;
	position: fixed;
	margin-left: 6%;
	z-index: 999999;
}
.imglogo:hover{
    opacity:1;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
    -webkit-transform:rotateX(900deg);
    -moz-transform:rotateX(900deg);
    -o-transform:rotateX(190deg);
}    
.imglogo {
    opacity:1;
    -webkit-filter: none;
    filter: none;
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    transition-property: transform;
    overflow:hidden;
}
#nav {	
    z-index:999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 35px;
    padding-top: 15px;
    /* Adds shadow to the bottom of the bar */
    -webkit-box-shadow: 0px 0px 8px 0px #000000;
    -moz-box-shadow: 0px 0px 8px 0px #000000;
    box-shadow: 0px 0px 8px 0px #000000;
    /* Adds the transparent background */
    background-color: rgba(1, 1, 1, 0.75);
    color: rgba(1, 1, 1, 0.75);
    -webkit-transition: height 0.2s linear;
    -moz-transition: height 0.2s linear;
    transition: height: 0.2s linear;
}
#nav a {
    font-size: 14px;
    color: #666666;
    text-decoration: none;
    margin-left:5em;
    clear: none;
    float: left;
    -o-transition:color .2s ease-out, background 1s ease-in;
    -ms-transition:color .2s ease-out, background 1s ease-in;
    -moz-transition:color .2s ease-out, background 1s ease-in;
    -webkit-transition:color .2s ease-out, background 1s ease-in;
    /* ...and now override with proper CSS property */
    transition:color .2s ease-out, background 1s ease-in;
}
#nav a:hover {
	color: #ffffff;
} 
#nav a:first-child{
	margin-left: 16%;
} 
#projectNav {
    /*display: none;*/
    margin-left: 0%;
    margin-top: 3.3em;
    z-index:999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 1em;
    padding-top: 1px;
    /* Adds shadow to the bottom of the bar */
    -webkit-box-shadow: 0px 0px 8px 0px #000000;
    -moz-box-shadow: 0px 0px 8px 0px #000000;
    box-shadow: 0px 0px 8px 0px #000000;
    /* Adds the transparent background */
    background-color: rgba(1, 1, 1, 0.45);
    color: rgba(1, 1, 1, 0.45);
    -webkit-transition: height 0.2s linear;
    -moz-transition: height 0.2s linear;
    transition: height: 0.2s linear;
}
#projectNav a:first-child {
	margin-left: 16%;
}
#projectNav a {
    font-size: 12px;
    color: #666666;
    margin-left:3em;
    clear: none;
    float: left;
    -o-transition:color .2s ease-out, background 1s ease-in;
    -ms-transition:color .2s ease-out, background 1s ease-in;
    -moz-transition:color .2s ease-out, background 1s ease-in;
    -webkit-transition:color .2s ease-out, background 1s ease-in;
    /* ...and now override with proper CSS property */
    transition:color .2s ease-out, background 1s ease-in;
}
#projectNav a:hover {
	color: #ffffff;
} 

video { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
    /*background: url('') no-repeat;*/
    background-size: cover;
    transition: 1s opacity;
}

#home-icons {
    margin-left: 5em;
    margin-top: 25em;
}
.home-icon {
    padding: 1em;
    height: 20%;
    width: 20%;
    filter: grayscale(100%);
}
.home-icon:hover {
    filter: none;
}

