@import url('https://fonts.googleapis.com/css?family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700|Open+Sans:300,700|Vesper+Libre:500,700,900|Quattrocento:700|Montserrat:ital,wght@0,300;0,500;0,700;0,800;1,300;1,500;1,700;1,800');

body {
    font-family: 'Inria Sans', 'Montserrat', 'Open Sans', sans-serif;
    font-weight: lighter;
    background: #b88a37;
}

body.dark {
    background: black;
    color: white;
}

h1, h2, h3 {
    text-align: center;
    font-family: "Vesper Libre", "Quattrocento", Georgia, 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 30pt;
    margin-bottom: 5px;
    line-height: 80%;
}

h2 {
    font-size: 14pt;
    font-style: italic;
    font-family: 'Montserrat', 'Inria Sans', 'Open Sans', sans-serif;
    font-weight: lighter;
    color: #555;
    margin-bottom: 5px;
}

h3 {
    font-size: 10pt;
    font-style: italic;
    font-family: 'Montserrat', 'Inria Sans', 'Open Sans', sans-serif;
    font-weight: lighter;
    color: #555;
}

.dark h2, .dark h3 {
    color: #666;
}

.header {
    padding-top: 3em;
    padding-bottom: 3em;
}

h3.written-in-ink {
    font-size: 9pt;
    font-family: sans-serif;
    text-align: center;
    font-weight: 700;
    position: fixed;
    display: block;
    width: 100%;
    background: white;
    margin: 0;
    padding-top: 6px;
    padding-bottom: 6px;
    top: 0;
}

.dark h3.written-in-ink {
    background: black;
}


/* Seems necessary to make iframes work on itch.io on mobile iOS :-( */
.outerContainer {
    position: absolute;
    display: block;
    margin: 0;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    overflow: scroll;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.container {
    display: block;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 4em;
    background: #f3ddb4;
}

.dark .container {
    background: black;
}

p {
    font-size: 13pt;
    color: #222;
    line-height: 1.7em;
    /* font-weight: lighter; */
}

a {
    font-weight: 700;
    color: #853d09;
    /*font-family: sans-serif;*/
    font-family: 'Montserrat', 'Inria Sans', 'Open Sans', sans-serif;
    transition: color 0.6s;
    text-decoration: none;
    text-shadow: -1px -1px 1px #151005, 2px 2px 1px #f5f0c5;
}

.dark a {
    color: #cc8f1a;
    transition: color 0.6s;
}


a:hover {
    color: black;
    transition: color 0.1s;
}

.dark a:hover {
    color: white;
}

strong {
    color: black;
    font-weight: bold;
}

.dark strong {
    color: white;
}

img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.container .hide {
    opacity: 0.0;
}

.container .invisible {
    display: none;
}

.container * {
    opacity: 1.0;
    transition: opacity 1.0s;
}

p.choice {
    text-align: center;
    line-height: 1.7em;
}

/* first choice */
:not(.choice) + .choice {
    padding-top: 1em;
}


p.choice a {
    font-size: 15pt;
}

/* Built in class if you want to write:
     The End # CLASS: end
*/
.end {
    text-align: center;
    font-weight: bold;
    color: black;
    padding-top: 20px;
    padding-bottom: 20px;
}

.dark .end {
    color: white;
}
