@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Raleway:wght@500&display=swap');

body {
	font-family: 'Open Sans', sans-serif;
	font-weight: lighter;
	background: #eeeeee;
	color: black;
}

body.dark {
	background: #1d1f21;
	color: #888;
}

h1, h2 {
	text-align: center;
	font-family: "Raleway", Raleway, 'Times New Roman', Times, serif;
	margin: 0;
	padding: 0;
	color: #BBB;
}

.dark h1 {
	color: #3fcc88;
}

.dark h2 {
	color: #2b7b53;
}

h1 {
	font-size: 30pt;
	margin-bottom: 10px;
}

h2 {
	font-size: 14pt;
	font-style: italic;
	font-family: sans-serif;
	font-weight: lighter;
}

.header {
	padding-top: 3em;
	padding-bottom: 3em;
}

#written-in-ink {
	font-family: sans-serif;
	font-size: .9em;
	position: fixed;
	background: white;
	padding: 5px;
	top: 10px;
	right: 25px;
}
.dark #written-in-ink {
	background: #282a2e;
}
.pageclear #written-in-ink {
	position: absolute;
	right: 10px;
}


#save-load {
	background-color: white;
	position: fixed;
	top: 10px;
	left: 10px;
	font-size: .9em;
	padding: 5px
}
.dark #save-load {
	background-color: #282a2e;
}
.pageclear #save-load {
	position: absolute;
}

#save-slot {
	color: black;
	background: white;
}
.dark #save-slot {
	color: white;
	background: #282a2e;
}

/* Seems necessary to make iframes work on itch.io on mobile iOS :-( */
#outerContainer {
	position: fixed;
	-webkit-overflow-scrolling: touch;
	overflow: auto;
	display: block;
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
}
.pageclear #outerContainer  {
	position: absolute;
	-webkit-overflow-scrolling: auto;
	overflow: visible;
}

.container {
	display: block;
	max-width: 600px;
	margin: 0 auto;
	padding: 20px;
	padding-top: 4em;
	text-align: justify;
	text-justify: inter-word;
}

.dark .container {
	/* background: black; */
}

p {
	font-size: 14pt;
	line-height: 1.7em;
	font-weight: lighter;
}

.dark p {
}

a {
	font-weight: 700;
	color: #5f89ac;
	font-family: sans-serif;
	transition: color 0.6s;
	text-decoration: none;
	cursor: pointer;
}

.dark a {
	color: #5f89ac;
	transition: color 0.6s;
}


a:hover {
	color: black;
	transition: color 0.1s;
}

.dark a:hover {
	color: white;
}

strong {
	font-weight: bold;
}

.dark strong {
}

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;
	padding-top: 20px;
	padding-bottom: 20px;
}

.dark .end {
}

#back_button {
	display: none;
}
