/*=================================*/
/* Pico Custom Theme
/* By: Ward Slager
/*=================================*/

:root {
	--theme-color1: #0af;
	--theme-color2: #222;
	--theme-dark1: #111;
	--theme-dark2: #151515;
	--theme-dark3: #245;
	--theme-darktext: #556;
}

/* Reset Styles
/*---------------------------------------------*/
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, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

body {
	line-height: 1;
	color: black;
	background: white;
	overflow-y: scroll;
}

.p5Canvas {
	/*position: relative;*/
	z-index: -3 !important;
	background: var(--theme-dark2);
	/*background-image: url("header.png");*/
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}

blockquote, q {
	quotes: "" "";
}

hr {
	border: solid 1px var(--theme-color2);
	margin: 20px auto;
}

.article-break {
	border: solid 2px var(--theme-color2);
	margin: 20px auto;
}

/* HTML5 tags */
header, section, footer,
aside, nav, article, figure {
	display: block;
}

/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button {
	cursor: pointer;
}

/* make buttons play nice in IE:
	 www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {
	width: auto;
	overflow: visible;
}

/* Sharper Thumbnails */
img {
	-ms-interpolation-mode: bicubic;
}

.empty img {
	width: 100% !important;
}

.inner img {
	width: 33%;
}



/* Input Styles
/*---------------------------------------------*/
input,
textarea,
select {
	padding: 5px;
	font: 400 1em Verdana, Sans-serif;
	color: #666;
	background: #fff;
	border: 1px solid #999999;
	margin: 0 0 1em 0;
}

input:focus,
textarea:focus,
select:focus {
	color: #000;
	background: #fff;
	border: 1px solid #666666;
}

/* Main Styles
/*---------------------------------------------*/
html { height: 100%; }

body {
	font: 16px/1.5em LatoLatinWeb, Helvetica, Arial, sans-serif;
	color: #ccc;
	background: var(--theme-dark1);
	-webkit-font-smoothing: antialiased;
	display: flex;
	flex-direction: column;
	height: 100%;
}

a, a:visited {
	color: var(--theme-color1);
	text-decoration: none;
	-webkit-ition: all 0.1s linear;
	-moz-transition: all 0.1s linear;
	-ms-transition: all 0.1s linear;
	-o-transition: all 0.1s linear;
	transition: all 0.1s linear;
}

a:hover, a:active {
	color: #fff;
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	/* color: #000; */
	line-height: 1.2em;
	margin-top: 1em;
	margin-bottom: 0.6em;
}

h1 {
	font-size: 2em;
	margin-top: 0em;
}

h2 {
	font-size: 1.7em;
	margin-bottom: 0.2em;
}

h3 {
	font-size: 1.5em;
	margin-top: 1em;
}

h4 {
	font-size: 1.3em;
	margin-top: 1em;
}

p, table, ol, ul, pre, blockquote, dl {
	margin-bottom: 1em;
}

ol, ul {
	padding-left: 30px;
	list-style: square;
	/*list-style-type: '-';*/
}

b, strong {
	font-weight: bold;
	color: #fff;
}

i, em {
	font-style: italic;
}

u {
	text-decoration: underline;
}

abbr, acronym {
	cursor: help;
	border-bottom: 0.1em dotted;
}

td, td img {
	vertical-align: top;
}

td, th {
	border: solid 1px var(--theme-color2);
	padding: 0.25em 0.5em;
}

th {
	font-weight: bold;
	background: var(--theme-color2);
	padding-top: 0.6em;
}

sub {
	vertical-align: sub;
	font-size: smaller;
}

sup {
	vertical-align: super;
	font-size: smaller;
}

code {
	font-family: Lucida Console, Consolas, monospace;
	font-size: 0.8em;
}

pre {
	background: var(--theme-color2);
	color: #eee;
	padding: 10px;
	overflow: auto;
	line-height: normal;
	border-left: 1px solid var(--theme-color1);
}

blockquote {
	font-style: italic;
	margin-left: 15px;
	padding-left: 10px;
	border-left: 1px solid var(--theme-color1);
}

dd {
	margin-left: 2em;
}

