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

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

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

main {
    grid-area: e;
    display: flex;
    background-color: white;

    box-shadow: 10px 5px 5px;

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

h1 {
    width: 100%;
    text-align: center;
}



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

.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: 30px;
    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;
}


@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: 1em;
    }

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


    nav ul li a {
        font-size: 40px;
    }

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


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

    .logo {
        margin-top: 1rem;

    }

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