@font-face {
    font-family: base-font;
    src: url(BTFR_LCBB.otf)
}

nav {
    grid-area: b;
    display: inline;
    align-self: end;
    margin-left: 3vw;
    z-index: 1;
}

nav ul {
    list-style: none;
    padding-left: 0;
}

nav li {
    display: inline;
}

nav li+li::before {
    content: ' | ';
}


ul {
    list-style: none;
}



body {
    display: grid;
    grid-template-columns: 13.35fr 63.33fr 23.32fr;
    grid-template-rows: 7.87fr 79fr 13.13fr;
    grid-template-areas:
        "a b c"
        "d e f"
        "g h i";
    min-height: 100%;
    min-width: 100%;

    /* Set up proportionate scaling */
    width: 100%;
    height: auto;
    font-family: base-font;

    background-image: url(./img/wood_texture.png);
    background-repeat: repeat;

    flex-wrap: wrap;
    cursor: url(./img/pencil.cur), default;
    margin: 0;
}

button {
    cursor: pointer;
    font-family: base-font;
    font-size: 1em;
}

button.close {
    color: black;
}

main {
    grid-area: e;
    display: flex;


    padding: 1em;
    align-items: flex-start;

    background-color: #193146;
    color: #F9F9F9;
    box-shadow: #000 10px 5px 5px;
}

button {
    color: #F9F9F9;
}

h1 {
    width: 100%;
    text-align: center;
    font-size: 3rem;
}



main ul li img,
main ul li source {
    width: 100%;
}

.socials a img {
    width: 100%;
}

main ul li {
    text-align: center;
}

.character-grid {
    display: flex;
    flex-wrap: wrap;
    width: auto;

}

.character-grid li {
    width: 20%;
    padding: .5em;
    border: gold .25em solid;
    margin: .5em;
}

.socials {
    display: flex;
    flex-direction: column;
    width: 100%
}

img.background {
    grid-column-start: a;
    grid-column-end: c;
    grid-row-start: a;
    grid-row-end: g;
    margin: 0;
}



summary {
    border-bottom: 1px dotted black;
    width: 100%;
    display: block;
    margin-top: 1rem;
    font-size: 1.5em;
}

.bloglist li a {
    font-size: 1rem;
}







img.background {
    width: 100%;
    height: 100%;
}


.comic-links ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2%
}

.comic-links li {
    display: inline;
}


button {
    background-color: transparent;
    border: transparent;
}



.logo a {
    height: 100%;
}

nav li+li::before {
    content: '';
}

.tab {
    position: relative;
    padding: .1rem .5rem 2rem;
    margin-right: 0.2rem;
    background: #90CAF9;
    font-weight: bold;
    border-left: solid black 2px;
    border-right: solid black 2px;
    border-top: solid black 2px;
    font-size: 2.5vw;
}

*:focus {
    /* inner indicator */
    outline: 2px #F9F9F9 solid;
    outline-offset: 0;
    /* outer indicator */
    box-shadow: 0 0 0 4px #193146;
}

audio {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 20;
}

.checkbtn {
    font-size: 2rem;
    color: black;
    cursor: pointer;
    display: none;
    background: #90CAF9;
    border-left: solid black 1px;
    border-right: solid black 1px;
    border-top: solid black 1px;
}

#check {
    display: none;
}

.animation-control {
    font-size: 2em;
    color: #000
}

hr {
    border-top: 3px dashed #fff;
    width: 100%;
}

.bio-modal {
    position: fixed;
    /* Stay in place */
    z-index: 15;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */

}

/* Modal Content/Box */
.modal-content {
    background-color: #bbd3da;
    margin: 15% auto;
    /* 15% from the top and centered */
    border: 3px solid #6497a4;
    width: 80%;
    font-family: dialog-font;
    /* Could be more or less, depending on screen size */


    .radiogroup {
        display: flex;
        flex-direction: column;
    }
}

section.overlay-header {
    width: 100%;
    display: flex;
    flex-direction: row;
    height: auto;
    background-color: blue;
}

img.overlay-logo {
    height: 2em;
    width: 2em;
    padding: .5em;
}

@font-face {
    font-family: dialog-font;
    src: url(Digital\ Dot\ Roadsign.otf)
}

.close {
    margin-left: auto;
    margin-right: .5em;
    background-image: url(./img/overlay-close-button.png);
    background-size: cover;
    height: 2em;
    width: 2.3em;
    align-self: center;
}

@media (max-width: 1000px) {
    .tab {
        position: relative;
        padding: 0rem .1rem .1rem;
        margin: 0;
        background: #90CAF9;
        border-left: solid black 1px;
        border-right: solid black 1px;
        border-top: solid black 1px;
        border-bottom: solid black 1px;
        font-size: 2em;
    }

    label {
        font-size: 1eem;
    }

    .comic-links {
        margin-right: 0;
    }

    .checkbtn {
        display: block;
        order: 1;
        margin-right: 20px;
    }

    nav {
        align-self: end;
        margin-left: 2vw;
        z-index: 20;
    }

    nav ul {
        position: fixed;
        right: -100%;
        background-color: rgb(0, 109, 128);
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        z-index: 20;
    }




    #check:checked~ul {
        right: 0;
    }


    nav ul {
        margin: 0;
        margin-bottom: 1%;
    }

    .logo {
        margin-top: 1rem;

    }

    a.spacebar,
    a.spacebar:visited {
        font-size: 12px;
    }

    main {
        flex-direction: column;
    }

    .socials {
        flex-direction: row;
    }
}