* {
    box-sizing: border-box;
}

/* You can either copy the below and paste it between style tags on your HTML page, OR you can copy this to a file and name it .css and link it from your HTML page. */
:root {
    --header-bg: #f1f1f1;
    --nav-bg: #f9f5f0;
    --article-bg: #f9f5f0;
    --border-color: #967e76;
    --sidebar-text-color: #25161b;
    --article-text-color: #25161b;
    --article-heading-color: #4f0e0e;
    --nav-link-color: #f9f5f0;
    --darker-border-color: #967e76;
}

html,
body {
    padding: 0;
    margin: 0 auto;
}
html {
    scroll-behavior: smooth;
}
body {
    font-size: 14px;
    font-family: "Times New Roman", serif;
    width: 100%;
    max-width: 100%;
    background-color: var(--article-bg);
    background-image: url("/img/default/SC_tiles01.png");
    background-repeat: repeat;
    background-size: 85px;
    overflow-x: hidden;
}
body a {
    color: var(--nav-link-color);
}

body,
a:link,
a:hover,
a:visited,
a:active {
    cursor: url("/img/default/lunar_cursor.png"), auto;
}

header,
nav {
    max-width: 100%;
    margin: 0 auto;
}
aside {
    width: 250px;
    margin-top: 30px;
/*    padding-left: 10px; */
    padding-left: 5px;
}
.flex {
    display: flex;
    max-width: 900px;
}

nav {
    height: auto;
    margin-bottom: 10px;
    /*  background-color:var(--nav-bg); */
    background-color: #4f0e0e;
}
header {
    max-height: 200px;
    height: 200px;
    width: 100%;
    box-shadow: 0 0 11px #4f0e0e inset;
    background-color: rgba(134, 84, 57, 45%);
    /*    background-color: var(--header-bg); */
    /*    background-image: url("/img/default/SC_tiles01.png"); */
    /*    background-repeat: repeat; */
    /*  background-repeat: repeat-y; */
    /*   background-size: 600px; */
    background-position: fixed;
    /*    background-size: 85px; */
    align-content: center;
    margin: 0 auto;
}

.banner {
    display: flex;
    width: 30%;
    height: auto;
    margin: auto;
    vertical-align: middle;
    align-items: center;
    padding: auto;
}
main {
    width: 100%;
    margin-left: 20px;
    margin-right: 20px;
    padding: 15px;
}
section {
    margin-bottom: 10px;
    color: var(--sidebar-text-color);
}
article {
    border: 1px solid var(--darker-border-color);
    margin-bottom: 15px;
    background-color: var(--article-bg);
    color: var(--article-text-color);
    padding: 10px;
}
.subtitle {
    font-size: 1.5rem;
    /*    border:1px solid var(--darker-border-color); */
    margin-left: 5px;
    color: var(--article-heading-color);
    background-color: var(--nav-bg);
}
.links {
    list-style-type: none;
    padding-left: 0;
}
.links li {
    background-color: var(--nav-bg);
    border: 1px solid var(--border-color);
    margin-bottom: 3px;
}
.links li a {
    text-decoration: none;
    color: inherit;
    margin-left: 5px;
}

/* NAVIGATION section */
.nav {
    margin-top: 10px;
    margin-left: 100px;
    margin-right: auto;
    align-content: center;
}
.nav li {
    display: inline-block;
    padding-left: 25px;
    margin-right: 5px;
    padding-right: -10px;
}
.nav li a {
    font-size: 1em;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--nav-link-color);
    margin-right: 21px;
}
.nav li a:hover {
    color: #975a5e;
    border-bottom: 4px solid #975a5e;
    transition-timing-function: ease;
}

.nav li::after {
    content: "\2724";
    color: var(--nav-bg);
}

/* SIDEBAR */
.left-sidebar {
    /*    margin-left: 65px; */
    margin-left: 35px;
}
.righ-sidebar {
    margin-right: 35px;
}
.subtitle {
    color: var(--article-heading-color);
    font-weight: bold;
    letter-spacing: 1px;
}
article .subtitle {
    /*    text-transform:uppercase; */
    font-size: 1.9rem;
    color: var(--article-heading-color);
    margin-top: 10px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
    padding-left: 7px;
    border-left: 4px solid var(--article-heading-color);
}
nav {
    border: 1px solid var(--darker-border-color);
    border-left: none;
    border-right: none;
}

h1,
h2,
h3,
h4 {
    color: var(--article-heading-color);
}
h3 {
    font-size: 1em;
}

hr {
    border: 1px dashed var(--darker-border-color);
}

/* SECTION misc */
section .ko-fi {
    display: flex;
    width: 150px;
    height: auto;
    align-content: center;
    margin-left: 15px;
    margin-right: 15px;
}

