@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,700');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;600&display=swap');

body {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    background-image: radial-gradient(73% 147%, #EADFDF 59%, #ECE2DF 100%), radial-gradient(91% 146%, rgba(255,255,255,0.50) 47%, rgba(0,0,0,0.50) 100%);
    background-blend-mode: screen;
    overflow: hidden;
}

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

h1,
h2 {
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 4em;
    margin-bottom: 10px;
}

h2 {
    font-size: 2em;
    font-style: italic;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    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: 'Space Grotesk', sans-serif;
    text-align: center;
    font-weight: 600;
    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;
    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: 800px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 4em;
    background: none;
}

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

p {
    font-size: 1.3em;
    color: #02163D;
    line-height: 1.7em;
    font-weight: 300;
}

a {
    font-weight: 600;
    color: #02163D;
    font-family: 'Space Grotesk', sans-serif;
    transition: color 0.6s;
    text-decoration: none;
}

a:hover {
    color: #6B9CFF;
    transition: color 0.1s;
}

strong {
    color: #02163D;
    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;
    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 {
    font-size: 1.4em;
}

/* 
  Built-in class:
    The End # CLASS: end
*/
.end {
    text-align: center;
    font-weight: bold;
    color: #02163D;
    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: white;
    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;
    }
}

/* scramble text css */

.scramble {
    font-family: 'Space Grotesk';
    height: 30%;
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
  }
  .text {
    font-weight: 600;
    font-size: 4em;
    letter-spacing: 0.1em;
    color: #FF3BB7;
  }
  .dud {
    color: #6B9CFF;
  }

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

body.dark {
    background: #212121;
    color: #fafafa;
}

.dark p {
    color:#fafafa;
}
.dark h2 {
    color: #666;
}

.dark .container {
    background: #212121;
}

.dark .written-in-ink {
    background: #212121;
}

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

.dark a:hover {
    color: #FF3BB7;
}

.dark strong {
    color: white;
}

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

.dark .end {
    color: white;
}

.dark #controls {
    background: #212121;
}

.dark .text {
    color: #fafafa;
  }
.dark .dud {
    color: #757575;
  }