@-moz-viewport { width: device-width; scale: 1;}
@-ms-viewport { width: device-width; scale: 1;}
@-webkit-viewport { width: device-width; scale: 1;}
@-o-viewport { width: device-width; scale: 1;}
@viewport { width: device-width; scale: 1;}

html{
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	-o-text-size-adjust: 100%;
	text-size-adjust: 100%;
	font-family: 'Source Sans Pro', sans-serif;
	background-color: rgba(255,255,255,1.00);
}

body {
	margin: 0;
}

h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, dd, figure,
blockquote, details, hr,
fieldset, pre, table {
  margin: 0;
  font-weight: 300;
}

ul {
	list-style-type:none;
	padding: 0;
}

/*-------------------------404 SECTION-------------------------*/

.error {
	text-align: center;
	display: block;
	margin: auto;
	padding: 22em 3em 26em;
}

.error h2 {
	font-weight: 100; 
	font-size: 1em;
	color: rgba(7,7,7,1.00);
	font-family: 'Source Sans Pro', sans-serif;
	padding-top: 3em;
	letter-spacing: 2px;
}

.error img {
	margin: auto;
	max-width: 600px;
}


.error a {
	color: rgba(7,7,7,.5);
}


.error a:visited {
	color: rgba(7,7,7,1.00);
}

.error a:hover {
	color: rgba(7,7,7,1.00);
}

/*-------------------------LOGO SECTION-------------------------*/

.logo {
	position: fixed;
	width: 100%;
	height: 30em;
	z-index: 200;
	top: 0em;
	background: linear-gradient(rgba((0,0,0,.2)), rgba(0,0,0,0));
}

.logo img {
	display: block;
	margin: auto;
	width: 70px;
	float: right;
	opacity: 1;
	padding-top: 3.5em;
	padding-right: 2.5em;
	z-index: 500;
	
}

.logo img:hover {
	opacity: .25;
	transition: opacity 500ms ease-in;
	-moz-transition: opacity 500ms ease-in;
	-webkit-transition: opacity 500ms ease-in;
	-ms-transition: opacity 500ms ease-in;
	-o-transition: opacity 500ms ease-in;
}

/*-------------------------NAVIGATION SECTION-------------------------*/

.top {
	z-index: 2000;
}

.hide-text {
	display: block;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}

.nav a {
  text-decoration: none;
  color: rgba(255,255,255,1.00);
  text-align: center;
  transition: color 0.8s ease;
  font-size: .8em;
  letter-spacing: 6px;
  font-family: 'Source Sans Pro', sans-serif;
  margin: 0em;
  transition: margin .5s ease-in-out;
  -webkit-transition: margin .5s ease-in-out;
  -moz-transition: margin .5s ease-in-out;
  -ms-transition: margin .5s ease-in-out;
  -o-transition: margin .5s ease-in-out;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
}

.nav a:hover {
  margin: 0em 0em 0em .75em;
  font-weight: 600;
}

#nav li {
  margin: 0 0 0 .37em;
  padding: .75em 0 .5em 2em;
}

#menuToggle {
  display: block;
  position: fixed;
  top: 65px;
  left: 14px;
  width: 100%;
  z-index: 300;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
  -moz-touch-callout: none;
  -ms-touch-callout: none;
  -o-touch-callout: none;
  touch-callout: none;
}

/*
 * Just a quick hamburger
 */
 
#menuToggle span
{
  display: block;
  width: 20px;
  height: 1px;
  margin-bottom: 5px;
  position: relative;

  background-color: rgba(7,7,7,.8);
  border-radius: 3px;
  
  z-index: 1;
  
  transition: transform 0.8s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.8s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.8s ease;
}

#menuToggle span:first-child
{
  transform:rotate(0deg) translate(0px, 0px);
}

