@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* GUTGUN
** Designed by
** Incaseofgrace (Grace Gittel Lewis)
http://incaseofgrace.com */


/* Variables */
* {
    /* Fonts */
    --HeaderFont: Barlow Condensed;
    --BodyFont: Montserrat;

    /* Colors */
    --ColorPrime: #F4F6F6;
    --ColorSec: #F8B2B1;
    --ColorSec-2: #080707;
    --ColorTert-1: #EE3C3C;
    --ColorTert-2: #A11212;
    --ColorTert-3: #FFFFFF;
    --BodyColor: #080707;
    --BodyLight: #F4F6F6;
    --Shadow: none;

    /* Misc */
    --Border-N: none;
    --Border-1: none /* Primary border */;
    --Border-2: 3px solid var(--ColorTert-2) /* Secondary border, blockquotes */;
    --Border-3: none /* Interactives like buttons and such, usually */;
    --Border-4: 10px solid var(--ColorSec-2) /* For header underlines, and HR */;
    --BorderRad: 0px;
    --BorderRad-2: 0px 0px 30px 0px;
    --BoxShad-1: none;
    --Transit: all .3s; 
    overflow-wrap: break-word;
}

/* __STATICWIKI DEFAULTS__ */
.columnowner {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-right: 15px;
    padding-left: 15px;
    width: 1000px;
    max-width: 100%;
}
.flexhandler {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 100%;
    max-width: 100%;
}
.flexwrapper {
    display: flex;
    flex-wrap: wrap;
}
.overlay {
    position: fixed;
    left: 0;
    right: 0;
    top: 70px;
    bottom: 0;
    z-index: 1050;
    overflow: hidden;
    outline: 0;
    visibility: hidden;
}
#searchResults {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--ColorPrime);
}
::-webkit-scrollbar-thumb {
    background: var(--ColorTert-1);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--ColorTert-1);
}

/* __BODY__ */
body {
    font-family: var(--BodyFont);
    background: url(../bkg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    font-size: 20px;
}
/* Panel */
.item {
    display: flex;
    flex-direction: column;
    background: var(--ColorPrime);
    border-radius: var(--BorderRad);
    padding: 12px;
    margin-top: 75px;
    margin-bottom: 25px;
}

/* __TEXT__ */
p,
.copyright,
li {
    color: var(--BodyColor);
}
::selection {
    background: var(--ColorTert-1);
    color: var(--ColorSec-2);
}

/* Headers */
.page-title {
    font-family: var(--HeaderFont);
    font-weight: 800;
    font-size: 3em;
    text-align: center;
    text-transform: uppercase;
    color: var(--ColorTert-3);
    background: var(--BodyColor);
    padding: 0px 100px 5px 100px;
    margin: -12px -27px 15px -27px;
    border-radius: var(--BorderRad);
    border: none!important;
    outline: none!important;
}
h1 {
    font-family: var(--HeaderFont);
    font-weight: 800;
    font-size: 2.2em;
    text-align: left;
    text-transform: uppercase;
    color: var(--ColorPrime);
    background: var(--ColorSec-2);
    padding: 3px 20px 6px 20px;
    border-radius: var(--BorderRad-2);
    border-left: 21px solid var(--ColorTert-1);
    outline: var(--Border-4);
    outline-offset: -10px;
}
h2 {
    font-family: var(--HeaderFont);
    font-weight: 800;
    font-size: 2em;
    text-align: left;
    text-transform: uppercase;
    color: var(--ColorTert-2);
}
h3 {
    font-family: var(--BodyFont);
    font-weight: 600;
    font-size: 1.5em;
    text-align: left;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--ColorTert-2);
}
/* Links */
a {
    color: var(--ColorTert-3);
    font-weight: bold;
    background: var(--ColorTert-2);
    padding: 0px 3px;
    text-decoration: none;
    transition: var(--Transit);
}
a:hover {
    color: var(--BodyColor);
    background: none;
}
.navbar-light .navbar-nav .nav-link a {
    text-decoration: none!important;
}

