/* @override 
	http://localhost:8888/portfolio/styles/portfolio.css
	http://portfolio.brekkbockrath.com/styles/portfolio.css
*/

/*HTML5 Block Elements*/

section, article, header, footer, nav, aside, hgroup {
	display: block;
}

/*Basics*/

body {
	color: #000;
	font-family: "skolar-1","skolar-2",serif;
	-webkit-font-smoothing: antialiased;
	background: #409 url(../images/background.png) fixed no-repeat;
	-moz-background-size: cover;
	background-size: cover;
}

@media only all and (max-width: 1500px) and (max-height: 824px) {

body {
	-moz-background-size: 1500px 824px;
	background-size: 1500px 824px;
}

}

a {
	text-decoration: none;
	transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-webkit-transition: all 0.3s linear;
}

/*Main Section*/

body div#inset {
	padding: 10px;
	display: block;
	width: 840px;
	margin: 0 auto;
	-moz-border-radius: 1.2em;
	-webkit-border-radius: 1.2em;
	border-radius: 1.2em;
	background-color: rgba(0,0,0,0.5);
	-moz-box-shadow:0 1px 1px rgba(0,0,0,0.5) inset,0 1px 0 rgba(255,255,255,0.3);
    -webkit-box-shadow:0 1px 1px rgba(0,0,0,0.5) inset,0 1px 0 rgba(255,255,255,0.3);
    box-shadow:0 1px 1px rgba(0,0,0,0.5) inset,0 1px 0 rgba(255,255,255,0.3);
    margin-bottom: 50px;
}

section#main {
	width: 800px;
	padding: 20px;
	-moz-border-radius: 1.2em;
	-webkit-border-radius: 1.2em;
	border-radius: 1.2em;
	text-shadow: 0px 1px 0px rgba(255,255,255,0.2);
	background-image: -moz-linear-gradient(100% 100% 90deg, rgba(0,0,0,0.1), rgba(255,255,255,0.3));
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255,255,255,0.3)), to(rgba(0,0,0,0.1)));
    background-color:#222;
}

section#main nav#sections {
	width: 800px;
	text-align: right;
}

section#main nav#sections ul {
	list-style: none;
	padding: 0;
}

section#main nav#sections ul li {
	display: inline-block;
	font-family: "bello-caps-1","bello-caps-2",sans-serif;
	font-size: 2em;
}

section#main nav#sections ul li a {
	color: #409;
	text-shadow: 0 -1px 0px rgba(0,0,0,0.3);
	display: inline-block;
	padding: 10px
}

#contact a.email {
	color: #0cf;
	font-size: 3em;
	font-family: "bello-caps-1","bello-caps-2",sans-serif;
	text-shadow: 0 3px 0px rgba(0,100,155,0.8);
	margin-left: 150px;
}
#contact a.email:hover {
	color: #f06;
	text-shadow: 0 3px 0px rgba(255,255,0,0.8);
}

section#main nav#sections ul li a:hover {
	color: #f06;
}

/* Headers */

h1, h2, h3, h4, h5, h6 {
	color: #eee;
	margin: 0;
	padding: 0;
	text-shadow: 0px 2px 5px rgba(0,0,0,0.8);
}

h1 {
	font-size: 3em;
}

#work h1, #education h1, #skills h1, #contact h1 {
	font-size: 2.6em;
	color: #eee;
	text-shadow: 0px -2px 0px rgba(0,0,0,0.4);
}

h2 {
	font-size: 2.5em;
}

h3 {
	font-size: 2em;
}

section article header hgroup h3 {
	margin-left: 15px;
	margin-top: 10px;
}

h4 {
	font-size: 1.8em;
}

h5 {
	font-size: 1.4em;
}

hgroup#title-text h1 {
	

/*text-shadow: 0 -3px 0px rgba(0,0,0,0.2);*/
	text-transform: none;
	font-family: "skolar-1","skolar-2",serif;
   	
}

hgroup#title-text h3 {
	color: rg;
	font-style: italic;
	font-size: 2.5em;
	font-family: "bello-pro-1","bello-pro-2",cursive;
	margin-top: 10px;
	margin-left: 40px;
}

