body {
    width: 100%;
    background-color: #000000;
    color: #FFFFFF;
    text-align: left;
    font-family: Verdana, Tahoma, sans-serif;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: start;
}

em {
    font-style: italic;
}

#timestamp{
    display: none;
}

#pagetitle{
    color: #80e040;
    margin-left: 2%;
}


#comic {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0% 15%;
    max-width: 100%;
}

.command {
    text-align: center;
}

a, button {
    padding: 9px;
    font-family: "Lucida Sans Typewriter", "Andale Mono", 'Courier New', Courier, monospace;
    color: #80e040;
}

.fakelink {
    padding: 9px;
    font-family: "Lucida Sans Typewriter", "Andale Mono", 'Courier New', Courier, monospace;
    color: #e04040;
}

button:focus, button:hover {
    background-color: #404040;
    border: #80e040 solid 2px;
    border-radius: 5px;
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    font-size: 1em;
}

button {
    background-color: #000000;
    border: #80e040 solid 2px;
    border-radius: 5px;
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    font-size: 1em;
}

.imglink, .imglink:focus, .imglink:hover {
    padding: 0px;
    border: none;
}

p > a, li > a {
    padding: 0px;
}

a:active {
    color:#006000;
}

a:visited, .back_next > h2> a:visited {
    color: #80e040;
}

a:focus, a:hover {
    padding: 5px;
    border: #FFFFFF 4px solid;
    border-radius: 5px;
}

.fakelink:visited {
    color: #e04040;
}

a:focus, a:hover, .fakelink:focus, .fakelink:hover  {
    padding: 5px;
    border: #FFFFFF 4px solid;
    border-radius: 5px;
}

p > a:focus, p > a:hover, li > a:focus, li > a:hover {
    color:#c0f0a0;
    padding: 0px;
    border: 0px;
}

h1, h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
    font-family: "Lucida Sans Typewriter", "Andale Mono", 'Courier New', Courier, monospace;
    padding: 0.5em 0em;
}

h1 {
    display: none;
    font-family: "Lucida Sans Typewriter", "Andale Mono", 'Courier New', Courier, monospace;
}


.title {
    display:block;
    font-size: 3em;
}

#skip {
    position: absolute;
    top: -400px;
}

.panel {
    margin: 5% 0% 5% 0%;
    display: flex;
    align-content: center;
    justify-content: center;
}

.audiocontainer {
    display: flex;
    justify-content: center;
    align-items: center;
  }

.panel > img {
    display: flex;
    border: 4px solid white;
    border-radius: 5px;
    max-width: 600px;
    min-width: 200px;
    image-rendering: optimizeSpeed;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: pixelated;
    image-rendering: optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
}

.back_next {
    margin: 0% auto 5% auto;
    padding: 0% 10% 0% 10%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10vw;
    min-width: 400px;
    max-width: 600px;
    align-items: center;
}

.caption {
    font-size: 1.2em;
    padding: 5%;
    border: 4px solid white;
    border-radius: 5px;
    margin: 0% auto 25% auto;
    max-width: 600px;
    min-width: 250px;
    word-wrap: break-word;
    word-break: break-word;

}

.caption_multiple {
    font-size: 1.2em;
    padding: 5%;
    border: 4px solid white;
    border-radius: 5px;
    margin: 0% auto 0% auto;
    max-width: 600px;
    min-width: 250px;
    word-wrap: break-word;
    word-break: break-word;

}

.caption > p, .caption_multiple > p, .caption > ul, .caption_multiple > ul {
    line-height: 1.5;
}

.caption > p:not(:last-child), .caption_multiple > p:not(:last-child),
.caption > ul:not(:last-child), .caption_multiple > ul:not(:last-child)  {
    margin-bottom: 30px;
} 

hr {
    color: #80e040;
}


body > header {
    position: sticky;
    width: 100%;
    top: 0;
    padding: 1% 0%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: #FFFFFF solid 2px;
    background-color: #000000;
    text-align: left;
    margin-bottom:20px;
}

nav {
    display: flex;
    flex-wrap: wrap;
}

.navlinks {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.green {
    color: #80e040;
    text-decoration-color: #80e040;
}

.red {
    color: #e04040;
    text-decoration-color: #e04040;
    text-decoration: none;
}

.text_pinkple {
    color: #ffbcf0;
    text-decoration-color: #ffbcf0;
    text-decoration: none;
}

.text_yellow {
    /*color: #f8d038;*/
    color: #fff066;
    text-decoration-color: #fff066;
    text-decoration: none;
}

.dialogue {
    font-family: "Lucida Sans Typewriter", "Andale Mono", 'Courier New', Courier, monospace;
    /*margin-bottom: 10px;
    line-height: 1;*/
}

.page_top {
    padding: 5%;
    text-align: center;
    line-height: 2em;

}

@media screen and (max-width: 600px) {
    .navlinks {
        justify-content: space-around;
    }

    .back_next {
        flex-wrap: nowrap;
        font-size: 3vw;
        min-width: auto;
    }

    .panel {
        display: flex;
    }

    .panel > img {
        display: flex;
        flex-basis: 50%;
        flex-shrink: 1;
        flex-grow: 1;
        min-width: 100px;
    }

    .caption, .caption_multiple{
        display: flex;
        flex-direction: column;
        flex-basis: 50%;
        flex-shrink: 1;
        flex-grow: 1;
        min-width: 100px;
    }
}

@media screen and (max-width: 600px) {

    .back_next {
        gap: 0vw;
    }
}