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



/* CUSTOM CODE */


html {
    width: 100%;
    scroll-behavior: smooth;
}
article {
    width: 100%;
}
.intro {
    width: 60%;
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 125px;
    margin-bottom: 150px;
}
.right {
    float: right;
    width: 15%;
    padding-right: 10%;
}
.rightlittle {
    float: right;
    width: 5%;
    padding-right: 10%;
    padding-top: 24px;
}
.rightalt {
    float: right;
    width: 30.5%;
    padding-right: 10%;
    padding-top: 36px;
}
.full {
    width: 100%;
    padding-top: 32px;
    padding-bottom: 60px;
}
.fulllast {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 180px;
}
.link {
    padding-top: 36px;
}
.morespace {
    padding-bottom: 48px;
}
.lessspace {
    margin-bottom: 60px
}
.blue {
    padding-top: 18pt;
    color: rgb(1, 119, 163);
}
.yellow {
    color: rgb(241, 172, 34);
}
.red {
    color: rgb(191, 39, 47);
}
.green {
    color: rgb(48, 119, 43);
}
.last {
    display: none;
}
.back {
    margin-left: 20%;
    padding-bottom: 180px;
    font-family: din-condensed, sans-serif;
    font-size: 2em;
    line-height: inherit;
    letter-spacing: 1px;
    color: black;
    text-decoration: none;
}
nav {
    padding: 18px;
    font-family: din-condensed, sans-serif;
    font-size: 1.5em;
    line-height: 0em;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: fixed;
    z-index: 100;
}
nav a {
    display: block;
    padding: 15% 15%;
    color: black;
    text-decoration: none;
}
h1 {
    margin-left: 20%;
    margin-bottom: 50px;
    font-family: din-condensed, sans-serif;
    font-weight: 500;
    font-size: 4.5em;
    line-height: inherit;
    width: 33%;
}
h2 {
    margin-left: 20%;
    margin-bottom: 18px;
    font-family: din-condensed, sans-serif;
    font-size: 2em;
    line-height: inherit;
    letter-spacing: 1px;
}
h3 {
    margin-left: 15%;
    margin-bottom: 8px;
    width: 30%;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 1.25em;
    line-height: 1.5em;
}
h4 {
    margin-left: 15%;
    margin-bottom: 18px;
    width: 30%;
    font-family: din-condensed, sans-serif;
    font-size: 1.5em;
    line-height: 1.25em;
    letter-spacing: 1px;
    text-transform: uppercase;
}
h5 {
    margin-left: 20%;
    margin-bottom: 180px;
    width: 25%;
    font-family: ff-meta-serif-web-pro, serif;
    font-size: .75em;
    line-height: 1.5em;
    font-style: italic;
}
p {
    margin-left: 20%;
    margin-bottom: 8px;
    width:25%;
    font-family: ff-meta-serif-web-pro, serif;
    font-size: .75em;
    line-height: 1.5em;
}
figure {
    position: relative;
    width: 100%;
}
figcaption.full {
    width: 50%;
    opacity: 0;
    position: absolute;
    bottom: 6em;
    left: 6em;
    font-family: ff-meta-serif-web-pro, serif;
    font-size: .5em;
    line-height: 1.5em;
    z-index: 100;
}
figure:active img.full{
    opacity: .2;
}
figure:active figcaption {
    opacity: 1;
}
@media (min-width: 320px) and (max-width: 480px) {
    h1 {
        font-size: 2.5em;
        width: 50%;
    }
    h2 {
        font-size: 1.5em;
    }
    h3 {
        width: 50%;
        font-size: .75em;
        line-height: 1.25em;
    }
    h4 {
        width: 50%;
        font-size: .75em;
        line-height: 1em;
    }
    h5 {
        margin-bottom: 36px;
        width: 50%;
        font-size: .625em;
    }
    p {
        width:50%;
        font-size: .625em;
    }
    .right {
        width: 20%;
        padding-right: 5%;
    }
    .rightalt {
        display: none;
    }
    .rightlittle {
        display: none;
    }
    nav {
        width: 100%;
        background: white;
    }
    nav a {
        padding: 0 6%;
        display: inline-block;
    }
    .last {
        width: 100%;
        display: block;
    }
    .linkone {
        padding-top: 24;
    }
    figure:hover img.full{
        opacity: 1;
    }
    figure:hover figcaption {
        opacity: 0;
    }
    figure:active img.full{
        opacity: .2;
    }
    figure:active figcaption {
        opacity: 1;
    }
}
