/* Step #1 - Eric Meyer's Reset */

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



/* Fonts /////////////////////////////////////////////////////////////////////*/
@font-face {
    font-family: 'trashcinema_bbregular';
    src: url('/css/fonts/trashcinemabb-webfont.woff2') format('woff2'),
         url('/css/fonts/trashcinemabb-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cryptcreep_bbregular';
    src: url('/css/fonts/cryptcreep_bb_reg-webfont.woff2') format('woff2'),
         url('/css/fonts/cryptcreep_bb_reg-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* Custom Styles /////////////////////////////////////////////////////////////*/

sup {
    font-size: smaller;
    vertical-align: super;
}

i, em {
    font-style: italic;
}

b, strong {
    font-weight: bold;
}

body {
    background: black;
    color: white;
    font-family: 'cryptcreep_bbregular', sans-serif;
    font-size: 16px;
}

#masthead {
    text-align: center;
    background: black;
    padding: 40px 0;
    color: white;
}

#masthead .main-title {
    font-family: 'trashcinema_bbregular';
    font-size: 8em;
}

.main-title a {
    color: white;
    text-decoration: none;
}

article.comic .strip {
    margin: 0 auto;
    display: block;
    width: 100%;
}

article.page {
    margin: 0 auto;
    padding: 40px;
    max-width: 100%;
    font-size: 4em;
}

article.page h2 {
    font-size: 1.5em;
    border-bottom: solid 3px black;
    margin-bottom: 20px;    
}

article.page p {
    font-family: 'Bitter', serif;
    font-size: 0.25em;
    margin-bottom: 1em;
    line-height: 1.3em;
}

#masthead .navigation {
    border-top: solid 3px white;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    border-bottom: solid 3px white;
    padding: 5px 0;
}

#masthead .navigation li {
    display: inline-block;
    width: 24%;
    font-size: 3.5em;
}

#masthead .navigation li a {
    color: white;
    text-decoration: none;
}

#masthead .navigation li a:hover,
#masthead .navigation li a:active,
#masthead .navigation li a:focus {
    text-decoration: underline;
}

#masthead .description {
    margin: 20px 0;
    font-size: 4em;
}

#content {
    color: black;
    background: white;
}

#siteinfo {
    color: white;
    background: black;
    font-size: 1.5em;
    text-align: center;
    font-family: 'cryptcreep_bbregular';
    padding: 20px 0;
}

.comic-navigation {
    text-align: center;
    padding-top: 40px;
}

.strip + .comic-navigation {
    padding-top: 0;
    padding-bottom: 40px;
}

.comic-navigation a {
    background: none;
    border: none;
    display: inline-block;
    font-family :'trashcinema_bbregular';
    font-size: 8em;
    text-align: center;
    width: 150px;
    line-height: 0.75em;
    cursor: pointer;
    color: #318b11;
    margin: 0;
    padding: 0 10px;
    text-decoration: none;
}

.comic-navigation a:hover,
.comic-navigation a:focus {
    color: black;
}

.comic-navigation a.inactive,
.comic-navigation a.inactive:hover,
.comic-navigation a.inactive:focus {
    pointer-events: none;
    color: #ccc;
}

article.page a,
article.page a:visited {
    color: #318b11;
}

article.page a:hover,
article.page a:focus,
article.page a:active {
    color: #1EA8FF;
}

article.page .reference {
    margin-bottom: 0.25em;
}

article.page .reference i {
    font-size: 0.75em;
}

@media only screen and (min-width: 1000px) {

    #masthead .main-title {
        font-size: 4em;
    }

    #masthead .navigation {
        max-width: 400px;
    }

    #masthead .navigation li {
        font-size: 1.75em;
    }

    #masthead .description {
        font-size: 2em;
    }

    .comic-navigation a {
        font-size: 4em;
        text-align: center;
        width: 75px;
    }

    article.comic .strip {
        max-width: 400px;
    }

    article.page {
        font-size: 2em;
        max-width: 600px;
        padding: 20px 0;
    }

    article.page p {
        font-size: 0.5em;
    }
}