* {
    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;
    width: 100%;
}

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: 53%;
    height: auto;
    margin: auto;
    padding: 0;
    vertical-align: middle;
    object-fit: cover;
    justify-content: center;
    box-sizing: border-box;
}
/* .banner {
    display: flex;
    width: 30%;
    height: auto;
    margin: auto;
    vertical-align: middle;
    align-items: center;
    padding: auto;
} */
main {
    width: 100%;
    margin-left: 35px;
    margin-right: 35px;
    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;
    cursor: pointer;
}

/* NAVIGATION section */
.nav {
    margin-top: 10px;
    margin-left: 50px;
    margin-right: 50px;
    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;
    cursor: pointer;
}
.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;
}

/* FONTS */
.spectral-extralight {
  font-family: "Spectral", serif;
  font-weight: 200;
  font-style: normal;
}

.spectral-light {
  font-family: "Spectral", serif;
  font-weight: 300;
  font-style: normal;
}

.spectral-regular {
  font-family: "Spectral", serif;
  font-weight: 400;
  font-style: normal;
}

.spectral-medium {
  font-family: "Spectral", serif;
  font-weight: 500;
  font-style: normal;
}

.spectral-semibold {
  font-family: "Spectral", serif;
  font-weight: 600;
  font-style: normal;
}

.spectral-bold {
  font-family: "Spectral", serif;
  font-weight: 700;
  font-style: normal;
}

.spectral-extrabold {
  font-family: "Spectral", serif;
  font-weight: 800;
  font-style: normal;
}

.spectral-extralight-italic {
  font-family: "Spectral", serif;
  font-weight: 200;
  font-style: italic;
}

.spectral-light-italic {
  font-family: "Spectral", serif;
  font-weight: 300;
  font-style: italic;
}

.spectral-regular-italic {
  font-family: "Spectral", serif;
  font-weight: 400;
  font-style: italic;
}

.spectral-medium-italic {
  font-family: "Spectral", serif;
  font-weight: 500;
  font-style: italic;
}

.spectral-semibold-italic {
  font-family: "Spectral", serif;
  font-weight: 600;
  font-style: italic;
}

.spectral-bold-italic {
  font-family: "Spectral", serif;
  font-weight: 700;
  font-style: italic;
}

.spectral-extrabold-italic {
  font-family: "Spectral", serif;
  font-weight: 800;
  font-style: italic;
}

.lora {
  font-family: "Lora", serif;
  font-style: normal;
}

.nanum-gothic-coding-regular {
  font-family: "Nanum Gothic Coding", monospace;
  font-style: normal;
}
/* END FONT */

h1,
h2,
h3,
h4 {
    color: var(--article-heading-color);
}
h3 {
    font-size: 1em;
}

hr {
    border: 1px dashed var(--darker-border-color);
}

/* IMAGE SETTING */
img,
picture,
video {
  max-width: 100%;
}

/* 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;
    cursor: pointer;
}
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;
}

/* SECTION LINKS */
section li a {
    color: #a22d2d;
}
section li a:hover {
    letter-spacing: 2.5px;
    opacity: 0.6;
    color: #a22d2d;
    transition-timing-function: ease;
    transition-duration: 1s;
}
section a:visited {
    opacity: 0.6;
    color: #672a4e;
}

section .sitemap a {
    text-decoration: none;
    color: #a22d2d;
    cursor: pointer;
}

/* ARTICLE LINKS */
article ul li {
    background-color: var(--nav-bg);
    border: 1px solid var(--border-color);
    margin-bottom: 3px;
    margin-left: -25px;
    margin-right: 15px;
    list-style-type: none;
    padding-left: 5px; 
}
article ul li a {
    color: #a22d2d;
    text-decoration: none;
    cursor: pointer;
}
article ul li a:hover {
    letter-spacing: 2.5px;
    opacity: 0.6;
    color: #a22d2d;
    transition-timing-function: ease;
    transition-duration: 1s;
}
article ul 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;
}

/* SITEMAP */
.sitemap, .sitemap a:link {
    margin: auto;
    background-color: var(--article-bg);
    padding: 5px;
    text-align-last: center;
}
.sitemap a:hover {
    opacity: 0.6px;
    color: #a22d2d;
    font-style: italic;
}
.sitemap:before, .sitemap:after {
    content: "\02726";
    color: #a22d2d;
    margin-left: -2px;
    margin-right: -2px;
}

/* BUTTONS */
.buttons {
    width: 100%;
    border: 1px solid var(--darker-border-color);
    background-color: var(--article-bg);
    margin-bottom: 5px;
    padding: 5px;  
}
.button {
    justify-content: center;
    align-content: center;
    margin: 5px auto;
    display: flex;
}