/* TEXT OVERWRITE__ */
.text-centered,
.text-centered h2,
.text-centered h3 {
    text-align: center;
}

/* __BUTTONS__ */
.link-btn a {
    display: block;
    width: max-content;
    font-weight: bold;
    text-align: center;
    background: var(--ColorTert-1);
    color: var(--ColorSec-2);
    box-shadow: none;
    border-radius: var(--BorderRad);
    border-left: 21px solid var(--ColorSec-2);
    outline: var(--Border-4);
    outline-color: var(--ColorTert-1);
    outline-offset: -10px;
    padding: 5px 15px 10px 15px;
    margin: 10px auto;
}
.link-btn a:hover {
    color: var(--ColorTert-1);
    background: var(--ColorSec-2);
    outline-color: var(--ColorSec-2);
    border-color: var(--ColorTert-1);
    box-shadow: none;
    text-decoration: none;
}
P:has(.link-btn) {
    margin: 10px;
}
/* List */
.link-btn-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.link-btn-list .link-btn {
    display: inline-block;
}

/* __HR__ */
hr {
    border-top: var(--Border-2);
}

/* __QUOTES__ */
blockquote {
    background: var(--ColorSec);
    border-left: var(--Border-2);
    border-width: 6px;
    font-size: 20px;
    padding: 15px;
}
blockquote footer {
    font-size: 20px;
    font-style: italic;
    color: var(--MuteColor);
}

/* __NAVBAR__ */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    background: var(--ColorSec-2);
    box-shadow: var(--BoxShad-1);
    border: none;
    border-radius: var(--BorderRad);
}
.navbar-default .navbar-collapse,
.navbar .container-fluid {
    padding: 0px 3px;
}
.navbar-default .navbar-nav>li>a {
    color: var(--ColorSec);
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: none;
    background: none;
    margin-left: -10px;
    transition: all .2s ease-in-out;
}
.navbar-default .navbar-nav>li>a:hover {
    color: var(--ColorPrime);
    padding-top: 7px;
}
/* Mobile */
.navbar-default .navbar-toggle,
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
    background: none;
    border: none!important;
    border-color: transparent;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: var(--ColorSec);
    width: 25px;
    height: 4px;
    border-radius: 0px;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
    border: none;
    box-shadow: none;
}

/* __SEARCH__ */
.navbar-default .form-group .form-control {
    background: var(--ColorSec-2);
    border: var(--Border-1);
    border-bottom: 3px solid var(--ColorTert-1);
    border-radius: var(--BorderRad);
    box-shadow: var(--BoxShad-1);
    font-size: 20px;
    color: var(--ColorPrime);
    text-transform: uppercase;
}
.navbar-default .form-group .form-control::placeholder {
    color: var(--MuteColor);
    font-size: 20px;
}
/* Results */
#searchResultsCover .item {
    border: var(--Border-2);
    border-color: var(--ColorSec-2);
    height: fit-content!important;
    padding: 0px;
}
#searchResultsCover .item h2 {
    background: var(--ColorSec-2);
    color: var(--ColorPrime);
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 3px 15px 8px 15px;
}
#searchResults {
    padding: 0px;
}
#searchResults br {
    display: none;
}
#searchResults a {
    font-family: var(--HeaderFont);
    font-weight: bold;
    font-size: 26px;
    text-transform: uppercase;
    display: block;
    color: var(--BodyColor);
    border-color: var(--ColorSec-2);
    text-decoration: none;
    padding: 0px 10px;
    box-shadow: none;
}
#searchResults a:nth-of-type(even) {
    background: var(--ColorSec);
}
#searchResults a:nth-of-type(odd) {
    background: var(--ColorPrime);
}
#searchResults a:hover {
    background: var(--ColorTert-2);
    color: var(--ColorPrime);
    box-shadow: none;
    transition: all .15s ease-in-out;
}
#searchResults a:last-of-type {
    border-bottom: none;
}

