@import url("https://fonts.googleapis.com/css2?family=Anton&family=Bungee&display=swap");

:root {
    --mint: rgb(187, 236, 220);
    --red: #e0414b;
    --blue: #7083ff;
    --yellow: #ffe66d;
    --cream: #ffe8bd;
    --ink: #111;
    --paper: #fff;
    --border: 5px solid var(--ink);
    --shadow: 10px 10px 0 var(--ink);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--mint);
    color: var(--ink);
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

main {
    width: 100%;
}

img,
video {
    max-width: 100%;
}

h1,
.footer-brand h2 {
    font-family: "Silkscreen", sans-serif;
}

h2,
h3,
button,
a,
label,
.eyebrow {
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

.comic-title-font {
    font-family: "Bungee", "Anton", "Oswald", sans-serif;
    font-weight: 400;
    letter-spacing: 0;
}

h2,
h3 {
    text-transform: uppercase;
    
}

p {
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.45;
}

a,
button {
    min-height: 36px;
    border: 3px solid var(--ink);
    background-color: var(--paper);
    color: var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    padding: 8px 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

a:hover,
a:focus-visible,
button:hover,
button:focus-visible {
    background-color: var(--yellow);
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0 var(--ink);
}

#nav {
    width: 100%;
    min-height: 86px;
    background-color: var(--red);
    border-bottom: var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(18px, 6vw, 90px);
}

.brand-link {
    min-height: auto;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

.brand-link:hover,
.brand-link:focus-visible {
    background: transparent;
    transform: translate(2px, 2px);
    box-shadow: none;
}

h1 {
    color: var(--paper);
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 100;
    line-height: 1;
    text-shadow: 3px 3px 0 var(--ink);
}

#nav2 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

#nav2 a {
    min-width: 96px;
}

.hero-section {
    min-height: calc(100vh - 86px);
    background-color: var(--mint);
}

#body {
    min-height: calc(100vh - 86px);
    width: 100%;
    background-color: var(--blue);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
    color: var(--paper);
    border-bottom: var(--border);
}

#body1 {
    min-width: 0;
    padding: clamp(32px, 7vw, 78px) clamp(18px, 5vw, 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#body1 > p:first-child,
.eyebrow {
    margin-bottom: 18px;
    font-weight: 900;
    text-transform: uppercase;
}

#body h2,
.page-hero h2 {
    font-size: clamp(64px, 12vw, 160px);
    line-height: 0.88;
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-weight: 900;
    text-shadow: 6px 6px 0 var(--ink);
}

#verse {
    margin-left: clamp(38px, 13vw, 170px);
}

#dis {
    max-width: 680px;
    margin-top: 30px;
    margin-bottom: clamp(28px, 6vw, 86px);
    word-spacing: 4px;
    font-weight: 700;
}

#explore {
    width: auto;
    min-width: 230px;
    min-height: 50px;
    font-size: 17px;
}

#body2 {
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(28px, 5vw, 64px);
    border-left: var(--border);
}

#box,
.comic-card,
.support-card,
.admin-form,
.admin-preview,
.about-copy {
    border: var(--border);
    box-shadow: var(--shadow);
    background-color: var(--paper);
}

#box {
    width: min(330px, 100%);
    aspect-ratio: 11 / 15;
    display: flex;
    flex-direction: column;
    background-image: url(poster.webp);
    background-size: cover;
    background-position: center;
    box-shadow: 14px 12px 0 rgba(255, 255, 255, 0.8), 20px 18px 0 var(--ink);
}

#box1 {
    flex: 1;
}

#box2 {
    min-height: 58px;
    background-color: var(--cream);
    border-top: var(--border);
}

#button {
    width: 100%;
    height: 100%;
    min-height: 58px;
    border: 0;
    box-shadow: none;
    font-size: 18px;
}

#main1 {
    min-height: 100vh;
    width: 100%;
    background-color: var(--mint);
    overflow: hidden;
    border-bottom: var(--border);
}

video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}

.page-hero,
.content-band,
.support-grid,
.admin-layout,
.about-layout {
    width: 100%;
    padding: clamp(38px, 7vw, 88px) clamp(18px, 7vw, 96px);
}

