@import url("http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,900");
@import url("font-awesome.min.css");

/* Reset */
*, *:before, *:after {
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
}

html, body {
	height: 100%;
	width: 100%;
}

body {
	font-family: 'Source Sans Pro', 'Helvetica', sans-serif;
	font-size: 15pt;
	font-weight: 300;
	line-height: 1.75;
	color: #efefef;
	background: #003152;
	overflow-x: hidden;
}

/* Wrapper */
#wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}

/* Main */
#main {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2em;
	overflow-y: auto;
}

/* Header */
#header {
	text-align: center;
	max-width: 900px;
	width: 100%;
}

#header h1 {
	font-size: 2.85em;
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 1.2;
	margin-bottom: 0.5em;
	color: #fff;
}

#header h1 a {
	color: #fff !important;
	text-decoration: none;
	border-bottom: none;
}

#header h1 a:hover {
	border-bottom: 2px dotted rgba(255, 255, 255, 0.7);
}

#header h1 .domain-ext {
	opacity: 0.6;
	color: #fff;
}

#header > span {
	display: block;
	font-size: 1.2em;
	opacity: 0.75;
	margin: 1.5em 0;
	line-height: 1.6;
}

/* QR Code */
.qr-icon {
	display: block;
	width: 6em;
	height: 6em;
	border: 2px solid #fff;
	padding: 0.5em;
	background: rgba(255, 255, 255, 0.1);
	margin: 1em auto 0.5em auto;
	transition: all 0.2s ease-in-out;
}

.qr-icon:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: scale(1.05);
}

/* Navigation */
#header nav {
	margin: 2em 0;
}

#header nav ul {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 1.5em;
	flex-wrap: wrap;
}

#header nav li {
	display: inline-block;
}

#header nav a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	width: auto;
	min-width: 6em;
	height: auto;
	border: none;
	color: #fff;
	text-decoration: none;
	position: relative;
	padding: 1em;
	transition: all 0.2s ease-in-out;
	background: rgba(255, 255, 255, 0.1);
}

#header nav a:hover {
	transform: scale(1.05);
	background: rgba(255, 255, 255, 0.2);
}

#header nav a:active {
	transform: scale(0.95);
}

#header nav a:before {
	font-family: FontAwesome;
	font-size: 2em;
	line-height: 1;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-style: normal;
	font-weight: normal;
	text-transform: none !important;
}

#header nav a.fa-file:before {
	content: "\f15b";
}

#header nav a.fa-wordpress:before {
	content: "\f19a";
}

#header nav a.fa-github:before {
	content: "\f09b";
}

#header nav a.fa-calendar:before {
	content: "\f073";
}

#header nav a .label {
	font-size: 0.9em;
	text-align: center;
	display: block;
	line-height: 1.2;
}

/* Icon colors on hover */
#github:hover {
	background-color: #6cc644;
}

#wordpress:hover {
	background-color: #d54e21;
}

#resume:hover {
	background-color: #425570;
}

#clientbridge:hover {
	background-color: #0078d4;
}

/* Footer */
#footer {
	padding: 2em;
	text-align: center;
	font-size: 0.8em;
	opacity: 0.75;
}

#footer a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px dotted;
}

#footer a:hover {
	border-color: transparent;
}

/* Mobile */
@media screen and (max-width: 736px) {
	body {
		font-size: 13pt;
	}

	#wrapper {
		position: relative;
		height: auto;
		min-height: 100vh;
	}

	#main {
		position: relative;
		height: auto;
		min-height: calc(100vh - 120px);
		padding: 2em 1em;
	}

	#header h1 {
		font-size: 2.2em;
	}

	#header > span {
		font-size: 1.1em;
		margin: 1em 0;
	}

	.qr-icon {
		width: 100%;
		max-width: 200px;
		height: auto;
		margin: 1em auto 0.5em auto;
	}

	#header nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 1em;
		padding: 0 1em;
	}

	#header nav li {
		display: block;
		width: 100%;
	}

	#header nav a {
		width: 100%;
		min-width: auto;
		flex-direction: row;
		gap: 0.75em;
		justify-content: center;
		min-height: 60px;
		padding: 1em;
		background: rgba(255, 255, 255, 0.1);
		font-size: 1em;
	}

	#header nav a:hover {
		background: rgba(255, 255, 255, 0.2);
		transform: translateY(-2px);
	}

	#header nav a:before {
		font-size: 1.5em;
	}

	#header nav a .label {
		font-size: 1.1em;
	}

	#footer {
		position: relative;
		padding: 1.5em 1em;
		font-size: 0.7em;
	}
}

/* Small Mobile */
@media screen and (max-width: 480px) {
	body {
		font-size: 11pt;
	}

	#header h1 {
		font-size: 2em;
	}

	#header > span {
		font-size: 1em;
	}

	.qr-icon {
		max-width: 180px;
	}

	#header nav a {
		min-height: 55px;
		padding: 0.9em;
		font-size: 1em;
	}
}
