/*Full Page*/

#full-wrapper {
    text-align: center;
    background-image: url("img/bg_muted.png");
    color: #D40000;
    font-family:'Times New Roman', Times, serif;
}

a:link {color: #D48100}
a:visited {color: #D44100}
a:hover {color: #D4A100}

hr {
    width: 75%;
    border: 1px solid #D40000;
}

/*Page Content*/

body {
    background-image: url("img/bg_full.png")
}

body small {
    margin-top: 20px;
}


header h2 {
    margin-bottom: 0px;
}

header a, header a:link, header a:visited, header a:hover {
    color: #D40000;
    text-decoration: none;
}

#banner {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #000000;
    padding: 0px;
    padding-bottom: 5px;
    display: flex;
    list-style: none;
    margin: 0;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
}

#banner li {
    text-align: center;
    list-style: none;
}

#top-wrapper {
    width: auto;
    min-width: 350px;
    z-index: 3;
}

#nav-pane {
    padding: 2px;
    display: grid;
    width: 100%;
    justify-content: space-between;
    grid-template-columns: 1fr auto 1fr;
    grid-auto-flow: row dense;
    position: sticky;
    top: 30px;
}

a:link .reverse {color: #D44100}
a:visited .reverse {color: #D48100}
a:hover .reverse {color: #D48100}

#cat-pane {
    padding: 2px;
    display: grid;
    width: 75%;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: row dense;
}

#cat-pane a {
    padding: 2px;
}

#split-content {
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
}

/*Right side content: img/notes*/
#split-content > :nth-child(odd) img {
    width: 100%;
    padding-right: 5px;
}
/*Left side content: text*/
#split-content > :nth-child(even) {
    align-items: center;
}

ul {
    align-content: center;
    text-align: center;
    list-style-position: inside;
}

ul li {
    text-align: left;
    list-style: georgian;
}

button {
    background-color: #220000;      /* Very dark red */
    color: #d44100;
    border: 1px solid #d40000;      /* Bright red border */
    padding: 10px 20px;
    text-transform: uppercase;      /* All caps for impact */
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.img-stack {
    position: relative;
    height: 96px;
    width: auto;
}

.img-stack img {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

.decoration {
    display: none;
}

.behind img {
    z-index: -1;
}

.flipped {
    left: 0;
    transform: scaleX(-1);
}

.stretch {
    width: 100%;
}

/* SCREEN SIZE OVERRIDES */

/* Phone (single column) */
@media only screen and (max-width: 600px) {
    #full-wrapper {
        font-size: 20px;
    }
}

/* Tablet (double column) Overrides */
@media only screen and (min-width: 601px) {
    #full-wrapper {
        font-size: 18px;
    }

    .decoration {
        display: block;
    }
    
    #cat-pane {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    /*Split Page Content*/
    #split-content {
        display: grid;
        grid-template-columns: 4fr 1fr;
        gap: 0.5rem;
        grid-auto-flow: row dense;
    }
    /*Right side content: img/notes*/
    #split-content > :nth-child(odd) {
        grid-column: 2;
        padding-right: 5px;
    }
    /*Left side content: text*/
    #split-content > :nth-child(even) {
        margin: 0 10px 0 10px;
        grid-column: 1;
    }
}

/* Desktop (double column w. borders) Overrides */
/*@media only screen and (min-width: 1080px) and (orientation: landscape) {*/
@media only screen and (min-width: 1080px) {
    #full-wrapper {
        /*font-size: 16px;*/
        max-width: 1080px;
        margin: auto;
    }

    /*#top-wrapper {
        font-size: 18px;
    }*/

    #cat-pane {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    
    #split-content {
        grid-template-columns: 2fr 1fr;
    }
}

/* Blurs for content warnings */
.is-blurred {
    filter: blur(10px);
    pointer-events: none; /* Prevents clicking links while blurred */
    user-select: none;   /* Prevents highlighting text while blurred */
    transition: filter 0.5s ease;
}
.is-visible {
    filter: blur(0);
    pointer-events: auto;
    user-select: auto;
}

/* Blurs for spoilers */
.spoiler-content.is-blurred {
    filter: blur(10px);
    pointer-events: none;
    user-select: none;
    transition: filter 0.5s ease;
}
.spoiler-content.is-visible {
    filter: blur(0);
    pointer-events: auto;
    user-select: auto;
}