/* © 2016-2017
	Timothy Garcia
	timothygarcia.ca
	@eighthree
*/




.cta-button {
	font-family: "raleway", sans-serif;
	text-decoration: none;
	font-weight: 700;
	display: inline-block;
	color: #fff;
	text-align: center;

	padding: .5em 1.5em;
	background: #c32262;
	border-radius: 1.5em;
}

.cta-button:hover {
	background: #000;
	transition: background-color 0.5s ease-in-out 0.2s;
}

.site-container {
	width: 79.06295754%;
	margin: 0 auto -10em auto;
	min-height: 100%;
}

.site-container:after {
  content: "";
  display: block;
  height: 10em;
}


.site-header {
	display: flex;
	flex-wrap:wrap;
	align-items: flex-start;
	justify-content: flex-start;

    position: fixed;
    top: 0px;
    left: 0px;
    bottom: 0px;
    width: 25%;

    background-color: rgba(255,255,255,.75);
    box-shadow: 0px 5px 50px 0px rgba(0, 0, 0, 0.12);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);

	padding-top: 10%;

}


/* Start Site Logo*/
/* Primary Header: Top 73 / 1218 = 0.05993431856*/
/* Width: 335 / 1080 = 0.3101851852*/
.site-logo {
	width: 100%;
}

.site-logo a {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	color: #000;
	text-decoration: none;

}

.site-logo a:hover {
	color: #c32262;
}

.site-logo #logo {
	font-family: 'raleway', sans-serif;
	font-size: 1.5em ;/*22px*/
	font-weight: bold;
	text-transform: uppercase;
	width: 100%;
	display: block;
	padding-left: 20%;
}

.site-logo #title {
	width: 50%;
	display: block;
	margin-top: .5em;
	margin-left: 20%;
	font-family: 'raleway', sans-serif;
	font-size: 1em ; /* 16 px*/
	font-weight: 100;
	text-transform: lowercase;
}

/* End Site Logo*/

.shapes-float {
	z-index: -1;
    top: 50%;
    left: 0px;
    bottom: 0px;
    width: 25%;
}

/* Start Site Navigation*/
.site-navigation {
	/*width: 36.75925926%;*/
	width: 100%;
	margin-left: 20%;
	display: block;
}

