/* 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 CSS */


html {
    font-family: URW Din, sans-serif;
    background-color: #eae5df;
}

html * {
    box-sizing: border-box;
}

/* NAVIGATION */

nav a {
    display: block;
}

nav a#hamburger {
    width: 2.5em;
    height: 2.5em;
/*    padding: 0.5em;*/
    float: right;
    display: none;
}

nav a#hamburger div {
    height: 1px;
    width: 1.5em;
    background: #598217;
    transition: .2s ease-in-out all;
}

nav a#hamburger div:nth-child(1) {
    position: absolute;
    top: .625em;
}

nav a#hamburger div:nth-child(2) {
    position: absolute;
    top: 1.25em;
}

nav a#hamburger div:nth-child(3) {
    position: absolute;
    top: 1.875em;
}

nav ul {
    display: flex;
    float: right;
    padding-right: 2em;
}

nav ul li a {
    background: none;
    text-decoration: none;
    color: #B5A594;
    padding: 2em;
}

nav ul li a:hover {
   color: #598217;
}

/* NAVIGATION */


img#header {
    width: 300px;
    height: auto;
    position: absolute;
    padding: 2em;
}

img#map {
    width: 70%;
    padding: 150px 0 0 0;
}

aside {
    padding: 120px 0 0 40px;
    position: fixed;
    top: 80px;
    right: 50px;
    max-width: 300px;
    height: 500px;
    background: rgba(198,189,179,0.3);
    border-radius: 45px;
    z-index: 3;
}

h1 {
    font-size: 2em;
    color: #598217;
    padding-bottom: 30px;
}

p {
    padding: 10px;
    color: #B5A594;
}

p:hover {
    color: #598217;
}

@media screen and (max-width: 600px) {
    
    /* NAVIGATION */
    
    nav {
        position: relative;
    }
    
    nav a#hamburger {
        display: block;
        z-index: 2;
        position: relative;
    }

    nav a#hamburger.x div:nth-child(1) {
        position: absolute;
        top: 1.25em;
        transform: rotate(45deg);
        transform-origin: center center;
    }

    nav a#hamburger.x div:nth-child(2) {
        position: absolute;
        top: 1.25em;
        opacity: 0;
    }

    nav a#hamburger.x div:nth-child(3) {
        position: absolute;
        top: 1.25em;
        transform: rotate(-45deg);
        transform-origin: center center;
    }
    
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        margin-right: -50%;
        transition: .3s ease-out all;
    }
    
    nav ul.visible {
        margin-right: 0;
    }
    
    nav ul li a {
        border-bottom: 1px solid #B5A594;
        padding-right: 3.5em;
    }
    
    nav ul li:first-child a {
        border-top: 1px solid #B5A594;
    }

    /* NAVIGATION */

    img#header {
        width: 150px;
        height: auto;
        position: absolute;
        padding: 2em;
    }

    img#map {
        width: 100%;
        padding: 150px 0 0 0;
    }

    aside {
        display: block;
        float: center;
        padding: 120px 0 0 50px;
        position: relative;
        max-width: 400px;
        height: 500px;
        background: rgba(198,189,179,0.3);
        border-radius: 45px;
        z-index: 3;
    }

    h1 {
        font-size: 2em;
        color: #598217;
        padding-bottom: 30px;
        padding-left: 50px;
    }

    p {
        padding: 10px;
        color: #B5A594;
        padding-left: 50px;
    }

    p:hover {
        color: #598217;
    }
}