/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */

html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}/* Harássment CSS: pages and chapters */

* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 10px browser default */
}

body {
    margin: 0;
    padding: 0;
    text-align: justify;
    font-family: 'Special Elite', Georgia, 'Times New Roman', serif;
    color: #000;
    background-color: #f5f5f5;
}

article {
    text-align: justify;
    /* css hyphens! */
    hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    margin: 0 auto;

    /* need enough top margin to make sure content starts below fixed nav */
    margin-top: 4em;
}

header {
    /* this header is hidden; used only to create a sufficient lead for chapter text. For that it must mimic the nav header */
    width: 100%;
    margin: 0 auto;
    text-align: center;
    /* NOT USING THIS FEATURE ANYMORE since we'd have to duplicate the whole nav, not just the h1 */
    /*visibility: hidden;*/
    display: none;
}

h1, h2 {
    text-align: center;
    font-weight: normal;
    margin: 0;
}

.content,
.bottom-nav-links {
    font-family: Lora, Georgia, 'Times New Roman', serif;
}

div.chapter:before {
    content: "\007E";
    display: block;
    color: #D85942;
    text-align: center;
    font-family: 'Special Elite', Georgia, 'Times New Roman', serif;
}

.content p,
.content div {
    /* this removes space between paragraphs */
    margin-top: 0;
    margin-bottom: 0;
    text-indent: 0;
}


.noindent {
    text-indent: 0 !important;
}

.bottom-nav-links {
    text-align: center;
}

.signed {
    text-align: left;
}

div.toc {
    text-align: center;
}
/* Harássment CSS: nav and footer sections */

nav,
footer {
    /* headers and footers use the same background styling */
    margin: 0;
    background: #191919 url(../img/nav-footer-bg.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    color:  #f5f5f5;
    font-family: 'Special Elite', Georgia, 'Times New Roman', serif;
}

/**** NAV BAR (top) ****/

nav {
    text-align: center;
    font-size: 1.7rem;
    line-height: 2.3rem;
    padding: 0.5em 1em;
    width: 100%;
    z-index: 99;
    opacity: 0.8;
    transition: opacity .3s ease-in-out;
}

nav .hide-small {
    display: none;
}

nav .hide-big {
    display: initial;
}

nav:hover {
    opacity: 1;
}

nav > div.nav-link {
    display: inline-block;
}


/**** COMMON FOOTER (bottom) ****/

footer {
    display: block;
    text-align: center;
    padding: 1em 0.5em;
    font-size: 1.8rem;
}

footer > div {
    padding: 0;
    /*border: 1px solid red;*/
}

footer img {
    display: block;
    margin: 0 auto;

}

footer ul {
    list-style: none;
    padding-left: 0;
}

#footer-cover > img {
    box-shadow: 3px 3px 8px #D85942;
    margin-bottom: 1em;
}

#footer-license > img {
    padding: 1em 0;
}

footer > div > p:first-of-type {
    text-transform: uppercase;
    border-bottom: 1px solid rgba(245, 245, 245, 0.4);
    padding-top: 0;
    padding-bottom: 0.5em;
    font-size: 1.1em;
}

p.footer-note {
    max-width: 400px;
    font-size: 90%;
    text-align: center;
    margin: 0 auto;
}


/* 640px and above */
@media only screen and (min-width: 40em) {
    nav {
        position: fixed;
        top: 0;
        font-size: 1.9rem;
    }

    article {
        margin-top: 13em;
    }

    footer {
        font-size: 2rem;
    }

    footer li {
        display: inline-block;
    }

    footer li:not(:first-of-type):before {
        content: "\2022  ";
        color: #D85942;

    }

    p.footer-note {
        font-size: 85%;
    }

}

/* display :before and :after for nav links only until nav becomes a grid */
@media only screen and (max-width: 49.9em) {
    #nav-link-prev:before {
        content:  "\00AB  ";
        color: #D85942;
    }

    #nav-link-toc:before,
    #nav-link-toc:after {
        content:  "  \2022  ";
        color: #D85942;
    }

    #nav-link-next:after {
        content:  "  \00BB";
        color: #D85942;
    }
}

/* 800 px - use grid from here on */
@media only screen and (min-width: 50em) {
    nav {
        display: grid;
        grid-template-columns: 2fr 1fr 4fr 1fr 2fr;
        grid-template-areas:
            "nav_link_home nav_link_prev nav_title nav_link_next nav_link_toc";
        align-items: center;
        justify-items: center;
        font-size: 2rem;
    }

    #nav-link-home {
        font-size: 2.5rem;
    }

    #nav-link-prev,
    #nav-link-next {
        font-size: 4rem;
    }

    nav small {
        font-size: 65%;
    }

    nav .hide-small {
        display: initial;
    }

    nav .hide-big {
        display: none;
    }


    #nav-link-home {
        grid-area: nav_link_home;
        transform: rotate(-8deg);
    }

    #nav-title {
        grid-area: nav_title;
        max-width: 600px;
    }

    #nav-link-prev {
        grid-area: nav_link_prev;
    }

    #nav-link-toc {
        grid-area: nav_link_toc;
    }

    #nav-link-next {
        grid-area: nav_link_next;
    }


    footer {
        display: grid;
        padding: 1em 1em;
        font-size: 2rem;
        grid-template-columns: 2fr 1fr 2fr;
        grid-template-areas:"footer_nav footer_cover footer_license";
        align-items: top;
        justify-content: center; /* has no effect */
    }

    footer li {
        display: block;
        padding-bottom: 0.75em;
    }

    footer li:not(:first-of-type):before {
        content: "";
    }

    #footer-nav {
        text-align: right;
        grid-area: footer_nav;

    }

    #footer-cover {
        grid-area: footer_cover;
        align-self: center;
        justify-self: center;
        padding: 0 1em;
    }

    #footer-license {
        text-align: left;
        grid-area: footer_license;

    }

    p.footer-note {
        margin: 0;
        text-align: left;
        font-size: 80%;
    }

    footer img {
        margin: 0;
    }
}

