@import url('type.css');

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

img {
	max-width: 100%;
}

/************************ pretty gobal *********************/

body {
	font-family: 'Geogrotesque Lg';
	line-height: 1.3;
	background: url('../assets/images/bg.png');
}

section {
	margin-top: 50px;
	overflow: hidden;
}

article.containIt {
	width: 80%;
	margin: 0 auto;
	clear: both;
	max-width: 1200px;
}

div.containIt {
	max-width: 1200px;
	margin: 0 auto;
}

/***************** header footer ************************/

header {
	position: relative;
	margin-top: 10px;
	z-index: 20;
}

div#leftHeader, div#rightHeader {
	height: 25px;
	width: 50%;
	float: left;
	margin-top: 80px;
	-webkit-box-shadow: 0px 30px 20px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 30px 20px 0px rgba(0,0,0,0.25);
	box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.25);
}

div#leftHeader {
	background: url("../assets/graphics/patternleft.png");
}

div#rightHeader {
	background: url("../assets/graphics/patternright.png");
}

div#mainBrain {
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -69px;
	width: 138px;
	height: 171px;
	z-index: 7;
	background: url("../assets/graphics/brain.svg");
}

footer {
	position: relative;
}

footer div.footerBrain {
	margin: 50px auto 15px;
	background: url("../assets/graphics/brain.svg");
	width: 100px;
	height: 123px;
}

footer div.backToTop {
	background: url("../assets/graphics/top.svg");
	width: 133px;
	height: 23px;
	position: absolute;
	bottom: 10px;
	margin-bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	transition: all .5s ease;
}

footer:hover div.backToTop {
	background: url("../assets/graphics/tophover.svg");
	cursor: pointer;
	width: 177.656px;
	height: 30.662px;
}

/******************* nav ********************/

nav ul li {
	float: left;
	width: 20%;
	text-align: center;
	line-height: 55px;
}

nav ul li:nth-child(2) {
	margin-right: 20%;
}

nav ul li a {
	text-decoration: none;
	color: #9a9fa3;
	font-family: 'Geogrotesque SmBd';
	position: relative;
	top: -67px;
	transition: all .5s ease;
}

nav ul li a:hover {
	color: #7FD21C;
}

div.menuButton {
	padding: 127px 15px 0;
	display: inline-block;
	cursor: pointer;
	z-index: 16;
	transition-property: opacity, filter;
	transition-duration: 0.15s;
	transition-timing-function: linear;
	font: inherit;
	color: inherit;
	text-transform: none;
	background-color: transparent;
	border: 0;
	margin: 0;
	overflow: visible;
	position: absolute;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	display: none;
}

div.menuType {
	background: url("../assets/graphics/menu.svg");
	display: none;
	width: 70px;
	height: 26px;
	z-index: 16;
	left: 50%;
	top: 93px;
	position: absolute;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	transition: all .5s ease;
}

nav:hover div.menuType {
	background: url("../assets/graphics/menuhover.svg");
}

nav.isActive div.menuType {
	background: url("../assets/graphics/menuhover.svg") !important;
}

div.menuContainer {
	width: 40px;
	height: 24px;
	display: inline-block;
	position: relative;
}

div.hamburger {
	display: block;
	top: 50%;
	margin-top: -2px;
}

div.hamburger, div.hamburger::before, div.hamburger::after {
	width: 40px;
	height: 4px;
	background-color: #1895AE;
	border-radius: 4px;
	position: absolute;
	transition-property: transform;
	transition-duration: 0.15s;
	transition-timing-function: ease;
}

nav:hover div.menuButton div.hamburger,
nav:hover div.menuButton div.hamburger::before,
nav:hover div.menuButton div.hamburger::after {
	background-color: #7FD21C;
}

div.hamburger::before, div.hamburger::after {
	content: "";
	display: block;
}

div.hamburger::before {
	top: -10px;
}

div.hamburger::after {
	bottom: -10px;
}

div.menuButton div.hamburger {
	top: 2px;
	transition: background-color 0s 0.15s linear;
}

