/* the presence of two mutually exclusive rules on the same line indicates backwards compatibility */

html {
    background-image: url("../images/Chaconne.png");
    background-size: cover;
    background-attachment: fixed;
    filter: sepia(10%);
}

body {
    color: white;
    background-color: #33483d;
    font-family: "DejaVu Serif", serif;
    max-width: 50em; max-width: 50rem;
    margin: 2em auto; margin: 2rem auto;
    padding: 1em 2em 1em; padding: 1rem 2rem 1rem;
    border: 0.35em solid darkseagreen; border: 0.35rem solid darkseagreen;
}

section {
    padding: 1em 0; padding: 1rem 0;
    text-align: justify;
    font-size: 12pt; font-size: 1rem;
    line-height: 1.5;
    text-indent: 3em; text-indent: 3rem;
    hyphens: auto; -webkit-hyphens: auto;
}

footer {
    border-top: 0.2em solid white; border-top: 0.15rem solid white;
    font-size: 10pt; font-size: 0.83rem;
    text-align: right;
    font-style: italic;
}

hr {
    color: white;
}

h3 {
    font-family: Helvetica, Arial, "Liberation Sans", sans-serif;
    text-align: center;
    text-indent: 0;
}

h4 {
    font-style: italic;
    padding-bottom: 1em; padding-bottom: 1rem;
}

dl {
    text-indent: initial;
}

dt {
    font-style: italic;
    font-size: 11pt; font-size: 0.92rem;
    display: block;
    margin: 2em 0 0.5em; margin: 2rem 0 1rem;
    font-weight: bold;
}

dd {
    text-indent: 3em; text-indent: 3rem;
}

.lifespan {
    /*for content on left side of footer*/
    float: left;
}

a {
    color: skyblue;
    hyphens: none; -webkit-hyphens: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    color: pink;
}

nav {
    border-top: 5px dotted white; border-top: 0.3125rem dotted white;
    border-bottom: 5px dotted white; border-bottom: 0.3125rem dotted white;
    padding: 1em; padding: 1rem;
    font-family: "Liberation Sans", sans-serif;
    font-weight: bold;
    font-size: 13pt; font-size: 1.083rem;
    text-align: center;
}

.button {
    display: inline-block;
    color: black;
    background-color: lightgrey;
    text-decoration: none;
    padding: 2px 6px; padding: 0.125rem 0.375rem;
    border: 2px solid black; border: 0.125rem solid black;
    margin: 2px 0; margin: 0.125rem 0;
}

.button:hover {
    background-color: lightblue;
}

.button:active {
    background-color: dimgrey;
    color: white;
    border: 2px solid white; border: 0.125rem solid black;
}

.button.currentpage {
    background-color: darkkhaki;
}

.pictureframe {
    display: inline-block;
    max-width: 100%;
    border: 5px solid lightgrey; border: 0.3125rem solid lightgrey;
}

/*classes .right and .left are for positioning in-paragraph images*/

.right {
    float: right;
    margin-left: 2em; margin-left: 2rem;
}

.left {
    float: left;
    margin-right: 2em; margin-right: 2rem;
}
