/*
Theme Name: By Any Means
Theme URI: https://www.by-any-means.net/
Author: Orion
Author URI: https://www.by-any-means.net/
Description: 
Tags: personal
Version: 2026
Requires at least: 5.2
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: bam
*/

@font-face {
    font-family: 'Special Elite';
    src: url('fonts/SpecialElite-Regular.ttf');
}

@font-face {
    font-family: 'MS Sans Serif';
    src: url('fonts/ms_sans_serif.woff') format('woff');
    src: url('fonts/ms_sans_serif.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MS Sans Serif';
    src: url('fonts/ms_sans_serif_bold.woff') format('woff');
    src: url('fonts/ms_sans_serif_bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

:root {
    --color-base-100: #6f6587;
    --color-base-200: #514963;
    --color-base-300: #514963;
    --color-base-content: #fff1fa;
    --color-primary: #f3288d;
    --color-primary-content: #fff1fa;
    --color-secondary: oklch(0.788 0.143 185.8);
    --color-secondary-content: oklch(0.342 0.049 198.3);
    --color-accent: #c7adfb;
    --color-accent-content: #353551;
    --color-neutral: #52586a;
    --color-neutral-content: oklch(0.907 0.038 268.9);
    --color-info: #07adfb;
    --color-info-content: oklch(0.335 0.161 239.6);
    --color-success: oklch(0.861 0.13 169);
    --color-success-content: oklch(0.456 0.097 169);
    --color-warning: #f8c275;
    --color-warning-content: oklch(0.441 0.113 75);
    --color-error: oklch(0.763 0.243 12.4);
    --color-error-content: oklch(0.249 0.37 0.7);
    --font-se: 'Special Elite', mono;
    --color-pink-50: #fff1fa;
    --color-pink-100: #ffe2f5;
    --color-pink-200: #ffbee8;
    --color-pink-300: #ff86d4;
    --color-pink-400: #ff41bb;
    --color-pink-500: #ff29b2;
    --color-pink-550: #e50b95;
    --color-pink-600: #ad0f74;
    --color-pink-700: #ac0e73;
    --color-pink-800: #8b0e5e;
    --color-pink-900: #700c4c;
    --color-pink-950: #480731;

    --color-violet-50: #f5f1ff;
    --color-violet-100: #e8deff;
    --color-violet-200: #d7c4ff;
    --color-violet-300: #bd9dff;
    --color-violet-400: #956fdf;
    --color-violet-500: #704aba;
    --color-violet-600: #542e9e;
    --color-violet-700: #482292;
    --color-violet-800: #421c8c;
    --color-violet-900: #3f1989;
    --color-violet-950: #2f0979;

    --color-gray-base: var(--color-slate-300);
    --color-gray-high: var(--color-slate-200);
    --color-gray-shade1: var(--color-slate-400);
    --color-gray-shade2: var(--color-slate-500);

    --color-purp-med: #6f6587;
    --color-purp-dk: #3d2d5d;
    --color-magenta: #f3288d;
    --color-aqua: #00f3ff;

    --color-black: #0c000f;
    --shadow-black: rgba(12, 0, 15, 0.25);
    --color-white: #eef8ff;
    --surface: var(--color-gray-400);
    --wHi: var(--color-gray-50);
    --wFace: var(--color-gray-100);
    --wShadow: var(--color-gray-600);
    --wFrame: var(--color-gray-800);
    --wOuter: inset -1px -1px var(--wFrame), inset 1px 1px var(--wFace);
    --wInner: inset -2px -2px var(--wShadow), inset 2px 2px var(--wHi);
    --bUpOuter: inset -1px -1px var(--wFrame), inset 1px 1px var(--wHi);
    --bUpInner: inset -2px -2px var(--wShadow), inset 2px 2px var(--wFace);
    --bDnOuter: inset 1px 1px var(--wFrame), inset -1px -1px var(--wHi);
    --bDnInner: inset 2px 2px var(--wShadow), inset -2px -2px var(--wFace);
    --sBorder: inset -1px -1px var(--wFace), inset 1px 1px var(--wShadow);

    background-color: var(--color-black);
    font-family: 'MS Sans Serif', Arial;
    -webkit-font-smoothing: none;
    font-size: 16px;
    color: var(--color-base-content);
}

#wpadminbar {
    display: none;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 60px;
    font-family: 'Special Elite', 'Courier New', monospace;
}

h2, h3, h4 {
font-family: 'Special Elite', 'Courier New', monospace;}

a {
    text-decoration: none;
    color: var(--color-pink-300);
    &:hover {
        text-decoration: underline;
    }
}

.siteWrap {
    margin: 8px auto;
    min-height: 100dvh;
    width: fit-content;
    position: relative;
}

.header {
    position: relative;
    width: fit-content;
    z-index: 50;
    .mobileNav {
        display: none;
    }
    &.home {
        background-image: url('images/homeHeadBG.png');
        width: 1256px;
        height: 475px;
        background-repeat: no-repeat;
        background-position: bottom center;
        .logoWrap {
            width: fit-content;
            margin: 0 auto;
            .logo {
                width: 570px;
                height: auto;
            }
        }
        .menuBar {
            display: flex;
            justify-content: space-evenly;
            .logo {
                display: none;
            }
            .archive {
                margin-top: 10px;
            }
            .about {
                margin-top: 20px;
            }
            .rss {
                margin-top: 30px;
            }
        }
    }
    &.page {
        background-image: url('images/pUnderNav.png');
        background-repeat: no-repeat;
        background-position: bottom center;
        margin-left: -80px;
        margin-top: 80px;
        z-index: 999;
        height: 115px;
        width: 1259px;
        filter: drop-shadow(0 10px 20px var(--color-black));
        .menuBar {
            display: flex;
            justify-content: center;
            gap: 32px;
        }

        a {
            position: relative;
            display: block;
        }
        .logo {
            margin-top: -64px;
            margin-left: -24px;
            display: block;
            img {
                width: 286px;
            }
        }
        .underNav {
            position: absolute;
            top: 24px;
            left: 0;
        }
    }
}

.hoverImg img {
    pointer-events: none;
}

.leftTabs {
    position: absolute;
    .twc {
        display: flex;
        justify-content: center;
        align-items: center;
        background-image: url('images/twcBG.png');
        width: 360px;
        height: 125px;
        a img {
            margin-left: 43px;
            border: 4px solid var(--color-black);
        }
    }
    .links {
        a {
            display: block;
            width: fit-content;
        }
    }
    &.home {
        left: -215px;
        top: 600px;
        .mirrors {
            width: 360px;
            height: 273px;
            background-image: url('images/homeMirrorsBG.png');
            margin-top: 360px;
        }
        .mirrorHead {
            transform: translateY(-57px) translateX(-15px);
        }
        .links {
            margin-top: -50px;
            margin-left: 5px;
        }
    }
    &.page {
        left: -215px;
        top: 225px;
        .twc {
            margin-left: -40px;
        }
        .mirrors {
            width: 294px;
            height: 231px;
            background-image: url('images/pMirrorBG.png');
            margin-top: 270px;
        }
        .mirrorHead {
            transform: translateY(-44px) translateX(-10px);
        }
        .links {
            margin-top: -35px;
            margin-left: 35px;
        }
    }
}

.rightTabs {
    position: absolute;
    a {
        display: block;
        width: fit-content;
    }
    .tab {
        display: block;
    }
    &.home {
        right: -140px;
        top: 625px;
        .bSky {
            margin-top: 40px;
        }
        .kofi {
            margin-top: 64px;
            margin-left: -10px;
        }
    }
    &.page {
        right: -100px;
        top: 150px;
        .bSky {
            margin-top: 28px;
        }
        .kofi {
            margin-top: 32px;
            transform: translateX(-20px);
        }
    }
}

.single-comic .rightTabs.page {
	right: 0;
}

.homeBack {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.contentWrap {
    &.home {
        position: relative;
        margin: 0 auto;
        padding: 2rem 0 6rem 0;
        height: 1321px;
        width: 950px;
        z-index: 100;
    }
}

footer {
    width: 1200px;
    margin: 1rem auto 6rem;
    text-align: center;
}

.footNav,
.footNav div {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 3rem;
    font-size: 1.5rem;
    a {
        color: var(--color-aqua);
        text-decoration: none;
        &:hover {
            text-decoration: underline;
        }
    }
}

.previewHome {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 626px;
    height: 934px;
    background-image: url('images/previewBG.png');
}

.readMore {
    margin: 0 auto;
    display: block;
    margin-top: 48px;
    width: fit-content;
}

.comicWrap {
    padding-top: 32px;
    position: relative;
    margin-top: -80px;
    margin-bottom: 80px;
    background-image: url('images/pBG.png');
    z-index: 10;
    width: 1134px;
    height: 1635px;
    background-repeat: no-repeat;
    .comicPage {
        margin: 96px auto 0;
        padding-top: 16px;
        position: relative;
        width: 932px;
        height: 1402px;
        background-image: url('images/pComicBorder.png');
        a {
            margin: 0 auto;
            display: block;
            width: fit-content;
        }
    }
    .comicNav {
        position: absolute;
        display: flex;
        justify-content: space-between;
        margin-left: -150px;
        bottom: 225px;
        width: 1415px;
        a {
            display: block;
        }
        .overBtn {
            margin-top: -150px;
        }
        .back .overBtn {
            margin-left: 120px;
        }
    }
    .mobileComicNav {
        display: none;
    }
}

.transcript {
    position: relative;
    margin: -96px 0 48px 96px;
    filter: drop-shadow(-3px -3px 15px var(--color-black));
    z-index: 30;
    .transHead {
        position: relative;
    }
    .underComic {
        min-height: 256px;
        padding-bottom: 40px;
        width: 1126px;
        margin-top: -4px;
        margin-left: -7px;
        background-image: url('images/postsBGRep.png');
        background-repeat: repeat-y;
    }
    .transText {
        rotate: 2.15deg;
        font-size: 17px;
        line-height: 24px;
        p {
            margin-bottom: 12px;
        }
    }
    .innerTrans {
        max-width: 100%;
        padding: 0 96px 64px 96px;
        margin-left: 12px;
    }
    h1 {
        position: absolute;
        top: 96px;
        left: 48px;
        rotate: -1.5deg;
    }
    .transFoot {
        margin-top: -40px;
        margin-left: -40px;
        position: relative;
    }
}

.pageWrap {
    padding-top: 32px;
    position: relative;
    margin-top: -80px;
    z-index: 10;
    width: 1134px;

    background-repeat: no-repeat;
    &.home {
        height: 1635px;
    }
    .pageContent {
        padding-bottom: 40px;
        min-height: 700px;
        margin-top: -46px;
        margin-left: -7px;
        background-image: url('images/postsBGRep.png');
        background-repeat: repeat-y;
    }
    .innerPage {
        margin: -16px auto 0;
        width: 900px;
    }
    h1 {
        rotate: -1.5deg;
    }
    .pageFoot {
        margin-top: -40px;
        margin-left: -48px;
        position: relative;
        height: 250px;
        img {
            position: absolute;
            top: 0;
            left: 0;
            max-width: unset;
            width: 1250px;
        }
    }
    .pagination .nav-links {
        position: relative;
        margin: 0 auto;
        display: flex;
        font-size: 36px;
        font-family: 'Special Elite', 'Courier New', monospace;
        width: 900px;
        rotate: 2deg;
        transform: translateY(2.5rem);
        .nav-next {
            margin-left: auto;
        }
    }
}

.posts,
.singlePost {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
    padding-bottom: 64px;
    .postTitle {
        font-size: 30px;
        font-family: 'Special Elite', 'Courier New', monospace;
    }
    .postDate {
        display: block;
        margin-left: 24px;
        margin-bottom: 24px;
    }
    .postBody {
        font-size: 17px;
        line-height: 24px;
        margin-bottom: 16px;
        p {
            margin-bottom: 12px;
        }
    }
    .sep {
        border-top: 8px dotted var(--color-black);
        margin-left: -4rem;
        margin-bottom: 20px;
        transform: translateY(20px);
        width: calc(100% + 8rem);
        rotate: 2deg;
    }
    .sep-1 {
        margin-bottom: 16px;
        rotate: -1.5deg;
        margin-bottom: 40px;
    }
}

.singlePost {
    .postDate {
        margin-top: 16px;
    }
}



@media (max-width: 1600px) {
    .rightTabs,
    .leftTabs {
        display: none;
    }
    body {
        width: 100%;
    }
    .contentWrap,
    .siteWrap {
        margin: 0 auto;
        width: 100%;
    }
    .header {
        &.page {
            margin: 40px auto 0;
        }
    }
    .comicWrap {
        margin: -80px auto 80px;
    }
}

@media (max-width: 1300px) {
    .header.page,
    .header.home {
        background-image: none;
        width: fit-content;
        margin: 0 auto;
        height: fit-content;
        filter: none;
    }
    .logoWrap {
        display: none;
    }
    .header {
        padding: 8px 0;
        &.page .menuBar,
        &.home .menuBar {
            display: none;
        }

        .mobileNav {
            display: flex;
            align-items: center;
            gap: 2rem;
            margin: 0 auto;
            width: fit-content;
            font-size: 30px;
            font-family: 'Special Elite', 'Courier New', monospace;
            .logo {
                margin: 0;
            }
            .links {
                display: flex;
                flex-direction: column;
                gap: 8px;
            }
        }
        &.home {
            .mobileNav {
                font-size: 40px;
            }
            .logo img {
                width: 500px;
            }
        }
    }
    .homeBack,
    .pageWrap .pageHead {
        display: none;
    }

    .pageWrap {
        .innerPage {
            width: 100%;
            max-width: 900px;
            margin: 0 auto;
            padding: 0 2rem;
        }
        .pageFoot {
            height: fit-content;
            max-width: 95%;
            margin: 0 auto;
            img {
                display: none;
            }
        }
        .pagination .nav-links {
            width: 90%;
            rotate: 0deg;
            transform: none;
        }
    }
    .contentWrap,
    .siteWrap,
    .comicWrap,
    .contentWrap.home,
    .comicWrap .comicPage,
    .pageWrap,
    .pageWrap .pageContent,
    .transcript,
    .transcript .underComic,
    footer {
        margin: 0 auto;
        width: fit-content;
        height: fit-content;
        background-image: none;
        padding: 0;
        max-width: 100%;
    }

    .transcript {
        .transHead,
        .transFoot {
            display: none;
        }
        h1 {
            position: relative;
            top: 0;
            left: 0;
            margin-bottom: 2rem;
            font-size: 40px;
        }
        .transText {
            rotate: 0deg;
        }
    }

    .contentWrap.home {
        margin-bottom: 6rem;
    }

    .comicWrap .comicPage a img {
        max-width: 95dvw;
        height: auto;
    }

    footer {
        margin-bottom: 6rem;
        .footNav {
            margin-bottom: 1rem;
            flex-direction: column;
            .sep {
                display: none;
            }
            div {
                margin: 0;
            }
        }
    }

    .posts,
    .singlePost {
        .sep {
            border-top-color: var(--color-magenta);
            margin-left: 0;
            width: 100%;
        }
    }

    .comicWrap {
        /* display: flex;
        flex-direction: column-reverse; */
        margin-bottom: 2rem;
    }

    .comicWrap .mobileComicNav {
        display: flex;
        justify-content: space-between;
        width: 100%;
        font-family: 'Special Elite', 'Courier New', monospace;
        font-size: 45px;
        margin-top: 3rem;
        div {
            display: flex;
            gap: 1rem;
        }
    }

    .comicWrap .comicNav {
        display: none;
    }
}

@media (max-width: 800px) {
    .comicWrap .mobileComicNav .forward {
       flex-direction: column;
    }
    .comicWrap .mobileComicNav .back {
       flex-direction: column-reverse;
       align-items: flex-end;
    }
	.transcript .innerTrans {
        padding: 0 30px 10px;
        margin-left: 0;
    }
}