.ads {
    margin-bottom: -5px;
}
.other-button {
    width: auto;
    justify-content: center;
    align-content: center;
    margin: 5px 45px;
    flex-wrap: wrap;
    display: block;
    padding: 0 auto;
}

.index {
    border: 1px solid var(--darker-border-color);
    background-color: var(--article-bg);
    margin-bottom: 5px;
    padding: 5px;
}

.credit-index {
    border: 1px solid var(--darker-border-color);
    background-color: var(--article-bg);
    margin-bottom: 5px;
    padding: 5px;
}

/* FAQS */
article .q{
    font-size: 1.2rem;
    font-family: "Spectral", serif;
    color: var(--nav-bg);
    margin-top: 10px;
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 7px;
    background-color: #4f0e0e;
    text-align: left;
}
article .q::after {
    content: "\003F";
    color: var(--nav-bg);
    margin-right: 5px;
}
article .a {
    font-size: 1rem;
    margin: auto 5px;;
    padding-left: 5px; 
    padding-right: 9px;
    border: 1px solid var(--darker-border-color);
}

/* PROJECTS */
.project-list {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 5px;
    column-gap: 5px;
    margin: 0 10px;
    padding: 5px;
    box-sizing: border-box;
    flex-direction: row-reverse;
    justify-content: center;
}
.project-list > div {
    width: 100%;
    padding: 5px;
    font-size: 1rem;
    text-align: center;
}
.games-item {
    width: 50%;
    margin: 5px auto;
    padding: 5x 10px;
    justify-content: center;
    align-content: center;
    border: 1px dashed var(--darker-border-color);
}
.games-item::after {
    content: "";
    width: 50%
}
.desc p {
    color: var(--article-heading-color);
    width: 100%;
    font-size: 0.8rem;
    text-align: center;
    justify-content: center;
}
.desc a, .desc a:active {
    color: var(--nav-bg);
    background-color: #a22d2d;
    cursor: pointer;
    text-decoration: none;
    padding: 6px;
}
.desc a:hover {
    opacity: 0.6;
    color: #4f0e0e;
    background-color: transparent;
    padding: 6px;
    border: 1px solid #4f0e0e;
    font-weight: bold;
    letter-spacing: 2px;
    transition-duration: 1s; 
}

/* TOS */
.tos ul {
    border: none;
    margin: 0;
}
.tos ul li {
    list-style-type: circle;
    border: none;
}
/* CREDITS */
article .credits h2 {
    text-align: center;
}
article .credits p {
    margin-bottom: 3px;
    margin-top: 3.5px;
}
article .credits {
    margin: 10px 5px;
    padding-left: 12px;
    padding-right: 12px;
    height: auto;
    text-align: center;
}
.credits a, a:active {
    color: #a22d2d;
    text-decoration: none;
}
.credits a:hover {
    opacity: 0.6;
    color: #a22d2d;
    text-decoration: underline;
    transition-timing-function: ease;
    transition-duration: 1s;
}

.last-update {
    width: 100%;
    height: 4vh;
    margin-top: auto;
    margin-bottom: 10px;
    text-align: left;
    font-style: italic;
    vertical-align: auto;
    padding: 5px 14px;
    background-color: var(--nav-bg);
    border-bottom: 1px solid var(--darker-border-color);
    border-top: 1px solid var(--darker-border-color);
}
.last-update p {
    opacity: 0.5;
    color: var(--article-heading-color);
    display: inline;
    font-size: 2vh;
}

/* IMAGE CAPTION */
.imgCaption {
    font-size: 12px;
    text-align: center;
    margin-bottom: -19px;
    margin-top: -10px;
}

/* PAGINATION BREADCRUMBS */
.bedcrumb {
    width: 100%;
    height: 4vh;
    margin-top: auto;
    margin-bottom: 10px;
}
ul.breadcrumb {
    text-align: left;
    vertical-align: auto;
    list-style: none;
    padding: 3px 14px;
    background-color: var(--nav-bg);
    border-bottom: 1px solid var(--darker-border-color);
    border-top: 1px solid var(--darker-border-color);
}
ul.breadcrumb li {
    display: inline;
    font-size: 2vh;
}
ul.breadcrumb li+li:before {
    font-size: 1.8vh;
    padding-right: 4px;
    color: #4f0e0e;
    content: "\25C6";
}
ul.breadcrumb li a {
  color: var(--article-heading-color);
  text-decoration: none;
    cursor: pointer;
}
ul.breadcrumb li a:hover {
    opacity: 0.6;
    color: #a22d2d;
    font-style: italic;
    text-decoration: none;
    border-bottom: 1px dashed #a22d2d;
    transition-timing-function: ease;
    transition-duration: 0.5s;
    
}
ul.breadcrumb li a:visited {
    opacity: 0.6;
    color: #672a4e;
    text-decoration: none;
}

