/*
-----------------------------------------------

HANDWRITTEN IN ERDING

----------------------------------------------- */



/*
-----------------------------------------------

RESET

----------------------------------------------- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
		margin: 0;
	    padding: 0;
	    border: 0;
	    outline: 0;
	    vertical-align: baseline;
	    background: transparent;
	    -webkit-text-size-adjust: 100%;
	    font-feature-settings: "liga" 0, "clig" 0;
		-moz-font-feature-settings: "liga" 0, "clig" 0;
		-ms-font-feature-settings: "liga" 0, "clig" 0;
		-o-font-feature-settings: "liga" 0, "clig" 0;
		-webkit-font-feature-settings: "liga" 0, "clig" 0;
		text-rendering: optimizeLegibility;
}

html {
		height: 100%;
		-ms-text-size-adjust: none;
		-webkit-text-size-adjust: none;
}

body {
	    line-height: 1;
}


/*
-----------------------------------------------

CONTAINER

----------------------------------------------- */

        .containerSmall {
            width: 672px;
            margin: 0 auto;
        }
    
        .containerMedium {
            width: 1280px;
            margin: 0 auto;
        }
        
        .containerLarge {
            width: 100vw;
            margin: 0 auto;
        }

        .containerSmall img, .containerSmall, .containerMedium img, .containerLarge img {
            padding-top: 2em;
            padding-bottom: 2em;
        }

        header {
            width: 998px;
            margin: 0 auto;    
        }


/*
-----------------------------------------------

TYPE

----------------------------------------------- */

body {
    font-family: 'nimbus-sans', sans-serif;
    font-size: 100%;
    font-weight: 300!important;
}

h1 {

    font-size: 1.3em;
    line-height: 1.1em;
    font-weight: 400;
    margin-top: 6px;
}


h2 {   
    font-family: 'ivypresto-display', serif;
    font-size: 6.5em;
    font-weight: 100;
    font-style: italic;
}

h3 {
    font-size: 1.4em;
    font-weight: 400;
    line-height: 1.3em;
    margin-bottom: 0.5em;
    padding-top: 4em;
}

p {
    font-size: 1.2em;
    line-height: 1.6em;
    padding-bottom: 4em;
}


/*
-----------------------------------------------

BASIC STYLES

----------------------------------------------- */

::selection {
    background-color: #7370e9;
    color: #fff;
}

header {
    padding-top: 4em;
}

article {
    margin-top: 12em;
}

.title {
    border-bottom: 2px solid #222;
    margin-bottom: 1em;
}

aside {
    text-align: right;
    margin-bottom: 3em;
}

aside span {
    margin-right: 8px;
}

img {
    width: 100%;
    height: auto;
    position: relative;
}

a {
    color: #888;
    text-decoration: none;
    transition: all 0.25s ease-in;
}

a:hover {
    color: #7370e9;
}

.title {
	border-bottom: 2px solid #222;
    padding-bottom: 1em;
}

.date {
    margin-bottom: 8px;
}

footer {
    margin-top: 6em;
    padding-bottom: 12em;
    text-align: center;
}

figure {
    position: relative;
}

figcaption {
    position: absolute;
    width: 10%;
    bottom: 5em;
    left: 2.6em;
    font-size: 0.8em;
    color: #fff;
    line-height: 1.05em;
}

.parallax {
    min-height: 1200px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 2em;
    margin-bottom: 2em;
}

.p1 { background-image: url("../img/bus2.jpg"); }
.p2 { }
.p3 { }
.p4 { }
.p5 { }


/*
-----------------------------------------------

RESPONSIVE

----------------------------------------------- */

@media only screen and (max-width: 1300px) {
    
    body {
        font-size: 85%;
    }
    
    h2 {
        font-size: 5.5em;
    }
    
    .containerSmall, header {
        width: 75%;
    }
    
    .containerMedium {
        width: calc(100vw - 48px); 
    }
    
    .containerLarge {
        width: calc(100vw - 48px);
    }
    
    .containerSmall img, .containerMedium img, .containerLarge img {
        padding-top: 0.725em;
        padding-bottom: 0.725em;
    }
    
    .parallax {
        min-height: 1000px;
        margin-top: 0.725em;
        margin-bottom: 0.725em;
    }
    
    figcaption {
        bottom: 3.4em;
        width: 20%;
    }
    
}

@media only screen and (max-width: 600px) {
    
    body {
        font-size: 90%;
    }
    
    h2 {
        font-size: 4.5em;
    }
    
    .containerSmall, .containerMedium, .containerLarge, header {
        width: calc(100vw - 62px);
    }
    
    .containerSmall img, .containerMedium img, .containerLarge img {
        padding-top: 0.85em;
        padding-bottom: 0.85em;
    }
    
    article {
        margin-top: 6em;
    }
    
    h3 {
        padding-top: 2em;
    }

    p {
        padding-bottom: 2em;
    }
    
    .parallax {
        display: none;
        margin-top: 0.85em;
        margin-bottom: 0.85em;
        background-attachment: scroll;
        background-size: contain;
    }
    
    figcaption {
        width: 50%;
    }
    
}