html {
    cursor: url(https://solradguy.neocities.org/favicon/fuuenken.ico), auto;
    scrollbar-width: thin;
    scrollbar-color: #a32309 #120101;
    /* scrollbar code for Firefox */
}

/* Default (actually dark) theme */
:root {
    --backgroundcolor: #100200;
    --backgroundgradient: linear-gradient(#100200 80%, #350800);
    --h1color: #d0c188;
    --h2color: #fb5e11;
    --thiccdivider: #7c4a29;
    --ptext: #e1d69e;
    --bold: #deb16a;
    --textshadow: #200000;
    --linkcolor: #ff8d42;
    --linkhover: #c92c2c;
    --txtselectfont: #ef0909;
    --txtselectbg: rgba(117, 0, 255, 0.28);
    --postbackgroundimage: linear-gradient(#220000cb, #1c1c1cae 99%);
    --postbackgroundcolor: rgba(67, 0, 0, 0);
    --togglebutton: #eeddc6;
    --toggletext: #333;
    --indexbuttonbg: #7f0b0b;
    --indexbuttongradient: linear-gradient(to right, rgba(0, 0, 0, 0) 25%, rgb(49, 7, 7) 99%);
    --foothighlight: #561126;
}

/* Light theme */
/* I know the name is .dark-theme but it breaks if it's switched to .light-theme. No I don't know why. */
.dark-theme {
    --backgroundcolor: #350800;
    --backgroundgradient: linear-gradient(#580d00 80%, rgb(190, 168, 168));
    --h1color: #8c1414;
    --h2color: #c61616;
    --thiccdivider: #ad0707;
    --ptext: #200000;
    --bold: #bc0000;
    --textshadow: rgba(255, 255, 255, 0);
    --linkcolor: #0085d8;
    --linkhover: #373093;
    --txtselectfont: rgb(0, 0, 0);
    --txtselectbg: rgba(147, 165, 255, 0.28);
    --postbackgroundimage: linear-gradient(#eeddc6ff, #eeddc6e3 99%);
    --postbackgroundcolor: #edba68ae;
    --togglebutton: #240202;
    --toggletext: #e2cab8;
    --indexbuttonbg: #7f0b0b;
    --indexbuttongradient: linear-gradient(to right, rgba(230, 190, 124, 0.26) 25%, #cc9436 99%);
    --foothighlight: #f4d446;
}

div {
    font-size: 15px;
    line-height: 20px;
}

body {
    font-family: "Inknut Antiqua", sans-serif;
    font-weight: normal;
    font-size: 13px;
    color: var(--ptext);
    background-color: var(--backgroundcolor);
    background-image: var(--backgroundgradient);
    height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#mainshit {
    width: 60%;
    top: 21px;
    margin: -15px 8% 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.post {
    border-radius: 13px;
    width: 74%;
    padding: 33px;
    margin: 3px auto 0 auto;
    background-image: var(--postbackgroundimage);
}

::-moz-selection {
    /* Code for Firefox */
    color: var(--txtselectfont);
    background: var(--txtselectbg);
}

::selection {
    color: var(--txtselectfont);
    background: var(--txtselectbg);
}

h1 {
    font-family: 'Inknut Antiqua', sans-serif;
    line-height: 23px;
    font-size: 20px;
    margin-bottom: 4px;
    font-weight: bolder;
    color: var(--h1color);
    text-shadow: 0 0 5px var(--textshadow);
}

h2 {
    font-family: 'Inknut Antiqua', sans-serif;
    color: var(--h2color);
}

h3 {
    font-family: 'Inknut Antiqua', sans-serif;
    font-size: 14px;
    color: var(--h2color);
    text-align: left;
    padding-top: 22px;
    margin: -7px;
}

p {
    font-family: "Inknut Antiqua", sans-serif;
    font-weight: normal;
    font-size: 13px;
    color: var(--ptext);
    text-shadow: 0 0 5px var(--textshadow);
    cursor: crosshair;
    text-align: left;
}

a {
    font-family: 'Inknut Antiqua', sans-serif;
    font-weight: bold;
    text-decoration: none;
    color: var(--linkcolor);
}

a:hover {
    color: var(--linkhover);
}

ol,
li {
    color: var(--bold);
    text-align: left;
}

.lists {
    text-decoration: none;
}

.lists dt {
    font-family: 'Inknut Antiqua', sans-serif;
    font-weight: bold;
    font-size: 13px;
    color: var(--bold);
}

dl {
    text-align: left;
    color: var(--ptext);
}

dd {
    font-family: 'Inknut Antiqua', sans-serif;
    text-decoration: none;
    color: var(--ptext);
    padding-bottom: 22px;
}

b {
    color: var(--bold);
}

blockquote {
    font-size: 12px;
    font-family: 'Inknut Antiqua', sans-serif;
    color: var(--ptext);
    text-align: left;
    border-left: 3px var(--linkhover) solid;
    border-spacing: 5px;
    padding: 8px;
}

.underline {
    border-bottom: solid 1px var(--linkhover);
}

/*==========  for the rss icon ==========*/
.feed {
    padding: 0 7px 0 18px;
    background: url("https://solradguy.neocities.org/blog/rss14.png") no-repeat 0 50%;
    background-color: var(--postbackgroundimage);
}

.feedborder {
    border: groove 4px #2e0000;
    border-radius: 13px;
    width: 25%;
    padding: 3px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/*==========  centered image captions ==========*/
.image-caption {
    text-align: center;
    font-size: smaller;
    margin: -1px;
    color: var(--linkhover);
    font-weight: bold;
}

.thiccdividerline {
    border-bottom: 5px solid var(--thiccdivider);
}


/*==========  makes a line to divide shit ==========*/
.dividerline {
    border-bottom: solid 1px;
    color: var(--linkhover);
    width: 90%;
    padding: 1%;
    margin: 2% 0 auto 5%;

    justify-content: center;
    align-items: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/*==========  centers shit ==========*/
.centering {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/*========== Adds a big space after something ==========*/
.bigspace {
    height: 30px;
}

/*==========  subsection/subheader text ==========*/
.subheader {
    font-family: "Inknut Antiqua", serif;
    text-decoration: none;
    font-size: 15px;
    color: var(--linkhover);
    border: none;
    margin: 2% 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    max-width: 100%;
}

/*========== styling for blog date text ==========*/
.date {
    font-size: 11px;
    color: var(--linkhover);
}

/* Toggle button aesthetification */
#theme-toggle {
    background-color: var(--togglebutton);
    color: var(--toggletext);
    border: 3px solid #333;
    width: 75%;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin: auto 0 auto 1%;
        margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* end button */

.indexbutton {
    text-decoration: none;
    background: var(--indexbuttonbg);
    background: var(--indexbuttongradient);
    box-shadow: 3px 3px 3px #0f0000;
    font-size: 17px;
    font-family: 'Lustria', serif;
    font-weight: bold;
    cursor: pointer;
    color: var(--ptext);
    padding: 1%;
    border: 1px solid #690303;
    border-style: solid;
    border-radius: 1px;
    margin: 4% 4%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    width: 70%;
    max-width: 100%;
}

.indexbutton:hover {
    background-color: #170000cb !important;
    background: #000;
    color: #ffffff !important;
}

#content {
    position: relative;
}

#content img {
    position: fixed;
    z-index: -1;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0 auto 0 auto;
}

/* ========== START FOOTNOTE CODE ========== */
/*Initialiazing a `footnotes` counter on the wrapper*/
article {
    counter-reset: footnotes;
}

/**
   * Inline footnotes references
   * 1. Increment the counter at each new reference
   * 2. Reset link styles to make it appear like regular text
   */
[aria-describedby="footnote-label"] {
    counter-increment: footnotes;
    /* 1 */
    text-decoration: none;
    /* 2 */
    color: inherit;
    /* 2 */
    cursor: default;
    /* 2 */
    outline: none;
    /* 2 */
}

/**
   * Actual numbered references
   * 1. Display the current state of the counter (e.g. `[1]`)
   * 2. Align text as superscript
   * 3. Make the number smaller (since it's superscript)
   * 4. Slightly offset the number from the text
   * 5. Reset link styles on the number to show it's usable
   */
[aria-describedby="footnote-label"]::after {
    content: "["counter(footnotes) "]";
    /* 1 */
    vertical-align: super;
    /* 2 */
    font-size: 0.5em;
    /* 3 */
    margin-left: 2px;
    /* 4 */
    color: var(--linkcolor);
    /* 5 */
    text-decoration: underline;
    /* 5 */
    cursor: pointer;
    /* 5 */
}

/**
   * Resetting the default focused styles on the number
   */
a[aria-describedby="footnote-label"]:focus::after {
    outline: thin dotted;
    outline-offset: 2px;
}

[aria-label="Back to content"] {
    font-size: 0.8em;
}

/**
 * Highlight target note
 */
footer :target {
    background: var(--foothighlight);
}

/**
 * Visually hidden yet accessible content
 */
.visually-hidden {
    position: absolute;
    clip: rect(0 0 0 0);
    visibility: hidden;
    opacity: 0;
}

footer {
    text-align: left;
}

footer a {
    font-size: 12px;
    font-weight: normal;
}

/* ========== END FOOTNOTE CODE ========== */

/*======= mobile device code starts here =======*/
@media(max-width:1000px) {

    div {
        font-size: 13px;
        flex-direction: column;
    }

    p {
        margin-bottom: 9px;
        letter-spacing: normal;
        font-size: 13px;
    }

    #mainshit {
        position: relative;
        width: fit-content;
        margin: 10px auto 0 auto;
        top: 0;
        order: 1;
    }

    .post {
        width: fit-content;
        margin: 3px auto 0 auto;
        background-color: var(--postbackgroundcolor);
    }

    .indexbutton {
        text-decoration: none;
        margin: 2%;
    }

    #content {
        order: 2;
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    #content img {
        padding-top: 0%;
        position: fixed;
        height: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}