.page-hero {
    min-height: 52vh;
    background-color: var(--blue);
    color: var(--paper);
    border-bottom: var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.page-hero p {
    max-width: 880px;
    font-weight: 800;
}

.comic-hero,
.about-layout {
    background-color: var(--blue);
}

.comic-hero {
    min-height: 44vh;
    gap: 18px;
    text-align: left;
}

.comic-hero h2 {
    max-width: 960px;
    font-family: "Bungee", "Anton", "Oswald", sans-serif;
    font-size: clamp(40px, 7vw, 88px);
    font-weight: 400;
    line-height: 1;
    color: var(--paper);
    text-shadow: 5px 5px 0 var(--ink);
}

.comic-hero p:not(.eyebrow) {
    max-width: 720px;
}

.admin-hero,
.support-hero {
    background-color: var(--red);
}

.support-hero {
    align-items: center;
    text-align: center;
}

.support-hero h2 {
    max-width: 980px;
    font-family: "Bungee", "Anton", "Oswald", sans-serif;
    font-size: clamp(42px, 8vw, 96px);
    font-weight: 400;
    line-height: 1;
    color: var(--white);
    text-shadow: 6px 6px 0 var(--ink);
}

.support-hero p {
    margin-inline: auto;
}

.content-band {
    background-color: var(--mint);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.section-head h2,
.admin-preview h2 {
    font-size: clamp(38px, 7vw, 80px);
    line-height: 1;
    color: var(--red);
    -webkit-text-stroke: 2px var(--ink);
    text-shadow: 5px 5px 0 var(--blue), 8px 8px 0 var(--ink);
}

.content-band .section-head h2 {
    font-family: "Silkscreen", sans-serif;
    font-weight: 100;
}

.comic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 210px));
    justify-content: start;
    gap: clamp(18px, 3vw, 28px);
}

.comic-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: var(--cream);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.comic-card:hover {
    transform: translate(5px, 5px);
    box-shadow: 5px 5px 0 var(--ink);
}

.comic-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    border-bottom: var(--border);
    background-color: var(--blue);
}

.comic-card-body {
    min-height: 138px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
    padding: 12px;
}

.comic-card h3 {
    font-size: clamp(18px, 2.1vw, 25px);
    line-height: 0.95;
}

.support-card h3 {
    font-size: clamp(26px, 4vw, 38px);
    line-height: 0.95;
}

.comic-card a {
    width: 100%;
    min-height: 42px;
    background-color: var(--red);
    color: var(--paper);
    padding: 7px 9px;
    font-size: 13px;
}

.empty-state {
    grid-column: 1 / -1;
    border: var(--border);
    box-shadow: var(--shadow);
    background-color: var(--yellow);
    padding: 28px;
    font-weight: 900;
}

.admin-layout {
    background-color: var(--mint);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: clamp(30px, 6vw, 70px);
    align-items: start;
}

.admin-form,
.admin-preview {
    padding: clamp(22px, 4vw, 34px);
}

.admin-form {
    display: grid;
    gap: 22px;
    background-color: var(--cream);
}

label {
    display: grid;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
}

input {
    width: 100%;
    min-height: 54px;
    border: 4px solid var(--ink);
    background-color: var(--paper);
    padding: 12px;
    font-size: 17px;
    font-weight: 800;
}

input[type="file"] {
    cursor: pointer;
}

button[type="submit"] {
    min-height: 58px;
    background-color: var(--red);
    color: var(--paper);
    font-size: 19px;
}

.form-note {
    border: 4px solid var(--ink);
    background-color: var(--yellow);
    box-shadow: 6px 6px 0 var(--ink);
    padding: 12px;
    font-size: 16px;
    font-weight: 900;
}

.admin-preview {
    background-color: var(--paper);
}

.mini-comic-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.mini-comic {
    border: 4px solid var(--ink);
    background-color: var(--mint);
    padding: 12px;
    font-weight: 900;
    box-shadow: 5px 5px 0 var(--ink);
}

.support-grid {
    background-color: var(--mint);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(24px, 4vw, 42px);
    align-items: stretch;
}