section li a,
.links-social li a {
    color: #a22d2d;
}
section .social li a:hover {
    letter-spacing: 2.5px;
    opacity: 0.6;
    color: #a22d2d;
    transition-timing-function: ease;
    transition-duration: 1s;
}
section .social li a:visited {
    opacity: 0.6;
    color: #672a4e;
}

.blurb {
    border: 1px solid var(--darker-border-color);
    background-color: var(--article-bg);
    margin-bottom: 5px;
    padding: 10px;
}

.socials {
    border: 1px solid var(--darker-border-color);
    background-color: var(--article-bg);
    margin-bottom: 5px;
    padding: 5px;
}

/* UPDATE Links */
ul.starbullets li {
    list-style: none;
    margin-left: -35px;
    padding-left: -5px;
}
ul.starbullets a:links {
    color: #a22d2d;
    opacity: 100%;
    list-style: none;
    font-weight: bold;
}
ul.starbullets a:hover {
    opacity: 0.6;
    color: #a22d2d;
    text-decoration: underline;
    background-color: none;
    list-style: none;
}
ul.starbullets a:visited {
    color: #672a4e;
}

ul.starbullets li::before {
    /* look up 'css code symbols' for more symbols */
    content: "\02726";
    color: #a22d2d;
    margin-right: 2px;
}

/* SCROLLBAR SECTION div */
.logs {
    overflow: auto;
    min-width: auto;
    min-height: 30%;
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: rgba(134, 84, 57, 15%);
}

footer {
    padding: 3px;
    text-align: center;
    font-size: 1.5vh;
    color: var(--nav-bg);
    background-color: #4f0e0e;
}
footer a {
    color: var(--navbar-link-color);
    text-decoration: none;
}

/* CUSTOM SCROLLBAR */
/* width */
.logs::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.logs::-webkit-scrollbar-track {
/*    background: var(--article-bg); */
    background: var(--darker-border-color);
    border-left: 2px solid var(--nav-bg);
    border-right: 2px solid var(--nav-bg);
    background-clip: content-box;
}

/* Handle */
.logs::-webkit-scrollbar-thumb {
    width: 3px;
    height: 3px;
    background: #a22d2d;
    border: 1px solid #a22d2d;
}

/* Handle on hover */
.logs::-webkit-scrollbar-thumb:hover {
    background: var(--article-heading-color);
}

/* SCROLL TO TOP */
#scrollUp a {
    display: float;
    position: fixed;
    bottom: 52px;
    right: 6.6px;
    z-index: 99;
    font-size: 20.5px;
    border: 1px solid #672a4e;
    outline: none;
    background-color: var(--nav-bg);
    color: #a22d2d;
    cursor: pointer;
    padding: 10px;
    /*  border-radius: 4px; */
    margin: 0 12px;
}

#scrollUp:hover a {
    background-color: #a22d2d;
    opacity: 0.7;
    color: var(--nav-bg);
    border: transparent;
}

#scrollUp a {
    text-decoration: none;
}

/* TOOLTIP */
.tooltip {
    border-bottom: 1.4px solid #a22d2d;
    /* this is the purple dots underline */
    cursor: pointer;
    text-decoration: none;
}

.tooltip a {
    color: #a22d2d;
    /* color of tooltip link text */
}

.tooltip a:visited {
    opacity: 0.6;
    color: #672a4e;
}

.tooltip a:hover {
    letter-spacing: 2.5px;
    opacity: 0.6;
    color: #a22d2d;
}

.tooltip-content {
    position: absolute;
    display: none;
    padding: 10px 13px 10px 13px;
    font-size: 14px;
    color: var(--article-heading-color);
    line-height: 1.3em;
    z-index: 999;
    margin-top: 20px;
    max-width: 400px;
    /* tooltip content width */
    border: 1px solid var(--darker-border-color);
    /*   border-radius: 5.5px; */
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    /* tooltip content border */
    z-index: 9999;
    background-color: var(--nav-bg);
    /* tooltip background color */
}

@media only screen and (max-width: 600px) {
    .flex {
        display: flex;
        flex-wrap: wrap;
        overflow-x: hidden;
    }
    aside {
        display: column;
        width: 100%;
        margin-left: 20px;
        margin-right: 20px;
        margin-top: -10px;
        margin-bottom: 20px;
    }
    .banner {
        width: 60%;
        height: auto;
        margin: 0 auto;
        padding: 15px;
        position: relative;
    }
    aside > section {
        margin-right: 10px;
    }
    section {
        width: 96%;
        position: inherit;
        margin-right: 5px;
        margin-left: 5px;
    }
    section .ko-fi {
        width: 150px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 6px;
    }
    .logs {
        min-width: 100%;
        height: 150px;
        margin-right: 3px;
        margin-left: 3px;
    }
    .nav {
        margin-left: 0 !important;
        margin-right: 50px;
    }
    .nav li {
        padding-bottom: 5px;
    }
}
