@font-face {
    font-family: "balboa-extra-condensed";
    src: url('./resources/fonts/Balboa/Balboa_ExtraCondensed.otf') format("opentype"),
         url('./resources/fonts/Balboa/Balboa_ExtraCondensed.otf') format('embedded-opentype'), /* Internet Explorer */
         url('./resources/fonts/Balboa/Balboa_ExtraCondensed.otf') format('woff2'),             /* Super Modern Browsers */
         url('./resources/fonts/Balboa/Balboa_ExtraCondensed.otf') format('woff'),              /* Pretty Modern Browsers */
         url('./resources/fonts/Balboa/Balboa_ExtraCondensed.otf') format('truetype'),          /* Safari, Android, iOS */
         url('./resources/fonts/Balboa/Balboa_ExtraCondensed.otf') format('svg');               /* Legacy iOS */
}

@font-face {
    font-family: "balboa-condensed";
    src: url('./resources/fonts/Balboa/Balboa_Condensed.otf') format("opentype"),
         url('./resources/fonts/Balboa/Balboa_Condensed.otf') format('embedded-opentype'), /* Internet Explorer */
         url('./resources/fonts/Balboa/Balboa_Condensed.otf') format('woff2'),             /* Super Modern Browsers */
         url('./resources/fonts/Balboa/Balboa_Condensed.otf') format('woff'),              /* Pretty Modern Browsers */
         url('./resources/fonts/Balboa/Balboa_Condensed.otf') format('truetype'),          /* Safari, Android, iOS */
         url('./resources/fonts/Balboa/Balboa_Condensed.otf') format('svg');               /* Legacy iOS */
}

@font-face {
    font-family: "ibm-plex-serif-bold";
    src: url('.resources/fonts/IBM_Plex_Sans,IBM_Plex_Serif/IBM_Plex_Serif/IBMPlexSerif-Bold.ttf') format("opentype"),
         url('.resources/fonts/IBM_Plex_Sans,IBM_Plex_Serif/IBM_Plex_Serif/IBMPlexSerif-Bold.ttf') format('embedded-opentype'), /* Internet Explorer */
         url('.resources/fonts/IBM_Plex_Sans,IBM_Plex_Serif/IBM_Plex_Serif/IBMPlexSerif-Bold.ttf') format('woff2'),             /* Super Modern Browsers */
         url('.resources/fonts/IBM_Plex_Sans,IBM_Plex_Serif/IBM_Plex_Serif/IBMPlexSerif-Bold.ttf') format('woff'),              /* Pretty Modern Browsers */
         url('.resources/fonts/IBM_Plex_Sans,IBM_Plex_Serif/IBM_Plex_Serif/IBMPlexSerif-Bold.ttf') format('truetype'),          /* Safari, Android, iOS */
         url('.resources/fonts/IBM_Plex_Sans,IBM_Plex_Serif/IBM_Plex_Serif/IBMPlexSerif-Bold.ttf') format('svg');               /* Legacy iOS */
}

.balboa-condensed {
    font-family: "balboa-condensed";
}

.balboa-extra-condensed {
    font-family: "balboa-extra-condensed";
}

.ibm-plex-serif-bold {
	font-family: "ibm-plex-serif-bold";
}

/* hydra */
body, html { 
	margin: 0; 
	padding: 0; 
	width: 100%; 
	height: 100%; 
	overflow: hidden; 
	/* background: #00000000;  */
	background: transparent !important;
}
#hydra-canvas { 
	width: 100%; 
	height: 100%; 
	display: block;
	position: absolute;
	z-index: -1;
	background: transparent !important;
}
h1 {
	color: white;
}

.jp_logo {
	width: 100%;
	height: 100%;
	/* max-width: 100%; */
	position: absolute;
	/* top: 50%; */
	/* left: 50%; */
	/* transform: translate(-50%, -50%);	 */
}

/* ink */

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

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: lighter;
    /* background: white; */
	background: transparent !important;
    overflow: hidden;
}

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

h1,
h2 {
	/* color: #ffffff !important; */
	mix-blend-mode: difference;
	text-align: center;
	/* font-family: "Quattrocento", Georgia, 'Times New Roman', Times, serif; */
	font-family: "balboa-condensed";
	margin: 0;
	padding: 0;

	/* backdrop-filter: invert(100%); */
	/* color: transparent !important; */

    backdrop-filter: invert(100%);
    -webkit-backdrop-filter: invert(100%);

    background-color: black !important;
    color: white !important;

    mix-blend-mode: screen;
	
	mix-blend-mode: difference;

    /* display: inline-block; */
    /* padding: 0 4px; */

}

h1 {
	color: #43ddff !important;
	/* color: #ff4343 !important; */

    /* font-size: clamp(6rem, 16.4vw, 8.2rem); */
	/* font-size: 100pt; */
    margin-bottom: -30px;

	font-size: 22cqw;
	text-align: left;
}

h2 {
	color: grey;
    /* font-size: 32pt; */
    font-style: italic;
    /* font-family: sans-serif; */
    /* font-weight: lighter; */
    /* color: #BBB; */
	text-align: right;
	font-family: "ibm-plex-serif-bold";
	font-weight: bold;
	/* margin-right: auto; */
	font-size: 6cqw;
}

.header {
    /* padding-top: 3em; */
    padding-bottom: 3em;

	container-type: inline-size;
    container-name: header-stage;
}

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

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

	background: transparent !important;
}

@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-left: 3%; */
	margin: 0;
    /* 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;
	background: transparent !important;
}

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

.container {
    display: block;
    max-width: 600px;
	margin: 3%;
	margin-right: 4%;
	/* margin-left: 3%; */
    /* margin: 0 auto; */
    padding: 20px;
	/* padding-top: 0px; */
	padding-top: 4em;
	background: transparent !important;
    /* background: white; */
}

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

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

	color: #ffffff !important;
	mix-blend-mode: difference;

	font-family: "balboa-condensed";
	font-size: 32pt;

	backdrop-filter: invert(100%);
    -webkit-backdrop-filter: invert(100%);

    background-color: black !important;
    color: white !important;

    mix-blend-mode: screen;
	
	mix-blend-mode: difference;
}

a {
    font-weight: 700;
    /* color: #b97c2c; */
    font-family: sans-serif;
    text-decoration: none;

	color: #ffffff !important;
	mix-blend-mode: difference;

	/* font-family: "balboa-condensed"; */
	/* font-size: 40pt; */
}

.unclickable {
    font-weight: 700;
    color: #4f3411;
    font-family: sans-serif;
    text-decoration: none;
    cursor: not-allowed;
}

a:hover {
    color: black;
}

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

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

strong {
    color: black;
    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: left;
    line-height: 1.2em;
}

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

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

	font-family: "balboa-condensed";
	font-size: 32pt;
}

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

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

	background: transparent !important;
}

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

#controls [disabled] {
    color: #ccc;
}

#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 {
    background: black;
    color: white;
}

.dark h2 {
    color: #666;
}

.dark .container {
    background: black;
}

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

.dark a {
    color: #cc8f1a;
}
.dark .unclickable{
    color: #c4af87;
    cursor:not-allowed;
}

.dark a:hover {
    color: white;
}

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

.dark strong {
    color: white;
}

.dark #controls [disabled] {
    color: #444;
}

.dark .end {
    color: white;
}

.dark #controls {
    background: black;
}
