@import url('https://fonts.googleapis.com/css2?family=Poltawski+Nowy:wght@400;700&family=Wallpoet&display=swap');

body {
    font-family: 'Poltawski Nowy', sans-serif;
    font-weight: lighter;
    background: #fefefe;
    overflow: hidden;
}

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

h1,
h2 {
    text-align: center;
    font-family: "Wallpoet", Georgia, 'Times New Roman', Times, serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 40pt;
    margin-bottom: 10px;
}

.header {
    padding-bottom: 1em;
}

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

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

p {
    font-size: 14pt;
    color: #666;
    line-height: 1.7em;
    font-weight: lighter;
}

a {
    font-weight: 700;
    color: #3e8b17;
    transition: color 0.6s;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: black;
    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;
    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: 16pt;
    background: rgba(0,0,0,0.1);
    padding: 8px 16px;
    display: inline-block;
}

.choice a:hover{
    background: rgba(0,0,0,0.2);
}

/* 
  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;
    left: 10px;
    top: 4px;
    user-select: none;
    transition: color 0.6s;
}

#controls a{
    font-family: sans-serif;
}

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

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

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

body.dark {
    background: #16161d;
    color: white;
}

.dark .container {
    background: #16161d;
}

.dark p{
    color:#999;
}

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

.dark a:hover {
    color: white;
}

.dark strong {
    color: white;
}

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

.dark .end {
    color: white;
}

.dark .choice a {
    background: rgba(255,255,255,0.1);
}

.dark .choice a:hover {
    background: rgba(255,255,255,0.2);
}
