* {
    cursor: url(https://cur.cursors-4u.net/cursors/cur-2/cur192.cur), auto !important;
    scrollbar-color: #fff #900;
}

::selection {
    color: #fff;
    background: #900;
}


#s-m-t-tooltip {
    font-family: 'Lucidia Sans Unicode', Verdana;
    font-size: 12px;
    line-height: 14px;

    color: #fff;
    background: #111;
    border: solid;
    border-width: 1px;
    border-color: #900;
    font-weight: bold;
    box-shadow: 1px 1px 3px 1px #111111a4;

    max-width: 300px;
    margin: 24px 14px 7px 12px;
    padding: 5px;

    z-index: 10;
}

#backToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99;

    font-family: Georgia, serif;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    color: #fff;
    background-color: #900;
    padding: 5px;
    box-shadow: 1px 1px 3px 1px #111111a4;

    transition: .2s;
}

#backToTop:hover {
    color: #900;
    background-color: #ddd;
}

header {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 3;
}

img {
    vertical-align: middle;
}

.image {
    width: 100%;
    max-width: 500px;
}

figure {
    inline-size: fit-content;
    margin-inline: auto;
    text-align: center;
}

figcaption {
    font-family: 'Lucidia Sans Unicode', Verdana;
    color: #111;
    font-size: 12px;
    contain: inline-size;
}

a,
a:link,
a:visited {
    color: #900;
    text-decoration: underline;
}

a:focus,
a:hover,
a:active {
    text-shadow: 1px 1px 2px rgba(153, 0, 0, 0.5);
}

body {
    background-color: #fff;
    margin: 0;
}

#banner {
    display: flex;
    align-items: center;
    height: 52px;
}

#banner sup {
    font-size: 13px;
    font-style: italic;
    margin-top: -10px;
}

#subBanner {
    font-family: 'Lucidia Sans Unicode', Verdana;
    color: #fff;
    font-size: 14px;

    background: #900 url(/writings/images/banner-tile.png);
    box-shadow: inset 0 -6px 10px rgba(0, 0, 0, 0.35),
        1px 1px 3px -1px rgba(0, 0, 0, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.85);

    display: flex;
    align-items: center;
}

#subBanner {
    margin: 0;
    padding: 0 30px;
    height: 30px;
    line-height: 30px;
}

#subBanner div {
    padding: 0 15px;
}

#subBanner div:hover {
    background: #ddd;
    color: #111;
}

#subBanner a,
#subBanner a:link {
    color: #fff;
    text-decoration: none;
    text-shadow: none;
}

#subBanner a:hover,
#subBanner a:focus,
#subBanner a:active {
    color: #111;
}

.aboutBox {
    background: #ddd;
    font-family: 'Lucidia Sans Unicode', Verdana;
    color: #111;
    font-size: 14px;
    line-height: 1.6em;

    width: 300px;
    top: 82px;

    border-radius: 0 0 3px 3px;
    box-shadow: 1px 1px 2px #11111172;
    position: fixed;
    z-index: 2;

    display: none;
}

#about:hover+.aboutBox {
    display: block;
}

#update:hover+.aboutBox {
    display: block;
}

#aboutBox1 {
    left: 100px;
}

#aboutBox2 {
    left: 171px;
}

.container {
    display: flex;
    flex-direction: row;
}

.wrapper-left {
    order: 1;
    display: flex;
    flex-grow: 1;
    flex-basis: 0;
    /* background-color: aquamarine; */
}

.wrapper-right {
    order: 3;
    display: flex;
    flex-grow: 1;
    flex-basis: 0;
    /* background-color: aquamarine; */
}

.wrapper-center {
    display: flex;
    flex-direction: column;

    order: 2;
    flex-grow: 5;
    flex-basis: 0;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: Georgia, serif;
    font-weight: normal;
    word-wrap: break-word;
    color: #2a2a2a;
}

li {
    word-wrap: break-word;
}

h1 {
    font-family: Georgia, serif;
    color: #900;
    font-size: 26px;
}

h2 {
    font-size: 32px;
    line-height: 1em;
    margin: 0;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.2em;
    margin-top: 2.5em;
    margin-bottom: .5em;
}

h5 {
    font-size: 18px;
    font-style: italic;
    line-height: 1em;
    margin-top: 1.5em;
    margin-bottom: .5em;
}

