@font-face {
    font-family: "circular-std";
    src: url(type/CircularStd-Book.woff);
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "circular-std";
    src: url(type/CircularStd-BookItalic.woff);
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "circular-std";
    src: url(type/CircularStd-Bold.woff);
    font-weight: 800;
    font-style: normal;
}

html {
    font-size: 16px;
}


body {
    font-family: "circular-std", sans-serif;
    font-weight: 400;
    font-size: 1.3rem;
    background-image:url(photos/paper_bg_texture.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

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


.header {
    padding-top: 3em;
    padding-bottom: 3em;
    margin-bottom: 50px;
    height: 15vh;
    background-image: url(photos/kiarica_bg_titled.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    }

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

.written-in-ink {
    z-index: 3;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    position: fixed;
    display: block;
    width: 100%;
    background: white;
    margin-left: 5vw;
    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;
    
}

@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;
    padding-bottom: 20%;
    background-color: rgba(255, 255, 255, 0.3);
}

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

p {
    color: #005854;
    line-height: 1.5em;
}

a {
    text-decoration: none;
    color: #005854;
}

a:hover {
    color: #333;
}

.static {
    color: #333;
    
}

/*
  Class applied to all choices
  (Will always appear inside <p> element by default.)
*/
.choice {
    padding: 7px;
    margin: 10px;
    font-weight: 400;
    font-size: 1.32rem;
    border: 1px solid #005854;;
    border-radius: 3px;
    display: 
}


/* 
  Class applied to first choice
*/
:not(.choice)+.choice {
    
}

/*
  Class applied to choice links
*/
.choice a, .choice span {
    
}

p.choice {
    line-height: 1.2em;
}

.consequence {
    background-image: url(photos/scrap_paper_texture.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 4vw;
    font-family: "ff-nexus-typewriter", "circular-std", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 50px;
}

.transport-header {
    font-family: "ff-nexus-typewriter", "circular-std", sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-top: 50px;
    margin-left: 1vw;
    color: #333;
    
}

.documentary {
    font-family: "ff-nexus-typewriter", "circular-std", sans-serif;
    text-align: center;
    padding: 3vh;
    margin-top: 1rem;
}

img {
    display: block;
    margin: 0 auto;
    height: 50vh;
    padding: 5vh 5vh 10vh 5vh;
    background-image: url(photos/scrap_paper_vert.png);
    background-size: cover;
    background-repeat: no-repeat; 
    
}

.documentary +.choice {
    display: block;
    text-align: center;
    background-color: #005854;
    max-width: 25vw;
    margin: 0 auto;

}

.documentary +.choice a {
    color: #fff;
    font-family: "ff-nexus-typewriter", "circular-std", sans-serif;
    font-weight: 700;
}

.score {
    color: #333;
    font-size: 1.5rem;
    background-image: url(TK);
}


.blockquote {
    margin-left: 10vw;
    font-style: italic;
    font-family: "ff-nexus-typewriter", "circular-std", sans-serif;
}

.references {
    color: #333;
}

.references a {
    text-decoration: underline;
}

.credit-prose {
    text-align: center;
    font-size: 1.5rem;
    margin: 40px;
    font-weight: 700;
    font-family: "ff-nexus-typewriter", "circular-std", sans-serif;
}

.credit-category {
   font-family: "ff-nexus-typewriter", "circular-std", sans-serif;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.credit-name {
    text-align: center;
    font-size: 1.2rem;
    margin: 5px;
}

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



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

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


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



/* 
  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;
    text-align: center;
    padding-bottom: 6px;
    position: fixed;
    right: 5vw;
    top: 25px;
    user-select: none;
}

#logo img {
    width: 10vw;
    height: auto;
    position: fixed;
    left: 5vw;
    background-image: url();
    padding: 0;
}


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

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

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

*/