div.menuButton div.hamburger::before {
	top: 10px;
	transition: top 0.12s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

div.menuButton div.hamburger::after {
	top: 20px;
	transition: top 0.3s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

body header nav.isActive div.containIt div.menuContainer div.hamburger {
	transition-delay: 0.32s;
	background-color: transparent !important;
}

nav.isActive div.hamburger::before {
	top: 0;
	transition: top 0.12s 0.18s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.15s 0.32s cubic-bezier(0.215, 0.61, 0.355, 1);
	transform: translate3d(0, 10px, 0) rotate(45deg);
}

nav.isActive div.hamburger::after {
	top: 0;
	transition: top 0.3s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.15s 0.32s cubic-bezier(0.215, 0.61, 0.355, 1);
	transform: translate3d(0, 10px, 0) rotate(-45deg);
}

nav.isActive div.hamburger, nav.isActive div.hamburger::before, nav.isActive div.hamburger::after {
	background-color: #7FD21C !important;
}

/******************* typography and colors *******************/


h1 {
	position: absolute;
	margin-left: -9999em;
}

h2 {
	font-family: 'Geogrotesque SmBd';
	text-transform: uppercase;
	font-size: 24px;
	margin-bottom: 4px;
	line-height: 24px;
}

section#intro h2 {
	color: #1895AE;
}

section#traditionally h2 {
	color: #FDC439;
}

section#metaphorically h2 {
	color: #8C5DA6;
}

section#realistically h2 {
	color: #7FD21C;
}

section#metaphorically img.border {
	border: 3px solid #8C5DA6;
	border-radius: 2px;
}

p {
	margin-bottom: .5em;
}

a {
	font-family: 'Geogrotesque Md';
	color: #9A9FA3;
	text-decoration: none;
}

a:hover {
	color: #3a4955;
}

strong {
	font-family: 'Geogrotesque Md';
}


/********************** section separators *****************/

div.titleHeader {
	clear: both;
    margin-top: 20px;
    margin-bottom: 20px;
}

div.titleHeader div.left100 {
	float: left;
}

div.titleHeader div.right100 {
	float: right;
}

section#intro, section#traditionally, section#metaphorically, section#realistically {
	margin-top: 50px;
	clear: both;
	min-height: 90vh;
	position: relative;
}

section#traditionally div.titleHeader img {
	height: 75px;
	margin: 0 auto;
    overflow: auto;
	width: 522px;
	margin-left: 3px;
	margin-bottom: 20px;
}

section#metaphorically div.titleHeader img {
	height: 75px;
	margin: 0 auto;
    overflow: auto;
	width: 644px;
	margin-left: 1px;
	margin-bottom: 20px;
}

section#realistically div.titleHeader img {
	height: 75px;
	margin: 0 auto;
    overflow: auto;
	width: 515px;
	margin-left: 3px;
	margin-bottom: 20px;
}

section#traditionally div.titleHeader div.left100, section#traditionally div.titleHeader div.right100 {
	background: #FDC439;
	height: 75px;
	width: calc(50% - 264px);
}

section#metaphorically div.titleHeader div.left100, section#metaphorically div.titleHeader div.right100 {
	background: #8C5DA6;
	height: 75px;
	width: calc(50% - 323px);
}

section#realistically div.titleHeader div.left100, section#realistically div.titleHeader div.right100 {
	background: #7FD21C;
	height: 75px;
	width: calc(50% - 260.5px);
}


/******** layout intro ***********/

img#mainTitle {
	margin: 45px auto 20px;
	display: block;
	max-width: 375px;
}

section#intro {
	margin-top: 50px;
}

div.centeredPainting {
	display: block;
	margin: 0 auto;
	width: 400px;
}

div.centeredPainting img {
	border: 7px solid #1895AE;
	margin-top: 20px;
	border-radius: 2px;
}

div.centeredPainting div.leftSide {
	float: left;
	width: 50%;
}

div.centeredPainting div.rightSide {
	float: left;
	width: 50%;
	text-align: right;
}

div.centeredPainting div.leftSide p, div.centeredPainting div.rightSide p {
	margin-bottom: 0;
}

/****** layout traditionally section *******/

div.leftColumnRightAligned {
	text-align: right;
	float: left;
	width: 48%;
	margin-right: 2%;
}

div.rightColumnLeftAligned {
	text-align: left;
	float: left;
	width: 48%;
	margin-left: 2%;
}

/*section#traditionally div#miniIntro {
	overflow: hidden;
}
*/

section#traditionally div#brainFunctionsList {
	margin-bottom: 25px;
	margin-top: 25px;
	clear: both;
}

section#traditionally div#brainFunctionsTerms {
	width: 65%;
    margin: 50px auto;
}

div.leftColumnRightAligned img {
	float: right;
}

div.rightColumnLeftAligned img {
	float: left;
}

img.brainFunction {
	margin-bottom: 10px;
	display: block;
	clear: both;
}

img.brainFunction:first-child {
	margin-top: 25px;
}

div.pod {
	clear: both;
}