.wrapper-center h2 {
    padding-top: 20px;
}

p,
ul,
ol {
    font-family: 'Lucidia Sans Unicode', Verdana;
    color: #2a2a2a;
    font-size: 15px;
    line-height: 1.5em;
    overflow-wrap: break-word;
    word-break: break-word;
}

blockquote {
    font-family: 'Lucidia Sans Unicode', Verdana;
    color: #2a2a2a;
    font-size: 15px;
    line-height: 1.5em;
    background-color: #eee;
    padding: 10px;
    border-left: solid 5px #aaa;
    margin-left: 2.5em;
    margin-right: 0;
}

.pageNav {
    font-family: 'Lucidia Sans Unicode', verdana;
    font-weight: normal;
    font-size: 14px;

    display: flex;
    gap: 5px;
    justify-content: center;
    margin: 1.5em 0;
}

.pageNav div {
    padding: 3px 12px;
    border: solid 1px;
    border-color: #ccc #ccc #aaa #ccc;
    border-radius: 5px;
    background: linear-gradient(#fff 30%, #ddd 93%, #aaa 100%);
}

.pageNav div:hover {
    border-color: #aaa #aaa #900 #aaa;
    box-shadow: 10px 10px 7px -10px #aaa inset;
}

.pageNav a,
.pageNav a:visited {
    color: #111;
    text-decoration: none;
    text-shadow: none;
}

.pageNav a:hover,
.pageNav a:link,
.pageNav a:focus,
.pageNav a:active {
    color: #900;
}

.pageNav .current,
.pageNav .current:hover {
    background: #ccc;
    border: solid 1px #aaa;
    box-shadow: 5px 5px 7px -5px #2a2a2a inset;
}

.card {
    display: grid;
    grid-template-areas:
        "symbols header bookmark"
        "tags tags tags"
        "summary summary summary"
        "stats stats stats";
    border: solid 1px #ccc;
    grid-template-columns: 55px 1fr 100px;

    padding: 10px;
    margin-bottom: 10px;
}

.card:last-child {
    margin-bottom: 0px;
}

.card div {
    background-color: #fff;
}

.card div.symbols {
    grid-area: symbols;
}

.symbols img {
    vertical-align: middle;
    width: 25px;
}

.symbols img:first-child {
    margin-right: 5px;
    margin-bottom: 5px;
}

.symbols img:nth-child(2) {
    margin-bottom: 5px;
}

.symbols img:nth-child(3) {
    margin-right: 5px;
}

.card div.header {
    grid-area: header;
    padding-left: 15px;
}

.header h3 {
    font-size: 20px;
    margin: 0;
    color: #900;

    width: fit-content;
    margin-bottom: 5px;
}

.header a {
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 1px solid #900;
}

.header ul {
    font-family: Georgia, serif;
    font-size: 14px;
    color: #111;
    margin: 5px 0 0 0;
    padding: 0;
}

.header ul>li {
    display: inline-block;
    border-bottom: 1px dotted #111;

    position: relative;
    margin-right: 5px;
}

.header ul>li:hover {
    background-color: #900;
    color: #fff;
    border-bottom: 1px dotted #fff;
}

.header ul>li:not(:last-child)::after {
    content: ',';
    color: #111;

    position: absolute;
    margin-left: 100%;
    left: 0;
}

.card div.bookmark {
    grid-area: bookmark;
}

.bookmark {
    text-align: right;
}

.bookmark div {
    font-family: monospace;
    font-size: 11px;
    color: #2a2a2a;
}

.card div.tags {
    grid-area: tags;
    margin-top: 10px;
}

ul.red {
    font-family: 'Lucidia Sans Unicode', Verdana;
    font-size: 14px;
    color: #111;
    margin: 0;
    padding: 0;
    line-height: 1.3em;
}

ul.red li {
    display: inline-block;
    border-bottom: 1px dotted #111;

    position: relative;
    margin-right: 8px;
}

ul.red li:hover {
    background-color: #900;
    color: #fff;
    border-bottom: 1px dotted #fff;
}

ul.red li:not(:last-child)::after {
    content: ',';
    color: #111;

    position: absolute;
    margin-left: 100%;
    left: 0;
}

.relationship {
    background-color: #eee;
}

.tags ul>li:first-child {
    font-weight: bold;
}

.card div.summary {
    grid-area: summary;
}

.card div.stats {
    grid-area: stats;
    text-align: right;
}

.stats ul {
    font-family: 'Lucidia Sans Unicode', Verdana;
    font-size: 14px;
    color: #2a2a2a;

    margin: 0;
    padding: 0;
}

.stats li {
    display: inline-block;
    padding-right: 1.5em;
}

/* ************************ */
/* SUBPAGES STYLING */
/* ************************ */

.info-card {
    display: grid;
    grid-template-columns: 1fr 3.2fr;
    gap: .7em;

    border: solid 1px #ccc;
    margin: 3em 40px 3em 40px;
    padding: 15px 10px;
    box-shadow: 0px 0px 5px #aaa;
}

.info-card div {
    font-family: 'Lucidia Sans Unicode', Verdana;
    font-size: 14px;
    color: #2a2a2a;
}

.info-card ul {
    margin: 0;
    padding: 0;
    line-height: 1.3em;
}

.info-card li {
    display: inline-block;
}

.wrapper-left2 {
    order: 1;
    display: flex;
    flex-grow: 1;
    flex-basis: 0;
    /* background-color: aquamarine; */
}

.wrapper-right2 {
    order: 3;
    display: flex;
    flex-grow: 1;
    flex-basis: 0;
    /* background-color: aquamarine; */
}

.wrapper-center2 {
    order: 2;
    flex-grow: 3;
    flex-basis: 0;
    max-width: 1200px;

    margin-bottom: 5em;
}

.wrapper-center2 h2 {
    text-align: center;
    margin: .5em;
}

.wrapper-center2 h3 {
    margin: 0;
}

#description {
    width: 80%;
    margin: 2em auto 4em auto;
}