.site-navigation ol {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.site-navigation ol li {
	display: inline-block;
	width: 100%;
	margin-bottom: 1.5em;
}

.site-navigation ol li a {
	font-family: 'raleway', sans-serif;
	font-weight: bold;
	font-size: 1.2em;
	color: #c32262;
	text-decoration: underline;
}

.site-navigation ol li a.active-link {
	color: #000;
	text-decoration: none;
}

.site-navigation ol li a:hover {
	color: #fff;
	background: #000;
}

.tag-about, .tag-contact, .tag-portfolio { margin: 2.5em 0 2.5em 0; }

.nav-active {
}

.site-navigation .nav-active a {
	color: #fff;
	padding: .5em .5em;
	background: #000;
}
/* End Site Navigation*/

/* INDEX ONLY Start Site Feature*/
.index-feature {
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	flex-wrap:wrap;
	width: 85%;
	height: 100%;
	margin-top: 10%;
	margin-left: 25%;
}

.index-feature .brief-introduction {
	flex-grow: 2;
	width:100%;
	height: auto;
	text-align: center;
	font-family: 'raleway', sans-serif;
	font-size: 20px;
	font-weight: 100;
	line-height: 1.875em;
}

.index-feature .brief-introduction span {
	display: inline-block;
	width: 70%;
	margin: 5% auto 5% auto;
}

.index-feature .feature-col-left {
	flex-grow: 1;
	width: 50%;
	margin: 0 auto;
	height: auto;
}

.index-feature .feature-col-right {
	flex-grow: 1;
	width: 50%;
	margin: 0 auto;
	height: auto;
}

.index-feature .label-action {
	font-family: 'raleway', sans-serif;
	font-size: 1em;
}


.index-feature .feature-col-left .index-frame {
	display: block;
	z-index: 0;
	width: 20%;
	height: 10em;
	border: 3px solid #000;
	position: absolute;
	margin: 10% auto auto -20px;
}

.index-feature .feature-col-left .label-action {
	margin: 9.515599343% auto auto 18.48148148%;
}

.index-feature .feature-col-left .cta {
	display: flex;
	z-index: 1;
	align-items: center;
	width: 97%;
	height: 17em;
	background-color: #c32262;
	background-size: cover;
	background-position: center center;
	background-image: url('../assets/images/timothy_wallpaper.jpg');
	background-blend-mode: multiply;
	position: relative;
}

.index-feature .feature-col-right .index-frame {
	display: block;
	z-index: 0;
	width: 97%;
	height: 17em;
	border: 3px solid #000;
	position: relative;
}

.index-feature .feature-col-left .index-frame .label-action a, .index-feature .feature-col-right .index-frame .label-action a {
	color: #c32262;
	line-height: 1.875em;
	font-size: 1.125em;
}

.index-feature .feature-col-left .index-frame .label-action a:hover, .index-feature .feature-col-right .index-frame .label-action a:hover {
	color: #fff;
	background: #000;
}

.index-feature .feature-col-left .cta a  {
	display: flex;
	font-family: 'raleway', sans-serif;
	color: #fff;
	font-weight: bold;
	font-size: 1.625em;
	width: 100%;
	height: 100%;
	align-items: center;
    justify-content: center;

}

.index-feature .feature-col-left .cta a span {
	display: block;
}

.index-feature .feature-col-left .cta a:hover {
	color: #fff;
	background: rgba(0, 0, 0, 0.59);
}

.index-feature .feature-col-right .cta {
	display: block;
	z-index: -1;
	width: 100%;
	position:relative;
	float:right;
	margin: -50.272578% auto auto auto;
}

.index-feature .feature-col-right .cta .coloured-shapes {
	width: 70%;
	transform: scale(1);
	float:right;
}

.index-feature .feature-col-right .label-action {
	margin-left: 10%;
	margin-top: 20%;
}
/* End Site Feature*/


/* Start About Page */
.content-wrapper {
	display: flex;
	flex-wrap: wrap;
	min-height: 100%;
	font-family: 'raleway', sans-serif;
	width: 85%;
	margin: 15% 0 auto 25%;
}

.content-introduction {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	width: 100%;
}

.content-introduction h1 {
	width: 100%;
	flex-grow: 2;
	font-size: 1.5em;
	margin-bottom: 1.75em;
}

.content-introduction p {
	width: 45%;
	font-size: .87em;
	line-height: 1.75em;
}

.content-introduction p a { color: #c32262; }
.content-introduction p a:visited { color: #000; }
.content-introduction p .cta-button:visited { color: #fff; }

.content-introduction p a:hover {
	color: #fff;
	background: #000;
}

.content-introduction img {
	width: 100%;
	vertical-align: top;
	margin-bottom: 1.75em;
}

.accolades {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	align-content: flex-start;
	justify-content: space-between;
	width: 100%;
	margin: 1.75em 0;
}


.accolades h1 { flex-grow: 3; width: 100%; height: auto; margin: 1.75em auto 1.75em auto; display: block; }
.accolades-entry {  display:block; width: 32%; color: #000;  font-size: .8em; line-height: 1.75em; text-decoration: none;  }
.accolades-entry:hover strong  { font-weight: bold; }

.accolades-entry .linked-in-source { display: block; width: 100%; margin-top: 1.75em; }


.technical-overview {
	width: 65%;
	margin: 1.75em 1.75em 0 0 ;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-content: flex-start;
}
.real-life { width: 30%; margin: 1.75em 0; 	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-content: flex-start;
}

.technical-overview h1, .real-life h1 { width: 100%; display: block; height: 1.75em;}

.technical-overview ol {
	width: 30%;
	font-size: .85em;
	margin: 1em 1em 0 0;
}
.real-life ol { width: 43%; font-size: .85em; margin: 1em 1em 0 0;}

.technical-overview ol:nth-of-type(2) { order: 2; }
.real-life-subhead, .technical-overview-subhead {
	font-weight: bold;
}

.technical-overview ol li, .real-life ol li {
	margin: .9em 0;
}
.books { display: block; margin: 1.75em 0 10em 0; width: 100%; height: auto; }

.gr_grid_container {
  /* customize grid container div here. eg: width: 500px; */
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
  width: 100%;
}

.gr_grid_book_container {
  /* customize book cover container div here */
  width: 15.0079%;
  margin: 1em 1em 0 0;
}

.gr_grid_container img { border: 0; }


.gr_grid_book_container a {
	display: block;
	width: 100%;
	height: auto;
	overflow: hidden;
}

.gr_grid_book_container a img {
	display: block;
	width: 100%;
	vertical-align: middle;
}

.gr_grid_book_container a:hover img {
	-webkit-transform: scale(1.2); transform: scale(1.2); transition: ease-in-out 2s;
}

.gr_grid_branding { width: 100%; display: none; }
/* End About Page */

/* Start Contact */
.about-content-wrapper {
	min-height: 50%;
	font-family: 'raleway', sans-serif;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 10% 0 auto auto;
}

.about-content-introduction {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	align-content: flex-start;
	justify-content: space-between;
	width: 100%;
}

.about-content-introduction p strong {
	font-weight: bold;
}
.robot-emoji:hover:after {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1em;
  display:inline-block;
  zoom: 1.2;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%, 80% {
    transform: translate3d(1px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-1px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(1px, 0, 0);
  }
}

.robot-emoji:after {
	padding: 0 .5em;
	content:"\1F916";
	display:inline-block;
}
/* End Contact */



/* Portfolio Gallery */
.work { width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	margin: 1.75em 0 5em 0;
}

.work h1, .work p { width: 100%; margin-bottom: 1.75em; }
.work p { font-size: .9em; line-height: 1.75em; }
.work .note { font-size: .8em; margin-top: 1.75em;}

.work-column { font-size: .87em; line-height: 2em; }
.work-column li span { text-transform: uppercase; font-size: .8em;}

.work-image-gallery { display: flex; flex-wrap: wrap; justify-content: space-between; align-content: space-between; width: 100%;}
.work-image-gallery li { width: 48%; padding: 1em 0;}
.work-image-gallery li a { display: block; width: 100%; height: auto; overflow: hidden; }
.work-image-gallery li a:hover img { -webkit-transform: scale(1.5); transform: scale(1.5); transition: ease-in-out 2s;}
.work-image-gallery li a img { -webkit-transform: scale(1.3); transform: scale(1.3); width: 100%; }

/* Work Gallery Grid */
.gallery-grid {
	width: 100%;
	height: auto;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	justify-content: space-between;
	margin: 1.75em 0 0 0;
}

.gallery-grid figure { width: 100%; margin: 0 0 3.75em 0;  }
.gallery-grid figure:last-child { margin-bottom: 0; }
.gallery-grid figure:last-child ul.gallery-item-attr { padding-bottom: 0;}
.gallery-grid figure img { width: 100%; height: auto; margin-bottom: 1.75em; border: 1px solid #efefef;}
.gallery-grid figure figcaption h2 { font-size: 1.3em; }

.gallery-grid ul.gallery-item-attr {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	font-size: .8em;
	line-height: 2;
	margin-top: 1.75em;
	padding-bottom: 2.75em;
}

.gallery-grid .gallery-item-attr li {
	display: inline-block;
	margin-bottom: 1em;
	width: auto;
}

.gallery-grid .gallery-item-attr li:first-child { width: 40%; }
.gallery-grid .gallery-item-attr li a { color: #c32262; }

.gallery-grid .gallery-item-attr li a:hover {
	color: #fff;	background: #000;
}

.gallery-grid .gallery-item-attr li strong {
	font-weight: bold;
	clear: right;
	display: inline-block;
}

/*  Is this the real life? Is it just fantasy?
	Creates the illusion of border. Also acts as a dumb back to top button.
*/
.illusion {
	display: inline-block;
	width: auto;
	color: #000;
	text-decoration: none;

	font-family: 'raleway', sans-serif;
	font-size: .75em;
	font-weight: bold;
	border-bottom: 1px solid #000;

	text-align: center;

	-webkit-transform: rotate(270deg);
	-webkit-transform-origin: left top;
	-moz-transform: rotate(270deg);
	-moz-transform-origin: left top;
	-ms-transform: rotate(270deg);
	-ms-transform-origin: left top;
	-o-transform: rotate(270deg);
	-o-transform-origin: left top;
	transform: rotate(270deg);
	transform-origin: left top;
	margin: .5em auto;
	padding-bottom: 10px;

}

.illusion a { text-decoration: none; color: #000; }
.illusion a:hover { background-color: #000; color: #fff; }

/* Start Site Footer*/
.site-footer {
	z-index: 5;
	width: 75%;
	height: 10em;
	font-family: courier;
	font-size: .73em;
	line-height: 1.5em;
	padding: 2em 0 2em 0;
	margin-top: 8%;
	margin-left: 25%;
	bottom: 0;
	display: block;

    background-color: rgba(255,255,255,.75);
    -webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

.footer-container {
	display: flex;
	justify-content: space-between;
	width: 79.06295754%;
	margin: 0 auto;
}

.footer-container .subnav ol {
	display: flex;
	justify-content: space-between;
}

.footer-container .subnav li { display: inline-block; padding: .5em; }
.footer-container .subnav li a { color: #000; font-weight: bold; }
/* End Site Footer*/


/* RESPONSIVE/ADAPTIVE Breakpoints*/
@media screen and (min-width: 2000px ) {
	body { font-size: 20pt; }
	.index-feature { height: 100%; }
	.index-feature .brief-introduction { font-size: 1.5em; }
	.index-feature .feature-col-left .cta { height: 75%;}
	.index-feature .feature-col-right .index-frame { height: 75%; }
	.index-feature .feature-col-left .index-frame { height: 20%; }
}


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

	.site-header {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
    position: inherit;
    top: 0px;
    left: 0px;
    bottom: 0px;
    width: 100%;
    position: fixed;
    height: 10em;
    z-index: 9999;
	box-shadow:none;
    background-color: rgba(255,255,255,.75);
	padding-top: 0;
	}

	.shapes-float { display: none; }

	.index-feature {
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	flex-wrap:wrap;
	width: 100%;
	height: auto;
	margin-left: 0%;
	padding-top: 13em;
	}

	.index-feature .feature-col-right .cta .coloured-shapes
	{
		display: block;
		width:45%;

	}


	.site-footer {
	z-index: 5;
	width: 100%;
	height: 10em;
	font-family: courier;
	font-size: .73em;
	line-height: 1.5em;
	padding: 2em 0 2em 0;
	margin-top: 8%;
	margin-left: 0%;
	bottom: 0;
	display: block;
	}

	.site-navigation ol li {
		display: inline-block;
		width: 100%;
		margin-bottom: 0;
	}

	.site-logo #logo { margin: 0 auto;}

	.site-navigation ol li { width: auto; }
	.site-navigation ol li a { font-size: 1em; }

	.site-container { width: 85%; }
	.index-feature { margin-top: 0; }
	.brief-introduction { font-size: 1.2em; }
	.content-wrapper { width: 100%; margin: 0 auto; }


	.site-logo {
		order: 2;
		flex-wrap: wrap;
		align-items:center;
		justify-content:center;
		width: 100%;
		padding: 0;
		margin: 1.75em auto 0 auto;

	}

	.site-header .site-logo a {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		color: rgba(0, 0, 0, 1);
		text-decoration: none;
	}
	.site-logo #logo { padding: 0; }
	.site-logo a #logo {  font-size: 2em; width: 100%; text-align: center; }
	.site-logo a #title { font-size: 1.75em; width: 100%; text-align: center; margin-left: 0; }



	.shrink { height: 3em;
		 -webkit-transition:  height 1s, -webkit-transform 1s;
		 transition: height 1s, transform 1s;
		 -webkit-backdrop-filter: blur(5px);
		 backdrop-filter: blur(5px);
    	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.12);
	}
	.shrink .site-logo a #logo {
		width: 50%;
		display: none;
	}
	.shrink .site-logo a #title {
		width: 50%;
		display: none;
	}

	.site-navigation { order: 1; width: 85%; margin: 1em auto 0 auto; }


	/* Index Page */
	.index-feature { flex-wrap: wrap; padding-top: 10em; }

	.index-feature .brief-introduction {
		flex-grow: 1;
		width: 100%;
		height: auto;
		font-size: 1.2em;
		margin-bottom: 10%;
	}

	.index-feature .feature-col-left .cta, .index-feature .feature-col-right .index-frame { width: 100%; }
	.index-feature .brief-introduction span { width: 100%; margin-top: 10%; }
	.index-feature .feature-col-left {	flex-grow: 1; width: 100%; margin: 0 auto 10% auto; height: auto; }
	.index-feature .feature-col-right {	flex-grow: 1; width: 100%; padding-top: 5em; margin: 0 auto 0 auto; height: auto; }
	.index-feature .feature-col-right .label-action {
    	margin-left: 10%;
		margin-top: 8em;
	}
	.index-feature .feature-col-right .cta .coloured-shapes { width: 50%; }
	/* End Index */


	/* About Page */
	.content-introduction p { width: 100%; margin-bottom: 1.75em;}
	.work-column { width: 100%; }
	.accolades { margin-top: 5%; }
	.accolades h1 { flex-grow: 3; width: 100%; margin: auto auto 1.75em auto; }
	.accolades-entry {  width: 100%;  margin: 1.75em auto auto auto; }
	.accolades-entry .linked-in-source { display: block; width: 100%; margin-top: 5%; padding-bottom: 1.75em; border-bottom: 1px solid #efefef; }

	.gr_grid_book_container { width: 27.8%; margin: 1em 5.531% 0 0;}

	.technical-overview, .real-life { width: 100%; }
	.technical-overview ol:nth-of-type(4) { width: 100%; }

	.real-life ol, .technical-overview ol { width: 45%; }
	.real-life ol li, .technical-overview ol { margin: 1.75em 0; }
	/* End About*/

	/* Work / Etc */
	.content { text-align: center; }
	.gallery-grid .gallery-item-attr li:first-child { width: 100%; }
	.gallery-grid .gallery-item-attr li:nth-of-type(n+3) { width: 25%; }

	.work-image-gallery li { width: 100%; padding: 1em 0;}

	/* Footer */
	.footer-container { flex-wrap: wrap; }
	.copyright { width: 100%; text-align: center; }

	.subnav {
		border-top: 1px solid #000;
		width: 100%;
		margin-top: 1em;
		padding-top: 1em;
	}

	.illusion { display:  none; }

}