div.pod p {
	margin-bottom: 20px;
}

div.pod h2 {
	text-align: center;
}

div.brainFunctionsList {
	clear: both;
    margin-bottom: 30px;
    overflow: hidden;	
}

/********* layout metaphorically section *********/

div.miniSection {
	width: 100%;
	position: relative;
	clear: both;
    margin-bottom: 20px;
}

.miniSection h2 {
    transform: rotate(-90deg);
    position: absolute;
    width: 355px;
    top: 168px;
    left: -169px;
    text-align: right;
}

section#metaphorically .containIt {
	max-width: 642px;
}

div.info {
	width: 100%;
	float: right;
	padding-left: 30px;
}

div.info img {
	float: right;
	width: 30%;
	clear: both;
	margin-left: 10px;
	margin-bottom: 10px;
}

/****** layout realistically section *******/

div.oneThird {
	width: 31%;
	float: left;
	margin-right: 3.5%;
	position: relative;
	overflow: hidden;
}

div.oneThird:last-child {
	margin-right: 0;
}

span.moreText {
	display: none;
}

section#realistically {
	min-height: 60vh;
}


/********************* animations ************************/

.slideOutRight {
	position: relative;
	right: 0;
	opacity: 1;
}

.slideOutRight.activate {
	right: -2000px;
	opacity: 0;
}

.slideOutLeft {
	position: relative;
	left: 0;
	opacity: 1;
}

.slideOutLeft.activate {
	left: -2000px;
	opacity: 0;
}

.slideInRight {
	position: relative;
	right: -2000px;
	opacity: 0;
}

.slideInRight.activate {
	right: 0;
	opacity: 1;
}

.slideInLeft {
	position: relative;
	left: -2000px;
	opacity: 0;
}

.slideInLeft.activate {
	left: 0;
	opacity: 1;
}

.slideUpOut {
	position: relative;
	top: 0;
	opacity: 1;
}

.slideUpOut.activate {
	top: -600px;
	opacity: 0;
}

.fadeIn {
	opacity: 0;
}

.fadeIn.activate {
	opacity: 1;
}

.slideInUp {
	position: relative;
	bottom: -300px;
	opacity: 0;
}

.slideInUp.activate {
	bottom: 0;
	opacity: 1;
}

.slideDownUp {
	position: relative;
	top: -300px;
	opacity: 0;
}

.slideDownUp.activate {
	top: 0;
	opacity: 1;
}

h2.slideInUp2 {
	top: 500px;
	opacity: 0;
}

h2.slideInUp2.activate {
	top: 168px;
	opacity: 1;
}

.slideDownInitially {
	animation-name: slideDownInitially;
	-webkit-animation-name: slideDownInitially;	
	animation-duration: .5s;	
	-webkit-animation-duration: .5s;
	animation-timing-function: ease;	
	-webkit-animation-timing-function: ease;		
	visibility: visible !important;	
}

@keyframes slideDownInitially {
	0% {
		transform: translateY(-100px);
	}
	100% {
		transform: translateY(0);
	}
}

@-webkit-keyframes slideDownInitially {
	0% {
		transform: translateY(-100px);
	}
	100% {
		transform: translateY(0);
	}
}

.slideLeftInitially {
	animation-name: slideLeftInitially;
	-webkit-animation-name: slideLeftInitially;	
	animation-duration: .8s;	
	-webkit-animation-duration: .8s;
	animation-timing-function: ease;	
	-webkit-animation-timing-function: ease;		
	visibility: visible !important;	
}

@keyframes slideLeftInitially {
	0% {
		transform: translateX(150%);
	}
	100% {
		transform: translateX(0%);
	}
}

@-webkit-keyframes slideLeftInitially {
	0% {
		-webkit-transform: translateX(150%);
	}
	100% {
		-webkit-transform: translateX(0%);
	}
}

.slideRightInitially {
	animation-name: slideRightInitially;
	-webkit-animation-name: slideRightInitially;	
	animation-duration: .8s;	
	-webkit-animation-duration: .8s;
	animation-timing-function: ease;	
	-webkit-animation-timing-function: ease;		
	visibility: visible !important;	
}

@keyframes slideRightInitially {
	0% {
		transform: translateX(-150%);
	}
	100% {
		transform: translateX(0%);
	}
}

@-webkit-keyframes slideRightInitially {
	0% {
		-webkit-transform: translateX(-150%);
	}
	100% {
		-webkit-transform: translateX(0%);
	}
}