#description>div {
    margin-bottom: 2em;
}

hr {
    border: .001em solid #2a2a2a;
    margin: 0;
    padding: 0;
}

hr.divider {
    width: 50%;
    margin: 2em auto;
    border: 1px solid #808080;
}

.indent p {
    text-indent: 3em;
}

.pagedoll {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    user-select: none;

    font-family: 'Lucidia Sans Unicode', verdana;
    font-weight: normal;
    font-size: 14px;
    color: #2a2a2a;

    padding: 3px 12px;
    border: solid 1px;
    border-color: #ccc #ccc #aaa #ccc;
    border-radius: 5px;
    background: linear-gradient(#fff 30%, #ddd 93%, #aaa 100%);
    box-shadow: 2px 2px 5px #2a2a2a;
}

/* .pagedoll:hover {
    color: #fff;
    background: linear-gradient(#900 60%, #2a2a2a 100%);
    border-color: #900 #900 #2a2a2a #900;
} */

.bounce {
    animation: 1.5s ease infinite bounce;
}

@keyframes bounce {
    0% {
        transform: scale(1) translateY(0)
    }

    10% {
        transform: scale(1.2, 0.9);
    }

    30% {
        transform: translateY(-15px)
    }

    50% {
        transform: scale(1) translateY(0);
    }

    100% {
        transform: translateY(0)
    }
}

/* FOOTER */

footer {
    font-family: Georgia, serif;
    font-size: 14px;
    color: #fff;
    padding: 25px 0;
    background: #900 url(/writings/images/banner-tile.png);

    text-align: center;
    margin-top: 3em;
}

footer a,
footer a:visited,
footer a:link,
footer a:focus,
footer a:active {
    color: #fff;
    text-decoration: underline;
}

footer a:hover {
    text-shadow: 1px 1px 2px #fff;
}

@media (max-width: 600px) {
    .aboutBox {
        width: 85%;
    }

    #aboutBox1,
    #aboutBox2 {
        left: 0;
    }

    .wrapper-left,
    .wrapper-right {
        display: none;
    }

    .wrapper-center {
        margin: 15px;
    }

    .wrapper-left2,
    .wrapper-right2 {
        display: none;
    }

    .wrapper-center2 {
        margin: 15px;
    }

    .info-card {
        display: grid;
        grid-template-columns: 1fr;
        margin: 3em 15px 3em 15px;
    }

    .info-card div:nth-child(even) {
        margin-left: 12px;
        margin-top: -10px;
    }
}

@font-face {
    font-family: 'Lucidia Sans Unicode';
    src: url('/fonts/lucidasansunicode.ttf');
}