/* ######## START OF MEYER 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;
}

/* ######## END OF MEYER RESET ######## */

/* ######## = = = = LAYOUT & UNIVERSAL FONT SETTINGS = = = =  ######## */

* {
    box-sizing: border-box;
   } 

body {
    background-color: #dae6e2;
    font-family: 'Anek Telugu', Verdana, Geneva, Tahoma, sans-serif;
    color: #38524a;
    line-height: 1.4;
    font-size: 1em;
}

header, footer {
    text-align: center;
    background-color: #bdd2cc;
}

main {
    margin: 2em;  
}

p, div, header, footer {
    padding: 1em;
}

main p {
    width: 80%;
    text-align: justify;
}

nav li {
    padding: 0 1em;
}

/* Index page quote bubble */
div {
    margin: auto;
    width: 40%;
    border: 3px dashed #4a6c62;
    background-color: #bdd2cc;
}

/* Object pages quote bubbles */
p + div {
    float: right;
    margin: 1.5em;
    width: 20%;
}

/* Object page images  */
main img {
    float: left;
    /* lining the image up nicely next to the text */
    margin: 5px 1em;
    } 

/* Navs - Index thumbnails & object page footers */
nav ul {
    display: flex;
    justify-content: center;
    padding: 0.5em;
    background-color: #bdd2cc;
}

footer nav ul li {
    display: flex;
    font-size: 1.2em;
    margin-right: 3.5em;
}

footer nav ul li:first-of-type {
    margin-right: auto;
}

/* = = = = TYPOGRAPHY SPECIFICS = = = = */
header {
    font-family: 'Chango', 'Brush Script MT', Georgia, 'Times New Roman', cursive;
    font-size: 3em;
    margin-bottom: 1em;
}

h2 {
    font-size: 1.5em;
    font-weight: bold;
}

/* make paras easier to read by not stretching them across the page */
main p {
    width: 80%;
    text-align: justify;
}

q {
    font-style: italic;
}

a {
    font-weight: bold;
    color: inherit;
}

/* = = = = EXTRAS - INDEX THUMBNAILS = = = =  */
a img {
    border-radius: 15%;
}

a img:hover {
    opacity: .5;
}