.fadeInInitially {
	animation-name: fadeInInitially;
	-webkit-animation-name: fadeInInitially;	
	animation-duration: 1.5s;	
	-webkit-animation-duration: 1.5s;
	animation-timing-function: ease;	
	-webkit-animation-timing-function: ease;	
	visibility: visible !important;	
}

@keyframes fadeInInitially {
	0% {
		opacity: 0.0;		
	}
	100% {
		opacity: 1;	
	}	
}

@-webkit-keyframes fadeInInitially {
	0% {
		opacity: 0.0;		
	}
	100% {
		opacity: 1;	
	}		
}

.fadeAndGrowInitially {
	animation-name: fadeAndGrowInitially;
	-webkit-animation-name: fadeAndGrowInitially;	
	animation-duration: .5s;	
	-webkit-animation-duration: .5s;
	animation-timing-function: ease-in;	
	-webkit-animation-timing-function: ease-in;	
	visibility: visible !important;	
}

@keyframes fadeAndGrowInitially {
	0% {
		transform: scale(.5);
		opacity: 0.0;		
	}
	100% {
		transform: scale(1);
		opacity: 1;	
	}		
}

@-webkit-keyframes fadeAndGrowInitially {
	0% {
		-webkit-transform: scale(.5);
		opacity: 0.0;		
	}
	100% {
		-webkit-transform: scale(1);
		opacity: 1;	
	}		
}



/************* media queries *********************************************************************/

@media screen and (min-width: 801px) {
	
	nav ul {
		display: block !important;
	}
	
}

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

	nav div.menuType {
		display: block;
	}

	div.menuButton {
		display: block;
	}

	nav div.containIt > a {
		display: block;
		text-align: center;
	    position: relative;
		top: 15px;	
	}
	
	nav ul {
	    margin-top: 0px;
	    position: absolute;
	    padding-top: 151px;
	    width: 100%;	
	    top: 105px;	
	    background: #1895AE;
		height: 262px;
		border-bottom: 5px solid #7FD21C;
	}
	
	nav ul li {
		float: none;
		width: 100%;
		text-align: center;
		line-height: 30px;
		margin-bottom: 12px;
	}

	nav ul li a {
		text-shadow: none;
		color: #fff;
	}

	img#mainTitle {
		margin: 100px auto 40px;
	}

	div.info img {
		width: 30%;
	}

	nav div.containIt {
		width: 100%;
	}

	div.oneThird {
		float: none;
		width: 100%;
		margin-right: 0;
		margin-bottom: 20px;
	}

}

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

	section#traditionally div#brainFunctionsTerms {
		width: 100%;
	}

}


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

	article.containIt {
		width: 90%;
	}
	
	section#intro div.leftColumnRightAligned {
		text-align: left;
		float: none;
		width: 100%;
		margin-right: 0;
	}
	
	section#intro div.rightColumnLeftAligned {
		text-align: left;
		float: none;
		width: 100%;
		margin-right: 0;
		margin-left: 0;
		margin-top: 20px;
	}
	
	div.centeredPainting {
		width: 100%;
	}
		
	div.centeredPainting img {
		width: 100%;
	    display: block;
	    margin-bottom: 10px;
	    border: 5px solid #1895AE;
	}
	
	div.centeredPainting div.leftSide, div.centeredPainting div.rightSide {
		float: none;
		text-align: left;
		width: 100%;
	}
	
	div.titleHeader div.left100, div.titleHeader div.right100 {
		display: none;
	}
	
	div#miniIntro div.leftColumnRightAligned, div#miniIntro div.rightColumnLeftAligned {
		float: none;
		width: 100%;
		margin: 0;
		text-align: left;
	}
	
	section#traditionally div#brainFunctionsList {
		margin-top: 0;
	}
		
	section#traditionally div#brainFunctionsTerms {
		margin-top: 0;
	}
	
	section#traditionally, section#metaphorically, section#realistically {
		margin-top: 10px;
		clear: both;
	}
	
	section#intro {
		margin-top: 50px;
	}

	div.info img {
		width: 80%;
		display: block;
		margin: 15px auto;
		float: none;
	}

	body section#metaphorically h2 {
		position: relative;
		transform: none;
	    top: auto;
	    left: -300px;
	    text-align: left;
	}

	body h2.slideInUp2 {
		top: auto;
		opacity: 0;
		left: -300px;
	}

	body section#metaphorically h2.slideInUp2.activate {
		top: auto;
		opacity: 1;
		left: 0;
	}

	div.info {
		float: none;
		padding-left: 0;
	}

	img#mainTitle {
		max-width: 100%;
	}

}