/* Structure Styles
/*---------------------------------------------*/
.inner {
	width: 100%;
	max-width: 950px;
	margin: 0 auto;
}

#header {
	padding: 20px 0;
	margin-bottom: 40px;
	border-bottom: solid 5px var(--theme-color2);
}
#header a {
}
#header h1 a,
#header a:hover,
#header .active a {
	color: #fff;
	text-decoration: none;
}
#header h1 {
	margin: 0;
	float: left;
	text-shadow: 0px -2px var(--theme-color2),
	0px -3px var(--theme-color1);
}
#header img {
	margin-top: 5px;
	margin-bottom: 5px;
}
#header nav {
	float: right;
	list-style: none;
	margin: 0;
	padding: 0;
}
#header nav a {
	/*font-weight: bold;*/
	font-size: 20px;
	margin-left: 10px;
	padding: 5px 10px;
	background-color: var(--theme-dark2);
	border: solid 1px var(--theme-dark1);
}
#header nav a:hover {
	border: solid 1px white;
}
#header ul {
	list-style: none;
}
#header li {
	display: inline-block;
	float: left;
}
#content {
	flex: 1 1 auto;
}
#footer {
	background: var(--theme-dark2);
	padding: 20px 0;
	margin-top: 40px;
	border-top: solid 5px var(--theme-color2);
	color: var(--theme-darktext);
}
#footer .social {
	float: right;
	margin: 0 0 0.5em 1em;
	font-size: 200%;
}
 #footer a { color: var(--theme-darktext); } 
 #footer a:hover { color: #fff; }
.date {
	float: right;
	font-size: 0.9em;
	color: var(--theme-darktext);
}
.port {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}
.port-intro {
	margin-left: 5px;
}
.port-item {
	border: solid 2px var(--theme-color2);
	background: var(--theme-dark2);
	margin: 5px;
	padding: 10px;
	flex-grow: 1;
	width: 30%;

	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;

}
.port-item img {

}
.port-item h1 {
	font-size: 1.2em;
	margin-top: 0;
}
.port img {
	width: 100%;
	/*height: 200px;*/
	border: solid 1px var(--theme-color2);
}
.article-content {
	/*border: 1px solid;*/
}
.article-content img {
	width: 49.5%;
	height: auto;
}
#face-right img {
	float: right;
	margin: 10px 0 10px 10px;
	max-width: 400px;
}
.social img {
	width: auto;
	height: 48px;
}

.vimeo {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}

.vimeo iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* CV table styles
/*---------------------------------------------*/





/* Misc Styles
/*---------------------------------------------*/
.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}
.clearfix:after {
	clear: both;
}
.clearfix {
	*zoom: 1;
}

/* Media Queries
/*---------------------------------------------*/

/* Small Devices, Tablets */
@media only screen and (max-width : 1000px) {
	.inner {
		width: 95%;
	}
	.inner img {
		width: 49%;
		max-width: 100%;
	}
	.social img {
		width: auto;
	}
	#header {
		margin-bottom: 40px;
		padding: 0;
	}
	#header h1 {
		float: none;
		font-size: 10vw;
		text-align: center;
		padding: 10px;
	}
	#header img {
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	#header nav {
		float: none;
		padding: 0;
		display: flex;
		justify-content: space-evenly;
		width: 100%;
	}
	#header nav ul {
		padding: 0;
	}
	#header nav li {
		display: block;
		flex-basis: auto;
		padding: 0 2px;
		text-align: center;
	}
	#header nav li a {
		display: block;
		margin: 2px 0;
		padding: 0 5px;
	}
	#footer {
		margin-top: 40px;
		padding: 30px 0;
	}
	.port-item {
		width: 40%;
	}
	.port img {
		width: auto;
	}
	.article-content img {
		width: 100%;
	}
	th, td {
		font-size: 0.8em;
	}
}

@media only screen and (max-width : 600px) {
	.port-item {
		width: 100%;
		border: none;
		border-top: solid 2px var(--theme-color2);
		background: none;
		padding: 1em 0 0 0;
	}

}

@media only screen and (max-width : 400px) {
	#face-right img {
		float: none;
		margin: 10px 0;
		max-width: none;
	}
}
