/* ------------------ GLOBAL ------------------ */

/* Meyer Reset */
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/

/* Clearfix */
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix { display: inline-block; }
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }

* {
   margin: 0px;
   padding: 0px;
}

body {
	font-family: 'Open Sans';
	color: black;
	background-color: white;
	margin: 0;
	padding: 0;
}

*::selection {
	background-color: pink;
}

/* ------------------ TEXT ------------------ */

h1 {
	font-family: 'Roboto';
	color: black;
	font-size: 36px;
	font-weight: bold;
}

h2 {
	font-family: 'Roboto';
	color: white;
	font-size: 40px;
}

h3 {
	color: white;
	font-size: 26px;
	font-weight: lighter;
	margin-bottom: 5px;
}

h4 {
	color: gray;
	text-align: center;
}

p {
	font-size: 18px;
	margin: 18px 0;
	line-height: 150%;
}

a {
	color: black;
	text-decoration: none;
}

a:hover {
	color: #ff388e;
	cursor: pointer;
}

/* Use the underlined link style in body copy */

.underlined-link {
	padding-bottom: 1px;
	border-bottom: 1px solid #696969;
}

.underlined-link:hover {
	border-bottom: 1px solid #ff388e;
}

/* ------------------ SECTION LAYOUTS ------------------ */

section {
	width: 94%;
	padding: 20px 3%;
}

.content {
	width: 80%;
	margin: 50px auto;
}

.yellow {
	background-color: #fffc52;
}

.white {
	background-color: white;
}

.black {
	background-color: black;
}

/* ------------------ MISC. UI ------------------ */

button {
	font-family: 'Open Sans';
	color: black;
	background-color: white;
	display: block;
	margin: 0 auto;
	margin-top: 25px;
    padding: 10px 0;
    width: 170px;
    font-size: 22px;
	border: none;
}

button:hover {
	cursor: pointer;
	background-color: yellow;
}

li {
	margin: 10px 0;
}

/* ------------------ NAV ------------------ */

#nav {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 60px;
	height: 60px;
	border: 3px solid black;
}

#nav img {
	width: 46px;
	padding: 7px;
}

/* ------------------ HERO IMAGE ------------------ */

#hero-image {
	z-index: -1;
	display: flex;
    align-items: center;
    justify-content: center;
	width: 100%;
	height: 450px;
	position: relative;
	background: url('images/hero-image.jpg');
}

#screen {
	z-index: -1;
	position: absolute;
	width: 100%;
	height: 450px;
	background-color: rgb(0, 0, 0, 0.6);
}

#name-and-logo {
	z-index: 10;
	width: 820px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

#my-name {
	display: block;
	width: 365px;
	height: 90px;
	float: left;
	margin-right: 50px;
}

#my-name h1 {
	font-size: 66px;
	color: white;
	text-shadow: 5px 5px 10px black;
}

#running-horse {
	width: 420px;
	margin-top: 100px;
	float: right;
}

#running-horse img {
	width: 100%;
}

/* ------------------ RECENT WORK ------------------ */

#recent-work-header {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	margin-top: -50px;
}

#recent-work-header img {
	float: right;
	width: 110px;
	margin-left: 30px;
}

#recent-work {
	position: relative;
}

#recent-work-title {
	position: absolute;
	color: black;
	top: -45px;
	left: 40%;
	text-align: center;
	font-size: 42px;
}

/* ------------------ HOME PAGE INTRO ------------------ */

#intro h2 {
	display: none;
}

#intro-content {
	display: block;
	margin: 30px auto;
}

#intro-text {
	font-size: 21px;
	width: 70%;
	display: block;
	float: right;
}

#intro-text p:first-child {
	margin-top: 0;
}

#intro-text a {
	font-size: 20px;
	margin-left: 7px;
}

#intro-text a:hover {
	color: #ff73af;
}

#intro-text ul {
	display: block;
	margin-left: 25px;
	margin-top: 35px;
}

#intro-text ul li {
	list-style-type: none;
	margin: 22px 0;
}

#intro-photo {
	width: 22%;
	display: block;
	float: left;
}

#intro-photo img {
	width: 100%;
}

