/* IMPORTED STYLESHEET */

@import url("reset.css");

*, *:before, *:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	color: #333;
	font-family: "jaf-domus", helvetica, arial, sans-serif;
	background-color: #fff;
	transition: 0.5s;
}

h1 {
	margin: 0 0.25em 0 0;
	font-family: "almaq-refined", helvetica, arial, sans-serif;
	font-size: 2.25em;
	line-height: 1em;
	float: left;
}

h2 {
	margin: 0 0 0.25em;
	font-size: 1.25em;
	font-weight: bold;
	line-height: 1.25em;
}

h3 {
	margin: 0;
	font-size: 1em;
	font-weight: bold;
	line-height: 1.25em;
}

p {
	margin: 0 0 0.75em;
	font-size: 1em;
	line-height: 1.25em;
}

ul {
	overflow: hidden;
}

li {
	margin: 0 0 0.75em;
	font-size: 0.95em;
	line-height: 1.25em;
}

li:last-of-type {
	margin: 0;
}

img {
	max-width: 100%;
}

.nav-icons li {
	text-align: center;
}

.nav-icons li a {
	fill: #000;
	background: transparent;
	display: block;
}

.nav-icons li a:hover, .nav-icons li a:focus {
	fill: #fff;
}

nav .icon, section .icon {
	font-size: 2em;
}

header .icon {
	font-size: 2em;
	fill: #fff;
}

.icon-logo {
	width: 0.81em;
	height: 0.57em;
	opacity: 0.7;
}

.icon-work {
	width: 0.79em;
	height: 0.69em;
}

header .icon-work {
	margin: 0.3125em 0 0;
}

.icon-mentions {
	width: 0.90em;
	height: 0.80em;
}

header .icon-mentions {
	margin: 0.2325em 0 0;
}

.icon-experience {
	width: 0.60em;
	height: 0.80em;
}

header .icon-experience {
	margin: 0.25em 0 0;
}

.icon-activities {
	width: 0.47em;
	height: 0.80em;
}

header .icon-activities {
	margin: 0.1875em 0 0;
}

.icon-books {
	width: 0.58em;
	height: 0.75em;
}

.icon-videos {
	width: 0.80em;
	height: 0.59em;
}

.icon-audio {
	width: 0.68em;
	height: 0.80em;
}

.icon-games {
	width: 0.59em;
	height: 0.75em;
}

.icon-hobbies {
	width: 0.71em;
	height: 0.79em;
}

.icon-call {
	width: 0.76em;
	height: 0.76em;
}

.icon-email {
	width: 0.80em;
	height: 0.53em;
}

.icon-twitter {
	width: 0.81em;
	height: 0.65em;
}

.icon-instagram {
	width: 0.80em;
	height: 0.80em;
}

.icon-dribbble {
	width: 0.80em;
	height: 0.80em;
}

.icon-behance {
	width: 0.76em;
	height: 0.48em;
}

.icon-archive {
	width: 0.80em;
	height: 0.78em;
}

header .icon-archive {
	margin: 0.2em 0 0;
}

.visually-hidden {
	display: none;
}

::-moz-selection {background-color: #333; color: #ccc;}
::-webkit-selection {background-color: #333; color: #ccc;}
::selection {background-color: #333; color: #ccc;}

#header {
	width: 100%;
	padding: 0.625em;
	background-color: rgba(0,0,0,0.9);
	position: fixed;
	z-index: 100;
	overflow: hidden;
	transition: 0.5s;
}

nav {
	right: 0;
	padding: 0.625em;
	height: 100%;
	position: fixed;
	z-index: 200;
	background-color: #999;
}

nav ul {
	margin: 0 0 1.5em;
}

main {
	padding: 3.125em 0 0;
	display: block;
}

section:nth-of-type(even) {
	background-color: #ccc;
}

#profile header {
	padding: 0 3.5em 0 0.625em;
	transition: 0.5s;
}

#work header, #mentions header, #experience header, #activities header, #archive header {
	margin: 0 0 1.125em;
	padding: 0.625em 0 0.625em 0.625em;
	color: #fff;
	width: 100%;
	background-color: #333;
	overflow: hidden;
	transition: 0.5s;
}

article {
	padding: 0 3.5em 0 0.625em;
	overflow: hidden;
	transition: 0.5s;
}

article:last-of-type {
	margin: 0;
	padding: 0 3.5em 2.5em 0.625em;
	transition: 0.5s;
}

article, article:last-of-type {
	max-width: 550px;
}