/* UPDATE Links */
ul.starbullets li {
    list-style: none;
    margin-left: -35px;
    padding-left: -5px;
}
ul.starbullets li a:link {
    color: #a22d2d;
    opacity: 100%;
    list-style: none;
    font-weight: bold;
    text-decoration: none;
}
ul.starbullets li a:hover {
    opacity: 0.6;
    color: #a22d2d;
    text-decoration: underline;
    background-color: none;
    list-style: none;
}
ul.starbullets li 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%);
}
.credit-logs {
    overflow: auto;
    min-width: auto;
    height: 250px;
    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, footer a:link {
    color: var(--navbar-link-color);
    text-decoration: none;
    cursor: pointer;
}

footer #footer-icon {
    font-size: 1.2vh;
    display: inline-block;
    vertical-align: middle;
    padding-bottom: 2px;
    margin: auto;
}

/* CUSTOM SCROLLBAR */
/* width */
.logs::-webkit-scrollbar, .credit-logs::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.logs::-webkit-scrollbar-track, .credit-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, .credit-logs::-webkit-scrollbar-thumb {
    width: 3px;
    height: 3px;
    background: #a22d2d;
    border: 1px solid #a22d2d;
}

/* Handle on hover */
.logs::-webkit-scrollbar-thumb:hover, .credit-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, .tooltip a {
    border-bottom: 1.3px solid #a22d2d;
    /* this is the purple dots underline */
    cursor: pointer;
    text-decoration: none;
    color: #a22d2d;
}

.tooltip a:visited {
    opacity: 0.6;
    color: #672a4e;
}

.tooltip:hover {
    opacity: 0.6;
    color: #a22d2d;
    border-bottom: 3px solid #a22d2d;
}

.tooltip-content {
    position: absolute;
    display: none;
    padding: 9px 9px 9px 9px;
    font-size: 0.9rem;
    color: var(--article-heading-color);
    line-height: 1rem;
    z-index: 999;
    margin-top: 20px;
    width: auto;
    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 (width <= 450px) {
    .flex {
        display: flex;
        flex-wrap: wrap;
        overflow-x: hidden;
        align-content: center;
        justify-content: center;
    }
    .banner {
        width: 100%;
        height: auto;
        padding: auto;
        margin: 0 auto;
        justify-content: center;
        align-content: center;
        box-sizing: border-box;
    }
    .nav {
        margin-left: 0 !important;
        margin-right: 50px;
        padding: 0 25px;
    }
    .nav li {
        padding-bottom: 5px; 
    }
    aside > section {
        margin-right: 10px;
    }
    aside {
        display: column;
        flex-wrap: wrap;
        margin-left: 35px;
        margin-right: 35px;
        margin-top: -10px;
        margin-bottom: 15px;
    }
    .modal-content {
        width: 100%;
        height: auto;
        justify-content: center;
        vertical-align: middle;
        padding-right: auto;
        padding-left: auto;
    }
    .logs {
        width: 100%;
        height: 150px;
    }
    section .ko-fi {
        width: 150px;
        margin: 5px 10px;
        align-content: center;
        justify-content: center;
    }
    .project-list {
        display: flex;
        width: 100%;
        gap: 5px;
        flex-wrap: wrap;
        flex-direction: column;
        margin: 0 auto;
    }
    .project-list > div { 
        width: 100%;
        margin: 0;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
        justify-content: center;
        align-items: center;
    }
    .games-item, .desc p {
        width: 100%;
        margin: 5px auto;
    }
    .games-item {
        border-top: 1px dashed var(--darker-border-color);
        border-bottom: 1px dashed var(--darker-border-color);
        border-left: none;
        border-right: none;
    }
    .other-button {
        width: 100%;
        margin: auto 35px;
        padding: 0 40px;
        flex-wrap: wrap;
        display: block;
        align-content: center;
        justify-content: center;
        box-sizing: border-box;
    }
}

/* @media only screen and /*(max-width: 600px)*/ /*(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; 
        column-gap: 10px;
        margin: auto;
    }
    .banner {
        width: 60%;
        height: auto;
        margin: 0 auto;
        padding: 15px;
        position: relative;
    }
    aside > section {
        margin-right: 10px;
    }
    section {
       width: 96%; 
        width: 100%;
        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; 
        margin-right: 50px;
    }
    .nav li {
        padding-bottom: 5px;
    }
} */