/* ------------------ ABOUT ------------------ */

#about {
	margin-top: 180px;
	padding-top: 0;
}

#portrait img {
	position: absolute;
	top: 40px;
	right: 35px;
	width: 180px;
	z-index: 1;
}

#circle {
	display: block;
	border-radius: 50%;
    width: 350px;
    height: 350px;
    background-color: #00ff00;
    position: absolute;
	top: -145px;
	right: 0;
	z-index: -1;
}

.bordered-callout {
	border: 6px solid #ff0080;
	padding: 30px 10%;
	position: relative;
	width: 60%;
	margin: 50px auto;
}

#values li {
	margin: 25px;
	font-size: 18px;
}

.icon {
	position: absolute;
	top: -40px;
	left: 50%;
	margin-left: -45px;
	width: 90px;
}

.icon img {
	width: 100%;
}

.title {
	color: black;
	font-size: 36px;
	text-align: center;
	font-weight: bold;
	font-style: normal;
	margin: 30px 0;
}

#resources h2 {
	font-size: 28px;
	color: black;
}

#resources ul li {
	list-style-type: none;
	margin: 35px 0;
}

.resource h3 {
	color: #ff0080;
	font-size: 20px;
}

.resource h3:hover {
	opacity: 0.5;
}

.resource p {
	margin: 0;
}

.sub-resource-list {
	margin-left: 25px;
}

/* ------------------ PORTFOLIO ------------------ */

.first-section {
	margin-top: 50px; /* Prevents overlap with the upper right nav arrow */
}

#video-teaser {
	display: block;
	margin: 0 auto;
	margin-top: 50px;
	width: 90%;
}

.responsive-video {
  width: 100% !important;
  height: auto !important;
}

.portfolio ul li {
	border-bottom: 1px solid #505050;
	padding: 10px 0;
}

.portfolio ul li:last-child {
	border-bottom: none !important;
}

.portfolio p {
	margin: 8px 0;
	color: white;
}

.portfolio a {
	text-decoration: none;
	color: #ff73af;
}

.portfolio a:hover {
	color: yellow;
}

.project-info {
	padding: 20px 0;
	width: 100%;
}

/* -------------- LUNAR NEW YEAR -------------- */

.celery {
	background-color: #9de877;
}

.dark-brown {
	background-color: #231711;
}

.reddish-orange {
	background-color: #ff5630;
}

.navy {
	background-color: #00003d;
}

.beige {
	background-color: #ecdba6;
}

.light-gold {
	background-color: #ffdc73;
}

.dark-gold {
	background-color: #bf9b30;
}

.light-blue {
	background-color: #65c6e2;
}

.lavender {
	background-color: #bcbcf2;
}

.sky-blue { /*Lighter than "light-blue"*/
	background-color: #cfe2f3;
}

.horizontal {
	width: 100%;
}

.vertical {
	width: 70%;
}

.gallery-item {
	display: block;
	margin: 0 auto;
}

.gallery-item img {
	width: 100%;
}

.gallery-item h2 {
	color: black;
	font-size: 21px;
	margin: 15px 0;
}

.gallery-item p {
	margin-top: 8px 0;
}

.caption {
	display: block;
	background-color: white;
	padding: 20px 5%;
	margin-top: -5px;
}

/* ------------------ FOOTER ------------------ */

footer {
	display: flex;
	justify-content: center;
    align-items: center;
	padding: 35px;
}

#footer-content-wrapper {
	display: block;
	width: 100%;
	height: 100px;
}

#footer a {
	color: white;
	font-size: 60px;
	line-height: 0;
}

#icons-wrapper {
	display: flex;
	justify-content: center;
    align-items: center;
	width: 480px;
	margin: 0 auto;
}

#icons {
	display: block;
	margin: 0 auto;
	width: 380px;
}

#icons li {
	display: inline-block;
	float: left;
	margin: 0 35px;
	transition: all .2s ease-in-out;
}

#icons li:last-child {
	margin-right: 0;
}

#icons li:hover {
	transform: scale(1.1);
}

#copyright-wrapper {
	display: block;
	text-align: center;
	margin: 10px 0;
}

#copyright-wrapper p {
	font-size: 16px;
	color: #808080;
}

