/*  
Theme Name: The Work of Matt Lanham
Author: Matt Lanham
Author URL: http://www.mattlanham.com
*/

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

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;
}

/* Global */

html {
    font-size: 10px;
    word-wrap: break-word;
}
body {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: #eaeaea;
}
h1 {
    margin-bottom: 5rem;
	font-family: 'Noto Serif', serif;
	font-size: 6em;
	color: #666;
	text-align: left;
	text-transform: uppercase;
    font-weight: 400;
    font-style: italic;
    line-height: 6rem;
}
h2 {
    margin-bottom: 5rem;
	font-family: 'Noto Serif', serif;
	font-size: 4em;
	color: #666;
	text-align: left;
	text-transform: uppercase;
    font-weight: 400;
    font-style: italic;
    line-height: 4rem;
}
p {
	font-family: 'Open Sans', sans-serif;
	font-size: 2em;
	font-weight: 300;
	font-style: normal;
	color: #999;
	text-align: left;
	line-height: 1.6em;
	margin-bottom: 2rem;
}
em {
    font-style: italic;
}
strong {
	font-weight: 500;
}
a {
	color: inherit;
	text-decoration: none;
}

/* Navigation */

.header {
	position: relative;
	width: 100%;
	height: 10rem;
	top: 0;
    background: #FFF;
    overflow: hidden;
    z-index: 50;
}
.header img.logo {
	position: relative;
    float: left;
	width: 17.5rem;
    top: 3.25rem;
}
.header a.home {
    position: relative;
    float: left;
	width: 17.5rem;
    height: 10rem;
    margin-left: 3.5%;
    border-bottom-width: 0;
    border-bottom-style: solid;
    border-bottom-color: none;
    z-index: 100;
    transition: all .3s ease-in-out;
}
.header a.home:hover {
    height: 9.2rem;
    border-bottom-width: 1.2rem;
}
.header a {
    float: right;
    height: 10rem;
    margin-right: 1.75%;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
	font-size: 2em;
	font-style: normal;
	text-align: left;
    text-decoration: none;
    text-transform: lowercase;
    color: #333333;
	line-height: 10rem;
	background: none;
    border-bottom-width: 0;
    border-bottom-style: solid;
    border-bottom-color: none;
    z-index: 100;
    transition: all .3s ease-in-out; 
}
.header a:hover {
    height: 9.2rem;
    border-bottom-width: 1.2rem;
}
.header a.email {
    margin-right: 3.5%;
}

/* Thumbnails */

.spacer_header {
    position: relative;
    width: 100%;
    height: 7.5rem;
    clear: both;
}
.post_thumbnail {
    position: relative;
	float: left;
	width: 12.58%;
    margin-left: 3.5%;
    margin-bottom: 4.5rem;
}
.post_thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
}
.post_thumbnail_cover {
    position: absolute;
    width: 100%;
    height: 100%;
	top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
    overflow: hidden;
	z-index: 50;
	transition: all .3s ease-in-out;
    transform-style: preserve-3d;
}
.post_thumbnail:hover .post_thumbnail_cover {
	background: #00aaff;
}
.post_thumbnail_text {
    position: relative;
    top: 50%;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
	font-size: 3.6em;
	font-style: normal;
	color: #333333;
    text-align: center;
    text-transform: lowercase;
	background: none;
	text-decoration: none;
    transition: all .3s ease-in-out;
    transform: translateY(-50%);
}
.post_thumbnail_border {
	position: absolute;
	left: 0;
	right: 0;
    top: 0;
	bottom: 6rem;
	border-bottom-style: solid;
	border-bottom-width: 0;
	border-bottom-color: none;
    overflow: hidden;
    z-index: 50;
    transition: all .3s ease-in-out;
}
.post_thumbnail:hover .post_thumbnail_border {
	border-bottom-width: 1em;
}
a.post_thumbnail_title {
    display: block;
    position: relative;
    width: 100%;
    height: 5rem;
	font-family: 'Noto Serif', serif;
	font-size: 2.2em;
	color: #666;
	text-align: left;
	text-transform: uppercase;
    font-weight: 400;
    font-style: italic;
    line-height: 2.5rem;
    margin-top: 1rem;
    transition: all .3s ease-in-out;
}

