* {
	box-sizing: border-box;
	font-family: raleway;
}
div.header {
	background-image: url('/images/headers/1.jpg');
	background-size: cover;
	background-position: center;
	color: #fff;
	padding: 10px 0 20px 0;
	background-color: #333;
}
nav li:hover {
	cursor: pointer;
}
a:visited {
	color:#fff;
}
nav {
    padding: 2px 0;
	max-width: 1000px;
	margin: auto;
	font-size: 1.4rem;
}
div.header nav {
	border-bottom: solid 1px #fff;
}
nav * {
	display: inline-block;
	font-weight: 200;
}
h1.logo {
	width: 100%;
	padding: 0 5px;
}
h1.logo > a {
	display: inline-block;
	width: 100%;
}
h1.logo span:first-of-type {
	width: 13%;
	padding-left: 5px;
}
h1.logo span:nth-of-type(2) {
	width: 85%;
	text-align: right;
}
nav li {
	margin: 0px;
}
nav li {
	display: none;
}
nav ul {
	text-align: right;
}
nav hr {
	width: 100%;
}
nav img.logo {
	height: 30px;
}
div#hero {
	text-align: center;
}
div#hero img {
	width: 77%;
	max-width: 434px;
    margin: 59px auto 7px auto;
}
div#hero li:hover {
	border: solid 2px #fff;
	transition: .4s;
}
a {
	color: #fff;
}
p a {
	color: blue;
}
p a:visited {
	color: purple;
}
.align-right {
	text-align: right;
}
h2 {
	font-size: 1.4rem;
	width: 77%;
	margin:  auto;
	line-height: 1.4;
	font-weight: 200;
}
div#hero h4 {
	font-size: 1.2rem;
	letter-spacing: 3px;
	text-transform: uppercase;
	font-weight: 300;
	margin: 23px 0 10px 0;
}
div#hero li {
	border: solid 2px #333;
	background-color: #F4F4F4;
	border-radius: 8px;
	width: 60%;
	color: #333;
	margin: 10px auto;
	font-size: 1.1rem;
}
div#hero li a {
	color: #333;
	display: block;
	padding: 9px 0;
}
h3 {
	width: 95%;
	margin: 10px auto;
	font-size: 1.4rem;
	line-height: 1.2;
	text-align: left;
}
h3 small {
	display: block; 
	font-size: 1rem;
}
section { 
	text-align: left; 
	width: 90%;
	margin: 15px auto;
}
h4 { 
	font-weight: 400;
	font-size: 1.4rem;
	line-height: 1.5;
}
p { 
	line-height: 1.5;
	font-size: 1rem;
	font-weight: 300;
	margin-bottom: 5px;
}
pre {
    white-space: pre-wrap;       /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
}
span.half {
	width: 50%;
}
span.half:nth-of-type(2){
	text-align: right;
}
span.code {
	display: block;
	padding-left: 20px;
}
code {
	font-size:.8rem;
	line-height: 1.5;
    font-family: monospace;
}
code > span.code:first-of-type {
	padding-left: 0;
}
@media screen and (min-width: 700px){
	div.header {
		padding: 100px 0 50px 0;
	}
	ul.tools {
		margin: 10px 5px;
		display: inline-block;
		vertical-align: top;
		width: 300px;
	}
	h1.logo span:first-of-type {
		width: 50%;
	}
	h1.logo span:nth-of-type(2) {
		width: 50%;
		text-align: right;
	}
}
@media screen and (min-width: 1000px){
	ul.tools {
		width: 45%;
	}
	i.fa-bars {
		display: none;
	}
	li#close {
		display: none;
	}
	nav li {
		display: inline-block;
	}
	div#hero img {
		margin: 30px auto 7px auto;
	}
	div#hero {
		background-color: #222;
		padding-bottom: 15px;
		margin-bottom: 50px;
		-webkit-box-shadow: 0 2px 2px 1px rgba(0,0,0,.1);
		box-shadow: 0 2px 2px 1px rgba(0,0,0,.1);
	}
	.half-section {
 		width: 49%;
    	vertical-align: top;
    	display: inline-block;
    	padding: 1% 4%;
	}
	.half-section p:not(:nth-child(n+2)) {
		margin-top: 32px;
	}
	h3 {
		font-size: 1.7rem;
		text-align: center;
	}
	h3 small {
		display: inline-block;
	}
	div#hero li {
    	width: 30%;
    	margin: 0 15px;
    	display: inline-block;
	}
}
ul.goals li {
	margin: 7px 0;
    line-height: 1.5;
}
ul.goals li:before {
	content: '• ';
}
section.colors {
	background-size: cover;
    padding: 17px;
	border: solid 2px #fff;
	-webkit-box-shadow: 1px 1px 0 1px rgba(0,0,0,.1);
	box-shadow: 1px 1px 0 1px rgba(0,0,0,.1);
}
section.colors li {
	margin-bottom: 15px;
}
section.colors li span{
	color: #fff;
	-webkit-box-shadow: 1px 1px 1px 2px rgba(0,0,0,.2);
	box-shadow: 1px 1px 1px 2px rgba(0,0,0,.2);	
	padding: 1px 5px;
	font-size: 1.4rem;
	font-weight: 200;
}
section.colors p {
	margin-top: 10px;
}
section.colors li:last-of-type span {
	color: #222;
}
div.project div.header h3 {
	color: #fff;
	font-size: 2rem;
    text-align: center;
    font-weight: 300;
}
div.project div.header h3 small {
	font-size: 1.4rem;
	line-height: 1.8;
    font-weight: 200;
}
ul#projects > li {
	text-align: center;
    margin: 15px auto 40px auto;
    max-width: 1000px;
}
ul#projects > li img {
	width: unset;
    max-height: 200px;
    margin: 5px auto;
}
img.brand {
	width: 100%;
}
ul#apps {
	text-align: center;
    font-weight: 200;
}
ul#apps li {
    display: inline-block;
    border: solid 2px #fff;
    border-radius: 3px;
    font-size: 1.4rem;
    background-color: rgba(0,0,0,.5);
    padding: 11px;
    margin: 0 7px;
    min-width: 54px;
    vertical-align: middle;
}
ul#languages {
	text-align: center;
	line-height: 1.5;
	padding: 15px 0 0 0;
}
ul#languages li {
	display: inline;
	font-weight: 200;
	font-size: 1.4rem;
}
ul#languages li:not(:last-of-type):after {
	content:' •';
}
div#tour section:nth-child(even){
	background-color: #333;
	color: #fff;
	margin: 0;
	padding: 1% 4%;
	width: 100%;
}
ul.source-code {
	color: #ddd;
	max-height:320px;
	overflow: hidden;
	margin-bottom: 20px;
	position: relative;
}
h5.view-source-code {
	position: absolute;
	bottom: 0px;
	background-color: rgba(51,51,51,.9);
	width: 100%;
	-webkit-box-shadow: 0 -5px 3px 0 rgba(51,51,51,.9);
	box-shadow: 0 -5px 3px 0 rgba(51,51,51,.9);
	text-align: center;
}
h5.view-source-code:hover {
	cursor: pointer;
}
ul.source-code h4{
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 200;
	text-align: center;
	color: #fff;
	margin-top: 20px;
}
ul.source-code h5 {
	border-bottom: solid 1px #fff;
	font-weight: 200;
}
ul.source-code li {
	margin-bottom: 30px;
}
div#tour {
	position: relative;
	z-index: 0;
	margin: 41px 0 0 0;
}
div#tour section:nth-child(even) p{
	font-size: 1rem;
}
div#tour h3 {
	font-weight: 200; 
	letter-spacing: 2px;
    margin: 10px 0 24px 0;
	text-align: left;
}
div#tour img {
	max-height: 266px;
	max-width: 100%;
	display: block;
    margin: auto;
}
div#tour img.iphone {
	max-height: 337px;
    display: block;
    margin: 15px auto;
}
div#tour section:nth-child(odd){
	background-color: #fff;
}
section.conclusion {
	position: relative;
	z-index: 1;
	width: 100%;
	margin: 0;    
	padding: 0 20px;
	-webkit-box-shadow: 0 -2px 4px 1px rgba(0,0,0,.1);
    box-shadow: 0 -2px 4px 1px rgba(0,0,0,.1);
	background-color: #fff;
}
div.header a.project-link {
    color: #333;
    padding: 3px 10px;
    display: inline-block;
    border-radius: 4px;
    -webkit-box-shadow: 0 0 1px 1px rgba(0,0,0,.1);
    box-shadow: 0 0 1px 1px rgba(0,0,0,.1);
	margin: 13px auto;
	width: 150px;
	text-align: center;
    display: block;
}
ol.source-code-list {
	list-style-type: decimal;
}
ol.source-code-list li::marker {
	color: plum;
}
ol.source-code-list li {
	font-size: .6rem;
	font-family: roboto;
    list-style-type: decimal;
    overflow: visible;
    margin: 0 0 0 29px;
    line-height: 2.2;
    letter-spacing: 1px;
}
ol.source-code-list li code {
	font-size: .5rem;
}
@media screen and (min-width: 1000px){
	ul.tools {
    	display: inline-block;
    	vertical-align: top;
    	margin: 0 14px;
	}
	div.tour-section-container {
		position: relative;
		text-align: right;
		background-color: #fff;
		min-height: 442px;
		-webkit-box-shadow: 0 -2px 4px 1px rgba(0,0,0,.1);
		box-shadow: 0 -2px 4px 1px rgba(0,0,0,.1);
	}
	div#tour section:nth-child(odd){
		position: absolute;
		top: 0;
		left: 0;
		width: 50%;
		padding: 1% 4% 0% 4%;
	}
	div#tour section:nth-child(odd) p {
	    margin: 0 30px;
	}
	div#tour section:nth-child(even){
		width: 50%;
		min-height: 100vh;
		display:inline-block;
	}
	ul.source-code {
		max-height: 500px;
	}
}
@media screen and (min-width: 1200px){
	div#tour img,
	div#tour img.iphone {
		margin: 25px auto;
	}
}