/* 1200px and above */
@media only screen and (min-width: 75em) {

    #nav-link-home {
        font-size: 3rem;
    }

    #nav-link-prev,
    #nav-link-next {
        font-size: 6rem;
    }

    #nav-link-toc {
        font-size: 3rem;
    }


   footer {
        font-size: 2.3rem;
    }

    #footer-cover {
        padding: 0 1.5em;
    }

}









/* Harássment CSS: links */

/* default links on pages  */

a {
    color: #D85942;
    text-decoration: none;
    transition: all 0.3s ease-in;
}

a:focus { outline: thin dotted; }

a:visited {
    color: #D85942;
}

a:hover,
a:visited:hover {
    color: #F5F5F5;
    background-color: #D85942;
    text-decoration: underline;
    }

/* special props for frontpage and ToC links  */

.toc a {
    font-weight: bold;
    display: inline-block;
    padding: 0 10px;
    text-transform: uppercase;
}

/* links in nav and footer sections */

nav a,
footer a,
#frontpage-cover a {
    color: #F5F5F5;
    text-decoration: none;
    display: inline;
    padding: 0;
}

nav a:visited,
footer a:visited,
#frontpage-cover a:visited {
    color: #F5F5F5;
}

nav a:hover, nav a:visited:hover,
footer a:hover, footer a:visited:hover,
#frontpage-cover a:hover, #frontpage-cover a:visited:hover {
    color: #D85942;
    text-decoration: none;
    background: transparent;
    text-transform: none;
}

/* no underline on hover for burger menu */
#burger a:hover {
    text-decoration: none;
}/* Harássment CSS: sizing, media queries */

body {
    font-size: 1.7rem;
    line-height: 2.3rem;
}

article {
    max-width: 560px; /* do not use em here; use 600px or 45-50rem */
    padding-left: 1rem;
    padding-right: 1rem;
}



h1 {
    font-size: 2.3rem;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    line-height: 2.5rem;
}

h1 > small,
h2 > small {
    font-size: 75%;
}

.content {
    margin-bottom: 2em;
    font-size: 1.7rem;
    line-height: 1.6em;
}

.content:before {
    font-size: 4rem;
    margin-bottom: 0.5em;
}

.content > p + p,
.content > div + p {
    text-indent: 1em;
}

div.song {
    margin: 1em 0;
    margin-left: 1em;
    font-size: 95%;
}

div.letter {
    margin-top: 2em;
    margin-left: 1em;
    margin-right: 1em;
}

.song > p,
.letter > p,
.list > p {
    text-indent: 0;
    margin-top: 1em;
    margin-bottom: 1em;
}

.signed {
    padding-left: 30%;
}


.bottom-nav-links {
    font-size: 1.7rem;
    margin: 2em 0;
}

div.pub-note {
    margin-top: 1em;
    margin-bottom: 1em;
}


/* 360px and above */
@media only screen and (min-width: 23em) {
    article {
        padding-left: 2em;
        padding-right: 2em;
    }

    h1 {
        font-size: 2.7rem;
        line-height: 2.7rem;
    }

    h1 > small,
    h2 > small {
        font-size: 80%;
    }

    .content {
        font-size: 1.9rem;
    }

    .content > p + p,
    .content > div + p {
        text-indent: 2em;
    }

    div.song {
        margin-left: 2em;
    }

    div.letter {
        margin-left: 2em;
        margin-right: 2em;
    }

    .bottom-nav-links {
        font-size: 1.8rem;
    }
}

/* 640px and above */
@media only screen and (min-width: 40em) {
    h1 {
        font-size: 3rem;
        line-height: 3rem;
    }

    h1 > small,
    h2 > small {
        font-size: 80%;
    }

    div.song {
        margin: 1em 0;
        margin-left: 2em;
        font-size: 90%;
        line-height: 1.5em;
    }

    .bottom-nav-links {
        font-size: 1.8rem;
    }
}

/* 800 px - prevent too wide margins around content */
@media only screen and (min-width: 50em) {
    article {
        max-width: 600px; /* do not use em here; use 600px or 45-50rem */
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* 940px and above */
@media only screen and (min-width: 60em) {
    article {
        max-width: 650px; /* do not use em here; use 600px or 45-50rem */
    }

    h1 {
        font-size: 3.5rem;
        line-height: 3rem;
    }

    .content {
        font-size: 2rem;
    }

    .content:before {
        font-size: 6rem;
    }

    .bottom-nav-links {
        font-size: 2.1rem;
    }
}

/* 1200px and above */
@media only screen and (min-width: 75em) {
    article {
        max-width: 720px; /* do not use em here; use 600px or 45-50rem */
    }

    h1 {
        font-size: 4rem;
        line-height: 4rem;
    }

    .content {
        font-size: 2.1rem;
    }

    .content:before {
        font-size: 7rem;
    }

    .bottom-nav-links {
        font-size: 2.2rem;
    }
}