/* ==================================================================
Qing Zhao Portfolio CSS
Main Color: #009da0
Main Color Lite: #1ebbbe
Main Color Dark: #007f82
================================================================== */

/* ==================================================================
	FONT IMPORTS
================================================================== */

@font-face {
    font-family: "BebasNeue";
    src: url('../fonts/bebasneue/bebasneue.otf') format('opentype');
}

@font-face {
    font-family: 'BebasNeueBold';
    src: url('../fonts/bebasneue/bebasneue_bold.otf') format('opentype');
}

@font-face {
    font-family: 'BebasNeueBook';
    src: url('../fonts/bebasneue/bebasneue_book.otf') format('opentype');
}

@font-face {
    font-family: 'BebasNeueLight';
    src: url('../fonts/bebasneue/bebasneue_light.otf') format('opentype');
}

@font-face {
    font-family: 'BebasNeueThin';
    src: url('../fonts/bebasneue/bebasneue_thin.otf') format('opentype');
}

@import url('https://fonts.googleapis.com/css?family=Oswald:400,700');

@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: 'icons';
	src:url('../fonts/icons/icons.eot');
	src:url('../fonts/icons/icons.eot?#iefix') format('embedded-opentype'),
		url('../fonts/icons/icons.woff') format('woff'),
		url('../fonts/icons/icons.ttf') format('truetype'),
		url('../fonts/icons/icons.svg#icons') format('svg');
}

/* ==================================================================
	LAYOUT
================================================================== */

html { height: 100%; }

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

body {
	font-family: 'BebasNeueBold', 'Oswald', Helvetica, Arial, sans-serif;
	background: #333 url('../images/bg.jpg') 0 0 repeat;
	color: #fff;
	font-size: 15px;
	font-weight: 300;
	overflow: scroll;
	overflow-x: hidden;
}

a {
	color: #009da0;
	text-decoration: none;
}

.container {
	width: 100%;
	position: relative;
}

/* Header */

header {
	position: fixed !important;
	width: 100%;
	top: 0;
	left: 0;
	background: #009da0;
	z-index: 9999;
	position: relative;
	box-shadow: 1px 0px 2px rgba(0,0,0,0.2);
	font-size: 14px;
	line-height: 34px;
	text-transform: uppercase;
}

header a {
	display: inline-block;
	padding: 0px 10px;
	color: #fff;
	letter-spacing: 0.1em;
}

header a:hover {
	background: #FF0080;
}

header span.right {
	float: right;
}

header span.right a {
	float: left;
	display: block;
}

/* Intro */

.container > header + section {
	width: 90%;
	max-width: 1240px;
	margin: 0 auto;
	position: relative;
	padding: 80px 0 20px;
	text-align: center;
}

.container > header + section h1 {
	color: #ff0080;
	font-size: 60px;
	line-height: 62px;
	font-weight: 700;
	margin: 0 auto 10px;
}

.container > header + section p {
    font-family: 'BebasNeueLight';
	font-size: 30px;
	font-weight: 400;
	letter-spacing: 0.03em;
}

/* Work samples */

main > p {
	text-align: center;
	padding: 50px 20px;
}

li.top_margin .og-fullimg img {
	margin-top: 60px;
	max-width: calc(100% - 20px);
}

img.screenshot_mobile {
	display: none;
}

/* ==================================================================
	MODULAR
================================================================== */

/* Clearfix hack - http://nicolasgallagher.com/micro-clearfix-hack/ */

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}

/* ==================================================================
	MEDIQ QUERIES
================================================================== */

/* 640px */

@media screen and (max-width: 650px) {

	.mobile_hide {
		display: none !important;
	}

	img.screenshot_mobile {
		display: block;
		margin: 0 !important;
		width: 100%;
	}

	.container > header + section h1 {
		font-size: 42px;
		line-height: 46px;
	}

}

/* 568px */

@media screen and (max-width: 568px) {

	header a {
		letter-spacing: 0;
	}

	.container > header + section {
		padding: 60px 0 0;
	}

	.container > header + section h1 {
		font-size: 36px;
		line-height: 40px;
		letter-spacing: -0.01em;
		margin-bottom: 0;
	}

	.container > header + section p {
		font-size: 24px;
	}

}

/* 420 */

@media screen and (max-width: 420px) {
}