@charset "UTF-8";
/* CSS Document */

		/* Box Model Hack */
		* {
		  -moz-box-sizing: border-box; /* Firexfox */
		  -webkit-box-sizing: border-box; /* Safari/Chrome/iOS/Android */
		  box-sizing: border-box; /* IE */

		}

		html{
			box-sizing: border-box;
			font-size: 62.5%;
			background-color: #f9f8f6;

		}

		*,
		*:before,
		*:after {
		  	box-sizing: inherit;
		}


		@font-face {
	    	font-family: Andale_Mono;
	    	src: local(Andale_Mono), url('Andale_Mono.ttf') format('opentype');
		}

		/* Main structure, navigation and paragraphs */
		/*body *{
			border:1px solid red;
		}*/


		body{
			font-family:Andale_Mono;
			font-size: 1.3rem;
			max-width: 1200px;

		}
		header{
			margin:15px 30px 0 30px;
			height:160px;
		}
		.maincontent{
			margin:20px 30px 300px 30px;
		}

		nav{
			color:#898989;
		}
		nav li{
			display: block;
			float:left;
			margin-right:20px;
		}
		li{
			margin-top:0;
			transition: all 0.2s ease;
		}
		li:hover{
			margin-top:8px;
			
		}
		li.active{
			margin-top:8px;
		}
		h1{
			color:red;
			padding-top:140px;
		}
		hr{
			
			height: 1px;
			color: #cccccc;
			background-color: #cccccc;
			border: none;
		}
		a{
		  text-decoration: none;
		  transition: all 0.5s ease;
		}

		a:link { color: #898989;}
		a:visited { color: #898989;}
		a:hover { color: red;}
		a:active { color: red;}

		img{
			vertical-align:top;
			margin-right:15px;
			margin-bottom: 30px;
			max-width: 100%;
			}

		p{
			line-height: 1.8rem;
			margin-bottom: 10px;
		}

		/* Other classes */
		
		.contact{
			float:right;
			margin-right: 0;
		}

		.work-desc{
			max-width: 500px;
		}
		.last{
			margin-bottom:30px;
		}
		
		.img_last{
			margin-bottom:70px;
		}

		.block{
			display:block;
		}

		.webshadow{
			-webkit-box-shadow: 2px 2px 6px 2px #ccc;   /*Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
			-moz-box-shadow:    2px 2px 6px 2px #ccc;  /* Firefox 3.5 - 3.6 */
			box-shadow:         2px 2px 6px 2px #ccc;  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
		}
		.menu{
			display: none;
		}
		embed{
			margin:0 30px 35px 0;
			vertical-align: top;
		}


		@media screen and (max-width: 768px){
			
			/*hidden navigation */
		
		.maincontent{
			margin:20px 10px 300px 10px;
		}
		header{
			margin:15px 10px 0 10px;
			height:160px;
			
		}
		nav{
			position: absolute;
			width:100%;
		}

		nav li{
			display: block;
			float:none;
			margin-right:0;
			padding-bottom: 10px;
		}
		li:hover{
			margin-top:0;
			
		}
		li.active{
			margin-top:0;
		}
		.menu{
			display: block;
			text-transform: uppercase;
		}
		.hide{
			position:absolute;
			left:-500px;
			top:auto;
			width:1px;
			height:1px;
			overflow:hidden;
		}
		.contact{
			margin-right:20px;
		}

		}



	