@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,700|Quattrocento:700');

body {
    font-family: 'Roboto', sans-serif;
    background: white;
}

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

h1, h2 {
    text-align: center;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 43pt;
    font-family: 'U.S. 101';
    margin-bottom: 10px;
    color: OldLace;
}

h2 {
    font-size: 24pt;
    font-style: italic;
    font-family: sans-serif;
    color: #BBB;
}

.dark h2 {
    color: #F8DCA7;
}

.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;
}

h6 {
  font-size: 24pt;
  font-family: 'Baskerville Old Face';
  color: DarkRed;
}


/* 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: white;
    background-repeat: repeat-y;
}

.dark .container {
    background: black;
}

p {
    font-size: 15pt;
    color: OldLace;
    line-height: 1.7em;
}

a {
    font-weight: 700;
    color: #005C8A;
    font-family: sans-serif;
    transition: color 0.6s;
    text-decoration: none;
}

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


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

.dark a:hover {
    color: OldLace;
}

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

.dark strong {
    color: OldLace;
}

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: 18pt;
}

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