/* __BACKTOHOME__ */
.backtohome {
    display: block;
    position: absolute;
    content: url();
    width: 45px;
    height: 45px;
    background: var(--ColorTert-1);
    top: 2px;
    left: 20px;
    box-shadow: none;
    clip-path: polygon(100% 0%, 100% 50%, 100% 100%, 0% 50%);
    transition: all 0.3s;
}
.backtohome:hover {
    background: var(--ColorSec);
    transform: scale(1.05) translatex(-10px);
    transition: all 0.3s;
    box-shadow: none!important;
}

/* __COVER__ */
#page-cover {
    display: block;
    content: url(../Gutgun\Banner.png);
    background: none;
    width: calc(100% + 24px)!important;
    max-width: calc(100% + 24px);
    margin: -12px -12px 0px -12px;
}

/* __DATE__ */
.post-date {
    text-transform: uppercase;
    text-align: center;
    color: var(--ColorTert-1);
    width: max-content;
    margin: auto;
}
.post-date p {
    border-bottom: var(--Border-2);
}

/* __FOOTNOTES__ */
/* Top */
a:has(sup) {
    font-weight: bold;
    background: none;
}
a sup {
    padding: 0px 3px;
    text-decoration: underline;
    text-underline-offset: 2px;
}
/* Bottom */
.footnotes hr {
    margin-bottom: 15px;
}
.footnotes ol {
    padding: 0px 25px;
}
.footnote-back-ref {
    margin-left: 3px;
}

/* __CATEGORIES__ */
.footer-section {
    margin: 15px -27px 0px -27px;
}
.categories {
    color: transparent;
    background: var(--ColorSec-2);
    padding: 7px 27px 7px 27px;
}
.categories a {
    color: var(--ColorSec-2);
    margin: 0px;
    background: var(--ColorTert-1);
}
.categories .cat-title {
    background: none;
    color: var(--ColorPrime);
    outline: none;
    border: none;
    text-transform: uppercase;
}
.categories a:hover {
    background: var(--ColorSec-2);
    color: var(--ColorTert-1);
    outline-color: var(--ColorSec-2);
}
.copyright {
    padding: 15px 15px 3px 15px;
}
/* Category page title tweak */
.categoryPrefix {
    margin-right: 10px;
}
/* Category page H2 */
.category-page h2 {
    margin-bottom: 0px;
    background: var(--ColorSec-2);
    color: var(--ColorPrime);
    padding-left: 10px;
}

/* __LINK LISTS__ */
.link-list {
    border: var(--Border-2);
    border-color: var(--ColorSec-2);
}
.link-list br {
    display: none;
}
.link-list p {
    margin: 0px;
}
.link-list a {
    font-family: var(--HeaderFont);
    color: var(--ColorSec-2);
    font-weight: bold;
    font-size: 26px;
    text-transform: uppercase;
    display: block;
    border-color: var(--ColorSec-2);
    text-decoration: none;
    padding: 0px 10px;
    box-shadow: none;
}
.link-list a:nth-of-type(even) {
    background: var(--ColorSec);
}
.link-list a:nth-of-type(odd) {
    background: var(--ColorPrime);
}
.link-list a:last-of-type {
    border-bottom: none;
}
.link-list a:hover {
    background: var(--ColorTert-2);
    color: var(--ColorPrime);
    box-shadow: none;
    transition: all .15s ease-in-out;
}

/* __FOOTER LINKS__ */
.footer-links {
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
    margin-top: 3px;
}
.footer-links a {
    margin: 0px 2px;
}