#email {
	position: relative;
}

#email-copy-message {
	display: none; /* This is shown/hid via JavaScript */
	position: absolute;
	top: -50px;
	left: -40px;
	height: 20px;
	width: 220px;
	display: block;
	color: white;
	font-size: 12px;
	margin-top: 30px; /* Offsets the zoom effect on hover */
}

/* ------------------ MOBILE/TABLET ------------------ */

@media only screen and (max-width: 900px) {
	#hero-image {
		background: url('images/hero-image_medium-screen-sizes.jpg');
	}
	
	.content {
		width: 90%;
		margin: 30px auto;
	}
	
	#intro-photo {
		height: 130px;
		width: 130px;
	}
	
	#my-name {
		margin: 0 auto;
		float: none;
		width: 100%;
		text-align: center;
	}
	
	#my-name h1 {
		margin-top: 20px;
		font-size: 56px;
	}
	
	h2 {
		font-size: 28px;
	}
	
	#recent-work-header img {
		width: 90px;
	}
	
	#name-and-logo {
		width: 600px;
		display: block;
	}
	
	#running-horse {
		margin: 20px auto;
		width: 450px;
		margin-top: 0;
		float: none;
	}
	
	#recent-work-header {
		margin-top: -30px;
	}
	
	footer {
		padding: 30px;
	}
	
	#about {
		margin-top: 160px;
	}

	#portrait img {
		width: 160px;
	}

	#circle {
	    width: 300px;
	    height: 300px;
		top: -135px;
	}
	
	.horizontal {
		width: 100%;
	}

	.vertical {
		width: 100%;
	}
}

@media only screen and (max-width: 600px) {
	#nav {
		width: 50px;
		height: 50px;
	}

	#nav img {
		width: 40px;
		padding: 5px;
	}
	
	h1 {
		font-size: 30px;
	}
	
	#hero-image {
		background: url('images/hero-image_small-screen-sizes.jpg');
	}
	
	#my-name h1 {
		margin-top: 20px;
		font-size: 30px;
	}
	
	h3 {
		font-size: 22px;
	}
	
	p {
		font-size: 17px;
	}
	
	.content {
		width: 92%;
		margin: 20px auto;
	}
	
	#hero-image {
		height: 360px;
	}
	
	#my-name h1 {
		margin-top: 20px;
		font-size: 48px;
	}
	
	#name-and-logo {
		width: 360px;
		display: block;
	}
	
	#running-horse {
		margin: 20px auto;
		width: 300px;
		float: none;
	}
	
	#intro-content {
		display: block;
		margin: 15px auto;
	}
	
	#intro-photo {
		display: none;
	}
	
	#intro-text {
		float: none;
		width: 100%;
	}
	
	#recent-work-header {
		margin-top: -20px;
	}
	
	#recent-work-header img {
		width: 60px;
		margin-left: 18px;
	}
	
	footer {
		padding: 25px;
	}
	
	#icons-wrapper {
		width: 260px;
	}

	#icons {
		width: 260px;
	}

	#icons li {
		margin: 0 20px;
	}

	#footer a {
		font-size: 50px;
	}  
  
    #icons-wrapper {
  		width: 260px;
    }

    #icons {
    	width: 260px;
    }

    #icons li {
    	margin: 0 20px;
    }
  
    #footer a {
    	font-size: 50px;
    }  
	
	#about {
		margin-top: 110px;
	}

	#portrait img {
		width: 110px;
		right: 22px;
		top: 22px;
	}

	#circle {
	    width: 180px;
	    height: 180px;
		top: -80px;
		right: 0;
	}
	
	#values li {
		margin: 25px;
		font-size: 18px;
	}

	.bordered-callout {
		border: 4px solid #ff0080;
		padding: 10px 5%;
		width: 80%;
	}

	.icon {
		position: absolute;
		top: -30px;
		left: 50%;
		margin-left: -30px;
		width: 60px;
	}
	
	.title {
		font-size: 32px;
	}
	
	.project-info {
		padding: 10px 0;
	}
	
	#video-teaser {
		width: 100%;
	}
	
	h4 {
		text-align: left;
	}
}
