/* FONTS */

@font-face{
    font-family: "Pixel Operator";
    src: url("fonts/PixelOperator") format("truetype");
}

@font-face{
    font-family: "Pixel Operator";
    src: url("fonts/PixelOperator.ttf") format("truetype");
}

@font-face{
    font-family: "Pixel Operator";
    src: url("fonts/PixelOperator-Bold.ttf") format("truetype");
    font-weight: bold;
}

@font-face{
    font-family: "Digi";
    src: url("fonts/DSDIGIB.TTF") format("truetype");
}

/* VARIABLES */

:root {
    --lightblue: #49855b; /* #d2dbdd */
    --creme: #000000;     /* unified creme tone */
    --darkblue: rgb(63, 119, 79);     /* deeper dark blue */
}

/* GENERAL */

::selection {
    color: #ffffff;
    background-color: rgb(118, 118, 118);
}

html {
    background-color:black;
    background-attachment: fixed;
    background-size: cover;

    font-family: "Pixel Operator", monospace;
    font-size: 18px;
    color: var(--darkblue);
    line-height: 1.8;

    cursor: url(https://files.catbox.moe/81rgee.cur), auto;

    scroll-behavior: smooth;
}

html, body {
    min-width: 100vw;
    min-height: 100vh;
    margin: 0;
}

/* TITLES AND TEXT */

h1 {
    font-family: "GoldenGirdle", monospace;
    text-align: center;
    font-size: 2.25em;
    margin-top: 1em;
    margin-bottom: 0;
    text-shadow: 0 0 2px var(--darkblue);
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.4em;
    }
}

h2 {
    font-size: 1.5em;
    font-weight: bold;
    margin: auto 10px;
    text-shadow: 0 0 1px var(--darkblue);
}

h3 {
    font-size: 1.25em;
    font-weight: bold;
    margin: 5px 10px;
    text-shadow: 0 0 1px var(--darkblue);
}

h4 {
    font-size: 1em;
    font-weight: bold;
    margin: 5px 5px 15px 5px;
    text-transform: uppercase;
}

p {
    font-size: 1em;
    line-height: 1em;
}

.quote {
    display: flex;
    justify-content: center;
    font-style: italic;
    text-align: center;
}

/* LINKS AND BUTTONS */

a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: bold;
    text-shadow: -1px -1px 0 #254d31, 1px -1px 0 gray, -1px 1px 0 gray, 1px 1px 0 gray, 0 0 3px black;
}

button {
    box-shadow: -2px -2px 3px inset rgba(37,55,77, 0.25), 1px 2px 3px inset rgba(37,55,77, 0.5), 0 0 3px black;
    background: linear-gradient(rgb(37, 77, 49) 10%, var(--lightblue), var(--lightblue) 40%, #2b4f36);

    font-family: inherit;
    font-size: 1em;
    font-weight: bold;
    color: rgb(249, 249, 249);
    text-shadow: -1px -1px 0 gray, 1px -1px 0 gray, -1px 1px 0 gray, 1px 1px 0 gray, 0 0 3px black;

    height: 3em;
    margin: 5px;

    border-radius: 5px;
    border: 1px solid #999999;
}

a, button, summary {
    cursor: url(https://files.catbox.moe/j4hfdo.cur), auto;
    transition: letter-spacing 0.5s;
}

a:hover, button:hover {
    letter-spacing: 1.25px;
    transition: letter-spacing 0.5s;
}

/* BOXES, CONTAINERS, OTHER STUFF */

#container {
    max-width: 1000px;
    margin: 0 auto;
}

#header, header {
    width: 100%;
    text-align: center;
}

.main {
    width: 60%;
    float: left;
}

.right_sidebar, .left_sidebar {
    width: 20%;
    float: left;
}

@media only screen and (max-width: 650px) {
    .left_sidebar, .main, .right_sidebar {
        width: 100%;
    }
}

/* "APPS" SHOWN IN THE MAIN PAGE */

.appimg {
    transition: transform .5s;
    text-align: center;
}

.appimg:hover {
    transform: scale(1.1);
}

.apptitle {
    box-shadow: 0px 2px 4px 0px #aaaa inset, 0px -4px 4px -1px #aaaa;
    background: rgba(0, 0, 0, 0.4);

    font-size: 1em;
    font-weight: bold;
    text-align: center;
    padding-bottom: 2px;
    color: var(--darkblue);

    border-radius: 5px;
}

/* SECTION STYLING */

section {
    background-color: var(--creme);
    box-shadow: 0 0 10px 0 #000000 inset, 0 0 3px #000000;
    padding: 0px 15px 10px 15px;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid #000000;
}

.titledsection {
    padding: 0;
}

.sectiontitle {
    box-shadow: -2px -2px 3px inset rgba(37,55,77, 0.25), 1px 2px 3px inset rgba(37,55,77, 0.5);
    background: linear-gradient(#cef3ff 10%, var(--lightblue), var(--lightblue) 40%, #edf0f1);
    height: 2.75em;
    margin-bottom: 10px;
    padding-left: 10px;

    border-bottom: 1px solid #000000bb;
    border-radius: 4px 4px 0 0;
}

.sectioncontent {
    padding: 0px 18px 4px 18px;
}

.innersection {
    background-color: #f7e1e1;
    border-radius: 5px;
    box-shadow: 0 0 10px #f5f5f599 inset;
    border: black solid 1px;
    margin: 10px 15px;
    padding: 5px 15px;
}

/* ICONS AND IMAGES FORMATTING */

.arrow {
    padding: 0px 3px 0 4px;
    vertical-align: text-bottom;
}

.emote {
    filter: none;
    border-radius: none;
    vertical-align: text-bottom;
}

/* TOOLTIP STYLING */

#s-m-t-tooltip {
    max-width: 300px;
    z-index: 10;
    margin: 24px 14px 7px 12px;

    padding: 8px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 5px;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.15), -1px -1px 0 rgba(255,255,255,0.3);

    font-family: "Pixel Operator", monospace;
    font-size: 1em;
    line-height: 1em;
    color: #e7e7e7;
}

/* BLOG PAGE STYLING */

.entry {
    margin: 5px 15px;
}

.entrycontent {
    text-align: left;
    padding: 0.5em 1em 1em 1.5em;
    font-size: 1em;
    line-height: 1.2em;
    overflow-x: hidden;
}

.photo {
    float: right;
    margin-left: 15px;
}

.tofilter {
    display: block;
    margin: 15px auto;
    filter: grayscale(100%) drop-shadow(0 0 1px #222);
    transition: filter 0.5s;
}

.tofilter:hover {
    filter: grayscale(0%) drop-shadow(0 0 1px #222);
    cursor: url(https://files.catbox.moe/j4hfdo.cur), auto;
}

/* TESTING */

.navicon {
    text-align: right !important;
}

/* LOADER */

#loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--lightblue);
}

.loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;

    border-radius: 50%;
    background: radial-gradient(farthest-side, var(--darkblue) 94%, #0000) top/8px 8px no-repeat,
    conic-gradient(#0000 30%, var(--darkblue));
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
    animation: l13 1s infinite linear;
}

@keyframes l13 {
    100% {
        transform: rotate(1turn);
    }
}

.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s;
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0;
    }

    to {
        bottom: 0px;
        opacity: 1;
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}