#menuToggle span:nth-last-child(2)
{
  transform:rotate(0deg) translate(0px, 0px);
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(495deg) translate(2px, -2px);
  background: rgba(255,255,255,1.00);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-315deg) translate(-2.75px, -2.75px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#nav
{
  width: 100%;
  margin: -100px 0 0 -55px;
  padding: 15px;
  padding-left: 48px;
  padding-top: 130px;
  padding-bottom: 300px;
  
  background: linear-gradient(rgba(7,7,7,.75), rgba(7,7,7,0));
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul {
  transform: none;
}

/*-------------------------BIO SECTION-------------------------*/

.home {
	text-align: centre;
	padding: 10em 4em 4em;
	letter-spacing: 2px;
	-webkit-column-count: 2;
	-webkit-column-gap: 0px;
	-moz-column-count: 2;
	-moz-column-gap: 0px;
	column-count: 2;
	column-gap: 0px;
}

.home img {
	width: 100%;
	margin: auto;
}

.home h1 {
	font-weight: 100;
	padding-top: 1.75em;
	padding-bottom: .5em;
	font-weight: 300;
	font-size: .9em;
}

.home p {
	margin: auto;
	font-size: .9em;
	line-height: 1.5em;
	padding: 0em 1em;
}

/*-------------------------PORTFOLIO SECTION-------------------------*/

.portfolio {
	text-align: center;
	line-height: 0;
	-webkit-column-count: 2;
	-webkit-column-gap: 0px;
	-moz-column-count: 2;
	-moz-column-gap: 0px;
	column-count: 2;
	column-gap: 0px;
	padding: 9em 1.5em 0em;
}

.portfolio img {
	width: 100%;
}

.work li {
	padding: 0em 0em 1.5em;
}

/*-------------------------BIO SECTION-------------------------*/

.bio {
	text-align: centre;
	padding: 8em 1.5em 4em;
	letter-spacing: 2px;
	-webkit-column-count: 2;
	-webkit-column-gap: 0px;
	-moz-column-count: 2;
	-moz-column-gap: 0px;
	column-count: 2;
	column-gap: 0px;
}

.bio img {
	width: 100%;
	margin: auto;
}

.bio h1, .contact h1 {
	font-weight: 100;
	padding-top: 1.75em;
	padding-bottom: .5em;
	font-weight: 300;
	font-size: .9em;
}

.bio p, .contact p {
	margin: auto;
	font-size: .9em;
	line-height: 1.5em;
	padding: 0em 1em;
}

.location {
	padding-bottom: 1.5em;
}

.info {
	text-align: center;
	padding-top: 1em;
}

.contact {
	text-align: center;
	letter-spacing: 2px;
	background-color: rgba(0,0,0,1.00);
	padding: .5em 0 2em;
	color: white;
	margin: 2em 4em;
}

/*-------------------------FOOTER SECTION-------------------------*/

.footer-social {
	text-align: center;
	padding: 8em 0 2.5em;
	background-color: rgba(255,255,255,1.00);
}
.footer-social img {
	opacity: 1;
	padding: 1em 0 1em;
}

.footer-social img:hover {
	opacity: .5;
	transition: opacity 500ms ease-in;
	-moz-transition: opacity 500ms ease-in;
	-webkit-transition: opacity 500ms ease-in;
	-ms-transition: opacity 500ms ease-in;
	-o-transition: opacity 500ms ease-in;
}

.footer-social h1 {
	padding: .75em 0;
	font-weight: 100;
	font-style: italic;
	font-size: 1.5em;
}

.footer-social h4 {
	font-size: 1em;
	padding: .25em 0;
	font-weight: 300;
}

.footer-social h5 {
	font-size: .9em;
	font-weight: 300;
}

.footer-social p {
	font-size: .75em;
	padding: 0em 0em 2em;
	background-color: rgba(255,255,255,0);
	color: rgba(7,7,7,1.00);
	letter-spacing: 3px;
}

/*-------------------------SOCIAL LINKS SECTION-------------------------*/

.social {
	width: 100%;
}

.social li {
	display: inline-block;
}

.social li a,
.social li a:link,
.social li a:visited {
	display: inline-block;
	width: 30px;
}

.social li a:hover,
.social li a:active,
.social li a:focus {
	color: rgba(7,7,7,.5);
	transition: color 500ms ease-in;
	-webkit-transition: color 500ms ease-in;
	-moz-transition: color 500ms ease-in;
	-webkit-transition: color 500ms ease-in;
	-o-transition: color 500ms ease-in;
}

/*-------------------------GRID-------------------------*/

.grid {
	overflow: hidden;
}

.unit {
	float: left;
}

.unit-s-1 {
	width: 100%;
}

@media only screen and (min-width: 100em) {
	.contact {
		margin: 8em 10em;
	}
}

@media only screen and (min-width: 50em) {
	.work li{
		text-align: center;
		padding: 0em 2em 4em;
	}
	.logo img {
		padding-right: 6em;
	}
	#menuToggle {
		left: 47px;
	}
	.nav a:hover {
		margin: 0em 0em 0em .75em;
	}
	.bio {
		padding: 8em 3.5em 6em;
	}
	#nav li {
		margin: 0 0 0 .87em;
	}
	.portfolio {
		padding: 9em 1.5em 0em;
	}
	#nav {
	padding-top: 150px;
	}
}
@media only screen and (min-width: 70em) {
	.bio {
		padding: 15em 4em 10em;
	}
	.bio img {
		max-width: 500px;
		float: right;
	}
	.bio h1, .bio p {
		padding-left: 2em;
	}
	.info {
		text-align: left;
	}
}

@media (max-width: 4500px) {
  .portfolio, .bio {
  -moz-column-count:    2;
  -webkit-column-count: 2;
  column-count:         2;
  }
}

@media (max-width: 800px) {
  .portfolio {
  -moz-column-count:    1;
  -webkit-column-count: 1;
  column-count:         1;
  }
}
	
@media (max-width: 1120px) {
  .bio {
  -moz-column-count:    1;
  -webkit-column-count: 1;
  column-count:         1;
  }
}





