/*=========================================
Reset
=========================================== */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0} 
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }


body {
	font:16px/1 "Helvetica Neue",Helvetica,Arial,sans-serif;
	-webkit-font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
	height: 100%;
	color:#777;
	background-color: white;
}

p {
	line-height:1.8;
}

strong {
	font-weight: 600;
}

a {
	text-decoration:none;
	color: #1081de;
}

a:hover {
	text-decoration:underline;
}

#content {
	width: 550px;
	height: 100%;
	margin-left: 150px;
	margin-bottom: 40px;
}

#content h1 {
	font-family: "freight-sans-pro";
	font-size: 34px;
	font-weight: 500;
	color: #111;
	line-height: 45px;
	margin-bottom: 40px;
	margin-top: 120px;

}

h3 {
	font-family: "freight-sans-pro";
	font-size: 28px;
	font-weight: 500;
	color: #1081de;
}

h4 {
	font-family: "freight-sans-pro";
	font-size: 21px;
	font-weight: 300;
	color: #999;
	margin-bottom: 10px;

}

.active {
	font-weight: 600;
	color: #666;
}

.about {
	margin-top: 120px;
	margin-bottom: 70px;
}

ul {
	list-style-type: none;
	font-family: "freight-sans-pro";
	font-size: 18px;
	font-weight: 500;
	margin-top: 25px;
	display: block;
}

li {
	display: inline-block;
	margin-right: 50px;
}

li a {
	color: #999;
}

li a:hover {
	text-decoration:underline;
	color: #1081de;
}

p {
  font-family: "ff-tisa-web-pro";
  font-size: 21px;
  line-height: 34px;
  color: #666;
  margin-bottom: 30px;
}

.projects {
  font-family: "ff-tisa-web-pro";
  font-size: 18px;
  line-height: 27px;
  color: #666;
  margin-bottom: 30px;
  margin-top: 120px;
}

.projects li {
	margin-bottom: 25px;
	margin-right: 0px;
}

.projects li a {
		color: #1081de;
		font-weight: 500;
}

.work  {
  font-size: 18px;
  line-height: 27px;
  margin-bottom: 50px;
}


#profile {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	right: 0;
	z-index: -1;
}

#profilepic {
	background-size: cover;
	height: 100%;
	position: relative;
	width: 100%;
	background-image: url('../images/me.jpg');
	background-position: right -500px center;
	background-repeat: no-repeat;
}
/*=========================================
Can haz media queries?!
=========================================== */
@media only screen and (max-width: 1400px) {
	#profilepic {
		background-position: right -600px center;
	}
}

@media only screen and (max-width: 1200px) {
	#profilepic {
		background-position: right -750px center;
	}
@media only screen and (max-width: 1100px) {
	#profilepic {
		background-position: right -750px center;
	}
	#content {
		margin-left: 50px;
		text-shadow: 0px 1px 0px white;
	}
@media only screen and (max-width: 640px) {
	#profile {
		width: 100%;
		height: 300px;
		position: relative;
		top: 0;
		right: 0;
		z-index: -1;
	}

	#profilepic {
		background-size: cover;
		height: 100%;
		width: 100%;
		background-image: url('../images/me.jpg');
		background-position: center center;
		background-repeat: no-repeat;
	}

	#content {
		width: 100%;
		padding: 10%;
		margin: 0px;
	}

	ul {
		margin-top: 0px;
		text-align: center;
	}

	li {
		width: 40%;
		margin: 0px;
	}

	.about, #content h1, .projects {
		margin-top: 50px;
	}

	#content h1 {
		font-size: 24px;
		line-height: 34px;
	}

	.projects li {
		width: 100%;
		text-align: left;
	}
}
