@font-face {
    font-family: JMHCthulhumbusArcade;
    src: url(fonts/JMH-Cthulhumbus-Arcade/JMH-Cthulhumbus-Arcade.otf);
}

@font-face {
    font-family: CodersCrux;
    src: url(fonts/coderscrux/CodersCrux.otf);
}

::-webkit-scrollbar {
    width: 18px;
 }

::-webkit-scrollbar-track {
    background-color: #f2f3f9;
    border-radius: 6px;
}
   
::-webkit-scrollbar-thumb {
    margin: 2px 0px;
    background: #c0d6ff; 
    border-radius: 4px;
    border: 1px solid #d1d1d1;
}
 
::-webkit-scrollbar-thumb:hover {
    background: #d5e4ff; 
}

:root {
    cursor: url(universal/cursor.png), auto;
    font-display: swap;
    box-sizing: border-box;
    background-image: url(universal/bg.png);
}

.tippy-box[data-theme~='winxp'], .tippy-box[data-theme~='winxp-song'] {
    font-size: 1.3rem;
    color: #000;
    background: #ffffe1;
    border: 1px solid #000;
    border-radius: 8px;
}

.tippy-content {
    padding: 0 .5rem;
}

button, .active, .modal-bttn, .modal-close {
    cursor: url(universal/point_click.png), auto;
}

.inactive {
    cursor: url(universal/point_lock.png), auto;
}

a, .activeout {
    cursor: url(universal/arrow_click.png), auto;
}

a {
    color: #000;
    text-decoration: none;
}

img {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.tab {
    font-family: 'JMHCthulhumbusArcade', sans-serif;
    color: #fff;
    padding: 9px 9px 3px;
    height: 22px;
    text-shadow: 1px 1px #0f1089;
    background: linear-gradient(180deg, #0997ff, #0053ee 8%, #0012ca 40%, #06f 88%, #06f 93%, #0012ca 95%, #0012ca 96%, #003dd7);
    border: 1px outset #0012ca;
    border-radius: 8px 8px 0 0;
    & img {
        height: 14px;
    }
}

.header {
    margin: 0 0 1rem 0;
    padding: .5rem;
    color: #fff;
    line-height: normal;
    font-weight: normal;
    font-size: 1.3rem;
    font-family: 'JMHCthulhumbusArcade', sans-serif;
    background: linear-gradient(to right, #0012ca 0%, #0011ca00 100%);
    border-radius: .4rem;
}

body {
    margin: 1rem auto;
    width: 870px;
    font-family: 'CodersCrux', serif;
}

#blanket > *:not(footer) {
    margin-bottom: .5rem;
}

header, aside > div, #page, footer {
    filter: drop-shadow(2px 2px 2px #00000070);
}

header {
    position: relative;
    font-family: 'JMHCthulhumbusArcade', sans-serif;
    color: #fff;
    text-shadow: 1px 1px #0f1089;
    border: 4.5px outset #0012ca;
    border-radius: 15px 15px 0 0;
    image-rendering: pixelated;
    & h1 {
        margin: 0;
        padding: .7rem;
        font-size: 1.8rem;
        font-weight: normal;
    }
}

#hTop {
    display: flex;
    justify-content: space-between;
    padding-left: .4rem;
    background: linear-gradient(180deg, #0997ff, #0053ee 8%, #0012ca 40%, #06f 88%, #06f 93%, #0012ca 95%, #0012ca 96%, #003dd7);
    border-radius: .6rem .6rem 0 0;
     & > div:first-child {
        display: flex;
    }
    & > div:first-child img {
        align-self: center;
    }
    & > div:last-child {
        overflow: hidden;
        height: 50px;
        border-radius: 0 .6rem 0 0;
    }
    & > div:last-child img {
        margin-right: 1.5rem;
        width: 200px;
        height: 100%;
    }
}

#wrapper {
    display: flex;
    gap: .5rem;
    width: 100%;
    font-size: 1.3rem;
    & .tab, .title {
        font-size: 1rem !important;
    }
}

aside {
    width: 25%;
    border-radius: 8px 8px 0 0;
}

#sidebar > .content {
    padding: .7rem;
    background: linear-gradient(#f93715, #ff8b02, #fee101, #59ff1d, #03aef5, #3051fe, #7417fb);
    border: 4.5px outset #0012ca;
    border-top: 0;
    & > *:not(:last-child) {
        margin-bottom: .3rem;
    }
    & a {
        display: block;
    }
    & img {
        height: 14px;
        filter: drop-shadow(1px 1px 1px #2d2d2d99);
    }
}

#sidebar .card a {
    width: fit-content;
}

#sidebar .card:not(:last-child) {
    margin-bottom: 1rem;
}

#sidebar .card .title {
    padding: .5rem .7rem;
    font-family: 'JMHCthulhumbusArcade', sans-serif;
    background: linear-gradient(to right, #f0f0ff 30%, #a8bcff 100%);
    border-radius: 8px 8px 0 0;
}