.support-card {
    min-height: 310px;
    background-color: var(--red);
    color: var(--paper);
    padding: clamp(22px, 4vw, 34px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.support-card p {
    font-weight: 800;
}

.support-card a {
    width: min(100%, 210px);
    min-height: 48px;
}

.accent-blue {
    background-color: var(--blue);
}

.accent-yellow {
    background-color: var(--yellow);
    color: var(--ink);
}

.about-layout {
    min-height: calc(100vh - 86px);
    display: grid;
    grid-template-columns: minmax(250px, 390px) minmax(0, 0.92fr);
    align-items: center;
    justify-items: center;
    column-gap: clamp(105px, 12vw, 180px);
    row-gap: clamp(36px, 7vw, 78px);
    color: var(--paper);
    border-bottom: var(--border);
}

.about-poster,
.footer-poster {
    background-image: url(poster.webp);
    background-size: cover;
    background-position: center;
    border: 6px solid var(--ink);
}

.about-poster {
    width: min(390px, 100%);
    aspect-ratio: 3 / 4;
    justify-self: center;
    align-self: center;
    box-shadow: 14px 14px 0 var(--red), 24px 24px 0 var(--ink);
}

.about-copy {
    color: var(--ink);
    background-color: var(--paper);
    padding: clamp(24px, 5vw, 46px);
    display: grid;
    gap: 22px;
    align-self: center;
    justify-items: start;
    text-align: left;
}

.about-copy h2 {
    width: 100%;
    border: var(--border);
    background-color: var(--blue);
    padding: clamp(14px, 3vw, 24px);
    font-family: "Bungee", "Anton", "Oswald", sans-serif;
    font-size: clamp(34px, 6vw, 76px);
    font-weight: 400;
    line-height: 1;
    color: var(--paper);
    text-shadow: 5px 5px 0 var(--ink);
    box-shadow: 8px 8px 0 var(--ink);
}

.about-copy p:not(.eyebrow) {
    max-width: 850px;
    font-size: clamp(17px, 1.7vw, 21px);
    font-weight: 700;
}

#footer {
    width: 100%;
    background-color: var(--mint);
    color: var(--ink);
    display: grid;
    grid-template-columns: minmax(260px, 410px) minmax(0, 1fr);
    gap: clamp(28px, 6vw, 78px);
    align-items: center;
    padding: clamp(36px, 7vw, 86px) clamp(18px, 7vw, 96px);
    border-top: var(--border);
    border-bottom: var(--border);
}

.footer-poster {
    width: min(360px, 100%);
    aspect-ratio: 3 / 4;
    justify-self: center;
    box-shadow: 14px 14px 0 var(--red), 24px 24px 0 var(--ink);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.footer-poster:hover {
    transform: translate(5px, 5px);
    box-shadow: 8px 8px 0 var(--blue), 14px 14px 0 var(--ink);
}

.footer-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-brand h2 {
    font-size: clamp(48px, 9vw, 104px);
    color: var(--red);
    font-weight: 100;
    line-height: 1;
    -webkit-text-stroke: 2px var(--ink);
    text-shadow: 6px 6px 0 var(--blue), 10px 10px 0 var(--ink);
}

.footer-brand p {
    max-width: 650px;
    font-weight: 900;
}

.footer-links,
.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    min-width: 116px;
}

.footer-socials a {
    width: 54px;
    height: 54px;
    padding: 0;
    font-size: 18px;
    border-width: 4px;
    background-color: var(--blue);
    color: var(--paper);
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
    background-color: var(--red);
    color: var(--paper);
}

.footer-copy {
    width: fit-content;
    max-width: 100%;
    background-color: var(--yellow);
    border: 4px solid var(--ink);
    box-shadow: 7px 7px 0 var(--ink);
    padding: 12px 14px;
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 900;
}

@media (max-width: 980px) {
    #nav {
        align-items: flex-start;
        flex-direction: column;
    }

    #nav2 {
        justify-content: flex-start;
    }

    #body,
    .admin-layout,
    .about-layout,
    #footer {
        grid-template-columns: 1fr;
    }

    #body2 {
        border-left: 0;
        border-top: var(--border);
    }

    #box {
        width: min(300px, 82vw);
    }

    #footer,
    .about-layout {
        text-align: center;
    }

    .about-copy {
        justify-items: center;
        text-align: center;
    }

    .footer-content,
    .footer-brand,
    .footer-links,
    .footer-socials {
        align-items: center;
        justify-content: center;
    }

    .footer-copy {
        width: 100%;
    }
}

@media (max-width: 560px) {
    #nav {
        min-height: auto;
        padding: 16px;
    }

    #nav2 {
        width: 100%;
        gap: 10px;
    }

    #nav2 a {
        flex: 1 1 138px;
        min-width: 0;
        font-size: 13px;
    }

    #body1 {
        padding: 30px 16px;
    }

    #body h2,
    .page-hero h2 {
        font-size: clamp(52px, 18vw, 72px);
    }

    .comic-hero h2,
    .support-hero h2 {
        font-size: clamp(34px, 10vw, 54px);
        text-shadow: 4px 4px 0 var(--ink);
    }

    #verse {
        margin-left: 22px;
    }

    #dis {
        word-spacing: 1px;
    }

    #explore,
    .section-head a {
        width: 100%;
        min-width: 0;
    }

    #body2 {
        padding: 32px 16px 42px;
    }

    #main1,
    video {
        min-height: 58vh;
        height: 58vh;
    }

    .page-hero,
    .content-band,
    .support-grid,
    .admin-layout,
    .about-layout,
    #footer {
        padding: 36px 16px 48px;
    }

    .section-head h2,
    .admin-preview h2 {
        font-size: clamp(38px, 14vw, 64px);
    }

    .about-copy h2 {
        font-size: clamp(28px, 9vw, 44px);
        text-shadow: 4px 4px 0 var(--ink);
        box-shadow: 6px 6px 0 var(--ink);
    }

    .support-card {
        min-height: 260px;
    }

    .footer-poster,
    .about-poster {
        width: min(280px, 82vw);
        box-shadow: 10px 10px 0 var(--red), 17px 17px 0 var(--ink);
    }

    .footer-brand h2 {
        font-size: clamp(42px, 15vw, 68px);
        text-shadow: 4px 4px 0 var(--blue), 7px 7px 0 var(--ink);
    }

    .footer-links a {
        flex: 1 1 135px;
    }
}
