/*----- RESET ----*/
*{
	padding: 0;
	margin: 0;
}

@font-face {
    font-family: 'colaboratelightregular';
    src: url('fonts/ColabLig-webfont.eot');
    src: url('fonts/ColabLig-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/ColabLig-webfont.woff') format('woff'),
         url('fonts/ColabLig-webfont.ttf') format('truetype'),
         url('fonts/ColabLig-webfont.svg#colaboratelightregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/*----- MAIN -----*/
html{
	font-size: 62.5%;	
}
body {
	font-size: 16px;
	font-size: 1.6rem;
	font-family: menlo, courier new, courier;
	background: #EBEBEB;
	color: #666;
}  
html, body{
    width:100%;
}
.wrapper {
	padding: 0 30px;
	margin: 0 auto;
}

footer .wrapper{
	padding: 0 0 0 30px;
}

.home footer .wrapper{
	padding: 0 0 0 60px;
}


.header{
	padding: 0 60px;
}

footer .left{
	margin: 0 60px 0 0;
}

/*----- FONTS ----*/
h1, h2, h3, h4, h5, h6 {
	margin-bottom: 14px;
}

/*
  A page without paragraphs would be pretty unusual. Let’s make
  sure the p element is included. This, too, may be redefined
  throughout the document  as needed, if needed.
*/
p {
	margin-bottom: 14px;
	line-height: 18px;
}
a {
	text-decoration: none;
	color: #A82F5E;
	font-weight: bold;
}
a:hover, a:focus, a:active {
	text-decoration: underline;
}

/*----- DEFENITION ELEMENTS ------*/
.header em {
	color: #666;
	opacity: 0.4;
	font-size: 11px;
	font-style: normal;
}

em {
	color: orange;
	font-size: 11px;
	font-style: normal;
}

/*----- LAYOUT -----*/
header{
	border-bottom: 1px solid #FFFFFF;
    height: 40px;
    margin-bottom: 35px;
    padding-top: 23px;
    position: fixed;
    left: 0;
    top: 0;
    background: #EBEBEB;
    width: 100%;
}
header a{ 
	color: #666;
	font-weight: normal;
	text-decoration: none;
}
nav {
	float: right;
}
.firstname{
	color: #A82F5E !important;
}
.firstname:hover, .lastname:hover{
	text-decoration: none !important;
}
.content{
	margin-top: 98px;
	margin-bottom: 35px;
	float: left;
}
.project{
	float: left;
}
article{
	max-width: 350px;
	font-size: 12px;
	line-height: 17px;
	margin: 15px 30px; 
	min-height: 390px;
}

.home article{
	background: #fff;
	box-shadow: 5px 5px #A5A5A5;
    max-width: 28.9%;
    min-height: 419px;
}

.home article canvas{
	height: 100%;
	width: 100%;
	margin: 0;
}

.project h1{
	padding: 0 15px 0;
}

.home article p{
	margin: 15px;
	font-size: 11px;
}

.project h1 a{
	color: #666;
	text-decoration: none;
	line-height: 24px;
}

.project h1 a:hover{
	color: #666;
	text-decoration: none !important;
}

article h1{
	margin: 15px 0;
}
.assignment article{
	max-width: 730px;
	opacity: 1;
}
article img{
	width: 100%;
	height: 100%;
}
.assignment article p{
}
ul, ol{	
	margin-left: 25px;
}
figcaption{
	font-size: 11px;
	max-width: 700px;
	margin-bottom: 30px;
}
footer{
	margin-bottom: 35px;
	width: 100%;
	float: left;
	margin-top: 30px;
}
footer h3{
	font-size: 21px;
	margin-bottom: 12px;
}

footer ul{
	list-style: none;
	font-size: 12px;
	margin-right: 40px;
	margin-left: 0;
	max-width: 180px;
}
footer a{
	color: #666;
	font-weight: normal;
}

.left{
	float: left;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	margin: 20px 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

pre{
	background: #333;
	padding: 20px;
	color: #fff;
	margin-bottom: 20px;
}

canvas{
	margin: 40px 0 -5px 0;
}

@media all and (max-width: 960px){ 
 		
 		article {
		width: 100% !important;
		max-width: 900px !important;
		margin: 30px 0 !important;
		}
		
		.firstname{
			margin-left: 25px;
		}
		
		.assignment article p{
			max-width: 900px;
			width: 100%;
		}
		
		nav{
			margin-right: 25px;
		}
}