#sidebar a:hover, #navigation .content > div:hover {
    color: #0c327d;
    text-decoration: underline;
}

#sidebar .card .content {
    padding: .5rem .7rem;
    background: linear-gradient(to right, #b4c8fb 0%, #a4b9fb 50%, #b4c8fb 100%) #c6d3ffde;
    &:not(#updateList) > *:not(:last-child) {
        margin-bottom: .3rem;
    }
}

#page {
    width: 75%;
}

.container {
    border: 4.5px outset #0012ca;
    border-top: 0;
}

nav {
    background: linear-gradient(to right, #edede5 0%, #ede8cd 100%)
}

#toolbar {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid rgba(0, 0, 0, 0.15);
    & > div {
        display: flex;
    }
    & a {
        padding: .7rem;
    }
    & a:hover {
        color: #fff;
        background: #0012ca;
    }
}

main {
    padding: .7rem 1rem;
    line-height: .9rem;
    background: linear-gradient(to bottom, #fcfcfe, #f4f3ee);
    image-rendering: pixelated;
}

#deco {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

#blurb {
    margin: 1rem auto;
    text-align: center;
}

.guestbooks___input-container label {
    display: block;
    margin-bottom: .5rem;
    font-size: 1.2rem;
    color: #0012ca;
    font-family: 'JMHCthulhumbusArcade', sans-serif;
}

.guestbooks___input-container:not(:first-of-type) label {
    margin-top: 1rem;
}

input, textarea {
    padding: .3rem;
    font-size: 1.3rem;
    font-family: 'CodersCrux', serif;
}

#guestbooks___pow-checkbox {
    margin-top: .3rem;
    vertical-align: bottom;
}

input:not([type="checkbox"]) {
    display: block;
    width: stretch;
}

#guestbooks___pow-status {
    margin-left: .1rem;
}

button {
    margin-top: .3rem;
    padding: .5rem .7rem;
    background: linear-gradient(180deg, #0997ff, #0053ee 8%, #0012ca 40%, #06f 88%, #06f 93%, #0012ca 95%, #0012ca 96%, #003dd7);
    color: #fff;
    font-size: 1rem;
    font-family: 'JMHCthulhumbusArcade', sans-serif;
    border: 1px outset #0012ca;
    border-radius: 8px;
    text-shadow: 1px 1px #0f1089;
    &:hover {
        box-shadow: inset -1px 1px #fff0cf, inset 1px 2px #fdd889, inset -2px 2px #fbc761, inset 2px -2px #e5a01a;
    }
}

#guestbooks___guestbook-made-with a {
    color: #0012ca;
    text-decoration: underline;
    &:hover {
        text-decoration: none;
    }
}

.guestbook-message {
    padding: .7rem;
    background: linear-gradient(to bottom, #fcfcfe, #f4f3ee);
    border: 1px solid #d1d1d1;
    border-radius: .3rem;
    filter: drop-shadow(1px 2px 2px rgba(208, 206, 191, .75));
    &:not(:last-child) {
        margin-bottom: .7rem;
    }
    & p {
        margin: 0 0 .5rem 0;
    }
    & b {
        font-size: 1.2rem;
        font-family: 'JMHCthulhumbusArcade', sans-serif;
    }
    & a {
        color: #0012ca;
        text-decoration: underline;
    }
    & a:hover {
        text-decoration: none;
    }
    & blockquote {
        margin: 0;
        padding: .5rem;
        background: #fff;
        border: 1px solid #d1d1d1;
        border-radius: .3rem;
    }
}

.guestbook-message-reply {
    margin-left: 1.5rem;
    background: linear-gradient(180deg, #0997ff, #0053ee 8%, #0012ca 40%, #06f 88%, #06f 93%, #0012ca 95%, #0012ca 96%, #003dd7);
    border: 1px outset rgb(0, 18, 202);
    & p {
        color: #fff;
        text-shadow: rgb(15, 16, 137) 1px 1px;
    }
    & blockquote {
        border: 1px inset rgb(0, 18, 202);
    }
}

footer {
    padding: 9px;
    font-family: 'JMHCthulhumbusArcade', sans-serif;
    color: #fff;
    text-align: center;
    text-shadow: 1px 1px #0f1089;
    background: linear-gradient(180deg, #0997ff, #0053ee 8%, #0012ca 40%, #06f 88%, #06f 93%, #0012ca 95%, #0012ca 96%, #003dd7);
    border: 4.5px outset #0012ca;
    border-radius: 0 0 15px 15px;
}

/* responsive css */

@media screen and (max-width: 1045px) {
    body {
        width: 95%;
    }

    #wrapper {
        flex-direction: column;
        gap: unset;
    }

    #wrapper > *:not(:last-child) {
        margin-bottom: .5rem;
    }

    aside {
        width: unset;
    }

    #page {
        width: unset;
    }
}

@media screen and (max-width: 630px) {
    .invisible-scrollbar::-webkit-scrollbar {
        display: none;
    }
}