/* Sections */

section {
	max-width: 800px;
}

section article.first {
	border-top: 0px;
}

article#developer.first {
	min-height: 200px;
}

section article.last {
	border-bottom: 0px;
}

section article {
	min-height: 360px;
}

/* Specific Sections */

body section#intro {
	width: 800px;
	margin-left: 0;
	padding-top: 10px;
}

body section#intro p {
	padding-right: 50px;
	padding-left: 50px;
	font-size: 1.2em;
	text-shadow: 0 -1px 0px rgba(255,255,255,0.8);
}

section#main section article {
	color: #fff;
	text-shadow: 0px 1px 0px rgba(0,0,0,0.4);
	padding: 10px 20px 10px;
	width: 760px;
	margin: 0 auto;
	padding-bottom: 30px;
	background-color: rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 1px 10px rgba(0,0,0,.8) inset;
	-webkit-box-shadow: 0px 1px 10px rgba(0,0,0,.8) inset;
	margin-bottom: 25px;
	-moz-border-radius: 1.2em;
	-webkit-border-radius: 1.2em;
	border-radius: 1.2em;
}

section article header h2 {
	margin-left: 0;
	font-size: 2em;
	padding-top: 10px;
	 background-color: #111;
    padding: 10px 15px;
    -moz-border-radius: 0.2em;
	-webkit-border-radius: 0.2em;
	border-radius: 0.2em;
	background-image: -moz-linear-gradient(100% 100% 90deg, rgba(0,0,0,0.2), rgba(255,255,255,0.1));
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255,255,255,0.1)), to(rgba(0,0,0,0.2)));
	display: inline-block;
	-moz-box-shadow:0 1px 10px rgba(0,0,0,0.5),0 1px 0 rgba(255,255,255,0.1) inset;
    -webkit-box-shadow:0 1px 10px rgba(0,0,0,0.5),0 1px 0 rgba(255,255,255,0.1) inset;
    box-shadow:0 1px 10px rgba(0,0,0,0.5),0 1px 0 rgba(255,255,255,0.1) inset;
    text-shadow: 0px -2px 0px rgba(0,0,0,0.26);
    margin-left: 0;
}

article header time {
	color: #f06;
	text-shadow: 0 -1px 0px rgba(255,255,255,0.2);
	padding-bottom: 20px;
	display: inline-block;
	padding-top: 10px;
float: right;
}

#main section article header hgroup h4, #main section article header hgroup h5, #main section article header hgroup h6 {
	font-size: 1em;
	margin-left: 10px;
}

#elam header hgroup h3.degree {
	font-size: 1.6em;
	font-style: italic;
}

#elam header hgroup h4.nerd {
	margin: 0;
	margin-left: -165px;
	height: 20px;
	font-size: 2.2em;
}

#developer.first header hgroup h4.nerd, #designer.last header hgroup h4.nerd {
	margin: 0;
	margin-left: -220px;
	font-size: 1.2em;
}

.nerd {
	font-family: "ff-prater-script-web-1","ff-prater-script-web-2",sans-serif;
	display: inline-block;
	color: #fc0;
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
}

#work article p a, #education article p a {
	color: inherit;
	padding-bottom: 1px;
	border-bottom: 1px dashed #409;
}

#work article p a:hover {
	color: #f09;
	border-bottom: 1px dashed #000;
}

#work article p, #education article p, #work article ul {
	margin-left: 280px;
	display: inline-block;
}

a.project-link {
	font-family: "bello-caps-1","bello-caps-2",sans-serif;
	color: #fff;
	text-shadow: 0 -1px 0px rgba(0,0,0,0.3);
	background: #f06;
	display: inline-block;
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	border-radius: 0.5em;
	-moz-box-shadow: 0px 10px 1px #704, 0px 0px 10px rgba(255,255,255,0.5) inset;
	-webkit-box-shadow: 0px 10px 1px #704, 0px 0px 10px rgba(255,255,255,0.5) inset;
	margin-top: 5px;
	padding: 6px 0 4px 4px;
	float: right;
	margin-left: 10px;
	font-size: 1.5em;
}

