@font-face {
  font-family: 'Jura';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(resources/Jura-VariableFont_wght.woff2) format('woff2');
}




body {
    font-family: "Jura", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: normal;
    background: #000;
    color: #fff;
    overflow: hidden;
}

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: 40pt;
    margin-bottom: 10px;
}

h2 {
    font-size: 28pt;
    font-style: italic;
    font-weight: lighter;
}

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

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

.written-in-ink {
    z-index: 3;
    font-size: 9pt;
    text-align: center;
    font-weight: 700;
    position: fixed;
    display: block;
    width: 100%;
    background: white;
    transition: color 0.6s, background 0.6s;
    margin: 0;
    padding-top: 6px;
    padding-bottom: 6px;
    height: 14px;
    top: 0;
}

/* 
  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;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
}

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

.container {
    display: block;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 100px;
    background: #000000c0;
}

.switched .container {
    transition: background-color 0.6s;
}

p {
    font-size: 17pt;
    color: #fff;
    line-height: 1.4em;
    font-weight: normal;
    text-shadow: #000 0 0 1px,#000 0 0 3px,#000 0 0 5px;
}

a {
    font-weight: 700; display: inline-block;
    padding: 2pt 14pt 3pt;
    border-radius: 300px;
    background: #fff; color: #000;
    transition: color 0.6s;
    text-decoration: none;
    text-shadow: none;
}

p.pad {padding-bottom: 1em; }
p.padTop {padding-top: 1em; }
p.center {text-align:center; }

p.small { }
p.small a { font-size:.5em; padding: 2pt 5pt; line-height: 1.4em; background: #666; }


a:hover {
    color: #fff; background: #000;
    transition: background  0.1s;
}

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

img,video {display: block; margin: 0 auto; max-width: 100%; }
h1 {
    background: center center url(resources/logoanim.gif);
    height: 300px; display: block;
    background-size: contain;
    background-repeat: no-repeat; }

.container .hide {
    opacity: 0.0;
}

.container .invisible {
    display: none;
}

.container>* {
    opacity: 1.0;
    transition: opacity 1.0s;
}

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

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

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

/* 
  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;
    top: 4px;
    user-select: none;

    transition: color 0.6s, background 0.6s;
}

#controls [disabled] {
    opacity: 0.3;
}

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

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

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

.ELITE  a { background: #FF6B01; font-style:italic; }
.INTERN a { background: #6D08FF; font-style:italic; }
.HOBO   a { background: #DE482E; font-style:italic; }
.MIMIC  a { background: #FFB102; font-style:italic; }

.ELITE a:hover,
.INTERN a:hover,
.HOBO a:hover,
.MIMIC a:hover { color: #000; background: #fff; }

.ELITE  a:hover { color: #FF6B01; }
.INTERN a:hover { color: #6D08FF; }
.HOBO   a:hover { color: #DE482E; }
.MIMIC  a:hover { color: #FFB102; }


.ELITE h1,
.INTERN h1,
.HOBO h1,
.MIMIC h1 { height: 120px; }




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

.dark strong {
    color: white;
}

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

.dark .end {
    color: white;
}