/* __DETAIL SPOILERS__ */
details {
    font-family: var(--HeaderFont);
    font-weight: bold;
    font-size: 26px;
    text-transform: uppercase;
    max-height: min-content;
    border: var(--Border-2);
    transition: max-height .3s ease-in;
    margin: 15px 0px;
}
details summary {
    background: var(--ColorTert-2);
    color: var(--ColorPrime);
    padding: 2px 7px;
}
details summary:hover {
    cursor: pointer;
}
details summary::before {
    display: inline-block;
    position: relative;
    content: url();
    width: 19px;
    height: 19px;
    background: var(--ColorPrime);
    top: 10px;
    left: 0px;
    box-shadow: none;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    margin-right: 10px;
    transition: var(--Transit);
}
details[open] {
    max-height: max-content;
    border: var(--Border-2);
}
details a {
    display: block;
    border-bottom: var(--Border-2);
    text-decoration: none;
    padding: 0px 10px;
    box-shadow: none;
}
details[open] a:nth-of-type(even) {
    background: var(--ColorSec);
}
details[open] a:nth-of-type(odd) {
    background: var(--ColorPrime);
}
.item details a:hover {
    background: var(--ColorTert-2);
    color: var(--ColorPrime);
    box-shadow: none;
    transition: all .15s ease-in-out;
}
/* Nesting */
details[open] details {
    margin: 6px;
}
/* Arrow rotations in up to 3 nests */
details[open] summary::before {
    transform: rotate(180deg);
}
details[open] details summary::before {
    transform: rotate(0deg);
}
details[open] details[open] summary::before {
    transform: rotate(180deg);
}
details[open] details[open] details summary::before {
    transform: rotate(0deg);
}
details[open] details[open] details[open] summary::before {
    transform: rotate(180deg);
}

/* DETAIL CONTENT WARNINGS */
.contentwarning {
    width: fit-content;
    margin: 15px auto;
    text-align: center;
    color: var(--BodyColor);
}
.contentwarning summary {
}
.contentwarning[open] {
    width: 100%;
}
.contentwarning summary::before {
    width: 15px;
    height: 15px;
    top: 12px;
    left: 0px;
}

/* __LOREBOOKS__ */
.lorebook-shelf {
    display: flex;
    flex-direction: row;
}
.lorebook {
    max-width: 50%;
}
.lorebook a {
    background: none;
}
.lorebook img {
    display: block;
    width: 25%;
    margin: auto;
}
.lorebook h2 {
    text-align: center;
}

/* __LOREBOOK NAV__ */
.lorebook-nav p {
    display: flex;
    gap: 15px;
}
.lorebook-nav a {
    background: var(--ColorTert-2);
    color: var(--ColorPrime);
    padding-left: 5px;
    padding-right: 5px;
    width: 100%;
    flex-basis: 50%;
    text-align: center;
}
.lorebook-arrow {
    color: var(--ColorSec);
    text-decoration: none;
}
.lorebook-nav a:hover {
    background: var(--ColorSec-2);
    color: var(--ColorPrime);
    text-decoration: none;
}
.lorebook-nav a:hover .lorebook-arrow {
    color: var(--ColorTert-1);
}
/* Single covers */
.lorebook-cover {
    display: flex;
    align-self: center;
    margin: auto;
    width: 25%;
}

/* __IMAGES__ */
.item img {
    max-width: 100%;
}

/* -------------------------------- */

/* __PAGE SPECIFICS__ */
/* __HOMEPAGE__ */
body:has(.homepage) .backtohome {
    display: none;
}
body:has(.homepage) .page-title {
    display: none;
}
.homepage-cover {
    width: calc(100% + 54px)!important;
    max-width: calc(100% + 54px);
    margin: -12px -27px 0px -27px;
    margin-bottom: 20px;
}
.homepage-cover img {
}

/* -------------------------------- */


/* __SCREEN SCALING__ */
@media only screen and (max-width: 1440px) {

}
@media only screen and (max-width: 1199px) {

}
@media only screen and (max-width: 991px) {

}
@media only screen and (max-width: 768px) {
    .lorebook-cover {
        width: 50%;
    }
}
@media only screen and (max-width: 425px) {
    .columnowner {
        padding: 0px;
    }
    .navbar-default .navbar-nav>li>a {
        margin-left: 0px;
    }
    .navbar-default .navbar-collapse {
        padding: 0px 25px;
    }
    .page-title {
    padding: 0px 20px 5px 20px;
    }
    .backtohome {
        position: fixed;
        width: 35px;
        height: 35px;
        top: 10px;
        left: 10px;
        z-index: 1060;
    }
    .lorebook-cover {
        width: 100%;
    }
}

/* -------------------------------- */

/* __PAGE SPECIFICS__ */
/* __HOMEPAGE__ */
body:has(.homepage) .backtohome {
    display: none;
}