#elam header hgroup h3 {
	font-size: 1.8em;
}
#elam header hgroup h4.degree {
	font-size: 1.4em;
	margin-left: 15px;
}



a.project-link:hover {
	background-color: #eee;
	color: #222;
	text-shadow: 0 -1px 0px rgba(255,255,255,0.2);
	-moz-box-shadow: 0px 4px 1px #222, 0px 0px 10px rgba(0,0,0,0.9) inset;
	-webkit-box-shadow: 0px 4px 1px #222, 0px 0px 10px rgba(0,0,0,0.9) inset;
	
}

a.project-link:after {
	content: url(../images/arrow-right.png);
}

section#work article header hgroup h4.role {
	color: #0cf;
	/*text-shadow: 2px 2px 0px rgba(0,201,255,0.5);*/
	font-size: 2em;
	font-family: "bello-caps-1","bello-caps-2",sans-serif;
	display: inline-block;
	margin-top: 10px;
    font-weight: 800;
   	margin-left: 20px;
}

#imatest-box img, #oneway img {
	
}

.animated-image-box {
	display: inline-block;
	margin-bottom: -180px;
	margin-top: 20px;
}

.animated-image-box {
	

/*float: right;*/
	float: left;
	display: inline-block;
}
@-webkit-keyframes title-pulse {
	0% {
		color: #c00;
	}
	20% {
		color: #f60;
	}
	40% {
		color: #ff0;
	}
	60% {
		color: #0d3;
	}
	80% {
		color: #0cf;
	}
	100% {
		color: #63c;
	}
}
@-webkit-keyframes pulse {
	0% {
		text-shadow: 0 0px 1px rgba(0,200,255,0.4);
	}
	100% {
		text-shadow: 0 0px 10px rgba(0,255,255,0.9);
	}
}
.title-pulse {
	-webkit-animation-name: title-pulse;
	 -webkit-animation-duration: 120s;
	 -webkit-animation-iteration-count: infinite;
	 -webkit-animation-direction: alternate;
	 -webkit-animation-timing-function: linear;
}
.pulse {
	-webkit-animation-name: pulse;
	 -webkit-animation-duration: 1.7s;
	 -webkit-animation-iteration-count: infinite;
	 -webkit-animation-direction: alternate;
	 -webkit-animation-timing-function: linear;
}


@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
	}
	50% {
		-webkit-transform: rotate(180deg);
		-moz-transform: rotate(180deg);
	}
	100% {
		-webkit-transform: rotate(359deg);
		-moz-transform: rotate(359deg);
	}
}
.speech-bubble {
	-moz-border-radius: 0.6em;
	-webkit-border-radius: 0.6em;
	border-radius: 0.6em;
	display: inline-block;
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding-box;
	background-clip: padding-box;
	position: relative;
	/*border: 1px solid #fff;*/
	padding:10px 20px;

	max-width: 630px;
	min-width: 100px;
	margin: 20px;
	background: #222;
	background-image: -moz-linear-gradient(100% 100% 90deg, rgba(0,0,0,0.1), rgba(255,255,255,0.1));
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255,255,255,0.1)), to(rgba(0,0,0,0.1)));
}

.speech-bubble-arrow-border, .speech-bubble-arrow {
	position: absolute;
	left: 20px;
	width: 0;
	height: 0;
	-webkit-background-clip: border-box;
	-moz-background-clip: border-box;
	background-color: border-box;
}
.speech-bubble-arrow-border {
	border-color: #ccc transparent transparent transparent;
	border-style: solid;
	border-width: 22px 22px 0px 0px;
	bottom: -22px;
	left: 19px;
}
.speech-bubble-arrow {
	border-color: #ccc transparent transparent transparent;
	border-style: solid;
	border-width: 20px 20px 0px 0px;
	bottom: -20px;
}
.speech-bubble-arrow.up {
	border-color: transparent transparent transparent #363636;
	border-style: solid;
	border-width: 20px 0px 0px 20px;
	top: -20px;
}