/* Article */

.article_text {
    float: left;
    width: 23%;
    margin-left: 3.5%;
}
.article_text ul {
    width: 100%;
    margin-bottom: 4.5rem;
}
.article_text li {
    font-family: 'Open Sans', sans-serif;
	font-size: 2em;
	font-weight: 300;
	font-style: normal;
	color: #808080;
	text-align: left;
	line-height: 1.6em;
    margin-bottom: 0.5rem;
}
.article_text a {
    font-style: italic;
    text-decoration: underline;
    transition: all .3s ease-in-out;
}
.article_text a:hover {
    color: #00aaff;
}
.article_images {
    float: right;
    width: 70%;
}
.article_images_caption {
    display: block;
    float: left;
    margin-right: 0;
    margin-bottom: 5rem;
    margin-left: 5%;
}
.article_images a {
    font-style: italic;
    text-decoration: underline;
    transition: all .3s ease-in-out;
}
.article_images a:hover {
    color: #00aaff;
}
.article_images img {
    display: block;
    float: right;
    width: 90%;
    height: 90%;
    margin-right: 5%;
    margin-bottom: 5rem;
}
.article_images img.image_vertical {
    display: block;
    float: left;
    width: 42.5%;
    height: 42.5%;
    margin-right: 0;
    margin-bottom: 5rem;
    margin-left: 5%;
}

/* Footer */

.spacer_footer {
    position: relative;
    width: 100%;
    height: 5rem;
    clear: both;
}
.footer {
	position: relative;
	width: 100%;
	height: 5rem;
	bottom: 0;
	text-align: center;
    background: #fff;
    z-index: 50;
}
.footer_text {
    float: right;
    height: 5rem;
    margin-right: 3.5%;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
	font-size: 1.6em;
	font-style: normal;
	text-align: left;
    text-decoration: none;
    text-transform: lowercase;
    color: #333;
	line-height: 5rem;
	background: none;
    z-index: 100;
}



/* Media Queries */

@media all and (max-width: 1700px) {
	html {
        font-size: 8px;
    }
}

@media all and (max-width: 1350px) {
	html {
        font-size: 6px;
    }
    .post_thumbnail {
	   width: 15.8%;
    }
}

@media all and (max-width: 1000px) {
	html {
        font-size: 5px;
    }
	h1 {
		font-size: 5em;
		line-height: 5rem;
	}
	.post_thumbnail {
		width: 25%;
		margin-left: 6.25%;
		margin-bottom: 4.5rem;
	}
	a.post_thumbnail_title {
		height: 5rem;
		font-family: 'Noto Serif', serif;
		font-size: 1.5em;
		line-height: 1.75rem;
	}
    .article_images {
		float: right;
		width: 100%;
	}
	.article_images img.image_vertical {
        width: 90%;
        height: 90%;
    }
	.article_text {
		float: left;
		width: 90%;
		margin-left: 3.5%;
	}
}

@media all and (orientation: portrait) {
    .article_text {
        width: 56%;
        margin-left: 7%;
        margin-bottom: 10em;
    }
    .article_images {
        float: left;
        width: 93%;
        margin-left: 3.5%;
    }
}

@media all and (orientation: portrait) and (max-width: 1100px) {
    html {
        font-size: 8px;
    }
	h1 {
		font-size: 5em;
		line-height: 5rem;
	}
	.post_thumbnail {
		width: 38%;
		margin-left: 8%;
		margin-bottom: 4.5rem;
	}
    .article_images img.image_vertical {
        width: 90%;
        height: 90%;
    }
	.article_text {
		float: left;
		width: 90%;
		margin-left: 3.5%;
	}
}