/**
#work article:first-of-type ul {
	margin: 0 0 1.5em;
	padding: 0 0 1.25em;
	border-bottom: 1px solid #999;
}
*/

#profile img {
	margin: 0 0 0.5em;
	width: 5.6em;
	border-radius: 50%;
}

#profile h1 {
	margin: 0 0 0.125em 0;
	float: none;
}

#profile h2.title {
	font-size: 1em;
}

#profile h2:first-of-type {
	margin: 0;
}

#profile article:nth-of-type(2) h2:first-of-type {
	margin: 0 0 0.5em;
}

#profile h3 {
	margin: 0 0 1em;
}

article a {
	margin: 0;
	padding: 0.125em 0.25em;
	color: #fff;
	background-color: #333;
	text-decoration: none;
	white-space: nowrap;
	display: inline-block;
	transition: 0.25s ease-out;
}

article a:hover, article a:focus {
	color: #333;
	background-color: #ccc;
}

li.skill, li.task {
	margin: 0 0 0.25em 1.25em;
	list-style-position: outside;
	list-style-type: disc;
}

li.client {
	margin: 0 0 2em;
	padding: 0 0 1.25em;
	border-bottom: 1px solid #999;
}

li.client:last-of-type {
	margin: 0;
	padding: 0;
	border: 0;
}

li.client h2 {
	font-size: 1.125em;
}

li.client h3 {
	margin: 0 0 0.25em;
}

li.client a:hover, li.client a:focus {
	background-color: #fff;
}

ul.sample-list {
	margin: 0;
}

li.sample {
	margin: 0 0.625em 0.625em 0;
	padding: 0;
	font-size: 0.875em;
	line-height: 0.875em;
	float: left;
}

li.sample a {
	padding: 0;
}

li.sample img {
	border: 1px solid #999;
	width: 5.65em;
	height: 5.65em;
	display: block;
}

li.publication:last-of-type {
	margin: 0 0 1.25em;
	padding: 0;
	border-bottom: 1px solid #999;
}

li.publication p:first-of-type {
	margin: 0;
}

li.publication p:last-of-type {
	margin: 0 0 1em;
}

li.job {
	margin: 0 0 1.5em;
}

li.job:last-of-type {
	margin: 0;
}

li.job a:hover, li.job a:focus {
	background-color: #fff;
}

ul.hobby-list:last-of-type {
	margin: 0;
}

h2.employer {
	margin: 0;
	font-size: 1.125em;
}

#activities h2 {
	margin: 0 0.25em 0.25em 0;
	float: left;
}

#activities ul {
	margin: 0 0 2em;
	clear: both;
}

#activities ul.hobby-list {
	margin: 0;
}

footer {
	padding: 0.625em;
	transition: 0.5s;
}

footer p {
	margin: 0 0 1em;
	font-size: 0.75em;
	line-height: 1.4em;
}

@media screen and (max-width: 19.9375em) {

	body {
		font-size: 75%;
	}

	main {
		padding: 0.5em 0 0;
	}

	nav {
		display: none;
	}

	#header {
		position: relative;
	}

	#header a {
		font-size: 150%;
		display: block;
	}

	header {
		font-size: 70%;
	}

	#profile header {
		padding: 0 0.325em;
	}

	#work header, #mentions header, #experience header, #activities header, #archive header {
		margin: 0 0 1.125em;
		padding: 0.625em 0 0.625em 0.5em;
		color: #fff;
		width: 100%;
		background-color: #333;
		overflow: hidden;
		transition: 0.5s;
	}

	article {
		padding: 0 0.325em;
	}

	article:last-of-type {
		padding: 0 0.325em 2.5em;
	}

	article a {
		padding: 0;
		color: #333;
		background: transparent;
		text-decoration: underline;
		white-space: normal;
	}

	article a:hover {
		background: transparent;
		text-decoration: none;
	}

}

@media screen and (min-width: 48em) {

	body {
		font-size: 130%;
	}

	article, article:last-of-type {
		max-width: 600px;
	}

}

@media screen and (min-width: 64em) {

	main {
		padding: 4.125em 0 0;
	}

	#header, footer {
		padding: 0.625em 0.625em 0.625em 1.625em;
	}

	#profile header {
		padding: 0 3.5em 0 1.625em;
	}

	article {
		padding: 0 3.5em 0 1.625em;
	}

	article:last-of-type {
		padding: 0 3.5em 2.5em 1.625em;
	}

	#work header, #mentions header, #experience header, #activities header, #archive header {
		padding: 0.625em 0 0.625em 1.625em;
	}

}