@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&family=Gentium+Book+Basic:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
	font-family: 'Gentium Book Basic', serif;
    background: white;
	color: black;
}

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

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

h1 {
    font-size: 30pt;
    margin-bottom: 10px;
	color: black;
}

h2 {
    font-size: 14pt;
    font-style: italic;
    font-family: sans-serif;
    font-weight: lighter;
    color: black;
}

.dark h2 {
    color: #666;
}

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


/* 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;
    background: white;
	color: black;
}

.dark .container {
    background: black;
}

p {
    font-size: 13pt;
    color: Black;
    line-height: 1.7em;
}

a {
    font-family: 'Courier Prime', monospace;
	font-weight: 700;
    color: Blue;
    transition: color 0.6s;
    text-decoration: none;
}

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


a:hover {
    font-family: 'Courier Prime', monospace;
	color: black;
    transition: color 0.1s;
}

.dark a:hover {
    color: white;
}

.codecomment {
    color: green;
	font-size: 12pt;
	font-style: italic;
	font-family: 'Courier Prime', monospace;
}

.title {
	font-weight: bold;
	text-decoration: underline;
}

.broken {
	color: red;
	font-family: 'Courier Prime', monospace;
}

.intro {
	font-family: 'Courier Prime', monospace;
}

.copyright {
	font-size: 10pt;
	font-style: italic;
	font-family: 'Courier Prime', monospace;
}

.letter {
	font-style: italic;
	font-style: bold;
	text-align: center;
}

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