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

body {
    font-family: 'Crimson Text', serif;
	font-weight: lighter;   
    background: #5E4AE3;
 /*   
    background: white;
 */   
    overflow: hidden;
}

@media screen and (prefers-reduced-motion: no-preference) {
    body.switched {
        transition: color 0.6s, background-color 0.6s;
    }
}

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

h2 {
    font-size: 14pt;
    font-style: italic;
    font-family: sans-serif;
    font-weight: lighter;
    background: #5E4AE3;
  /*  
    color: #BBB;
  */  
}

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

/*
  Built-in class:
    # author: Name
*/
.byline {
    font-style: italic;
}

.written-in-ink {
    z-index: 3;
    font-size: 9pt;
    font-family: sans-serif;
    text-align: center;
    font-weight: 700;
    position: fixed;
    display: block;
    width: 100%;
 /*   
    background: white;
  */
    background: #5E4AE3;  
    margin: 0;
    padding-top: 6px;
    padding-bottom: 6px;
    height: 14px;
    top: 0;
}

@media screen and (prefers-reduced-motion: no-preference) {
    .written-in-ink {
        transition: color 0.6s, background 0.6s;
    }
}

/* 
  Enables <iframe> support work on itch.io when using mobile iOS
*/
.outerContainer {
    position: absolute;
    display: block;
    margin: 0;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    overflow: scroll;
    overflow-x: hidden;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    margin-top: 24px;
    background-size: cover;
    background-repeat: no-repeat;
}

@media screen and (max-width: 980px) {
    .outerContainer {
        margin-top: 44px;
        background-size: cover;
        background-repeat: no-repeat;
    }
}

.container {
    display: block;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 4em;
 /*   
    background: white;
 */
    background: #5E4AE3;   
    padding-bottom: 4em;
}

.container2 {
 /*   
    color: orange;
*/
    background: white;
	font-style: italic;
	/* font-weight: bold; */
	font-family: 'Open Sans', sans-serif;

}

.ending {
    
    
	font-weight: bold;
	text-align: center; 
	font-family: 'Open Sans', sans-serif;

}

@media screen and (prefers-reduced-motion: no-preference) {
    .switched .container {
        transition: background-color 0.6s;
    }
}

/* ====================== LIGHT THEME ============================ */




p {
    font-size: 13pt;

/*
	color: #d3d3d3;
*/
	color: #E8E8E8;    
    line-height: 1.7em;
    font-weight: lighter;
}

a {

    font-weight: 700;    
/*    
    color: #b97c2c;
*/
	color: #76F9E3;    
    font-family: sans-serif;
    text-decoration: none;
}

.unclickable {
    font-weight: 700;
 /*   
    color: #c4af87;
 */
    background: #5E4AE3;   
    font-family: sans-serif;
    text-decoration: none;
    cursor: not-allowed;
}

a:hover {
/*    color: black;
*/
	color: white;
}

@media screen and (prefers-reduced-motion: no-preference) {
    a {
        transition: color 0.6s;
    }

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

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

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

.container .hide {
    opacity: 0.0;
}

.container .invisible {
    display: none;
}

.container>* {
    opacity: 1.0;
}

@media screen and (prefers-reduced-motion: no-preference) {
    .container>* {
        transition: opacity 1.0s;
    }
}

/*
  Class applied to all choices
  (Will always appear inside <p> element by default.)
*/
.choice {
    text-align: center;
    line-height: 1.7em;
}

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

/*
  Class applied to choice links
*/
.choice a, .choice span {
    font-size: 15pt;
}

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

#controls {
    z-index: 4;
    font-size: 9pt;
    text-align: center;
    padding-bottom: 6px;
    position: fixed;
    right: 14px;
    top: 4px;
    user-select: none;
    background: #5E4AE3;
 /*   
    background: white;
 */   
}

@media screen and (prefers-reduced-motion: no-preference) {
    #controls {
        transition: color 0.6s, background 0.6s;
    }
}

#controls [disabled] {
    color: #ccc;
    background: #5E4AE3;
}

#controls>*:not(:last-child):after {
    content: " | ";
}

@media screen and (max-width: 980px) {
    #controls {
        z-index: 2;
        padding-top: 24px;
        top: 0;
        left: 0;
        right: 0;
    }
}

/* 
  Dark Theme (Added in Inky 0.10.0)
    # theme: dark
*/


/* BODY DARK IS BG COLOR */

body.dark {
/*	background: MidnightBlue; */
/*    background: black; */
/*	background: DarkRed; */
/*
	background: #5E4AE3;
*/	
    background: rgb(196, 247, 166); 
/*	color: Turquoise; */
}

.dark h2 {
    color: black;
}

.dark .container {
    background: rgb(196, 247, 166);
/* 
    background: black;
*/
/*	
	background: DarkRed; 
*/ 
}

.dark .written-in-ink {
/*    background: black; */
/*	
	background: DarkRed;
*/
	background: rgb(196, 247, 166);	
}



/* COLOR OF LINKS AND MENU IN DARK THEME */

.dark a {

	/* color: BlueViolet; */
/*    
    color: #cc8f1a; 
*/
	color: black;
    
}
.dark .unclickable{
	color: #4f3411;
    cursor:not-allowed;
}

.dark a:hover {
    color: grey;
}

@media screen and (prefers-reduced-motion: no-preference) {
    .dark a {
        transition: color 0.6s;
        color: black; 
    }
}

.dark strong {
    color: black;
}

.dark #controls [disabled] {
    color: #444; 
    background: rgb(196, 247, 166);
/*    color: DarkRed; */
}

.dark .end {
	color: black;
}

.dark #controls {
/*    
    background: black;
*/
/*
	background: DarkRed;
*/
	background: rgb(196, 247, 166);
/*	
	background: #5E4AE3;
*/		    
}

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




