* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    min-height: 100%;
}

/* =========================
   WELCOME SCREEN
========================= */

.welcome {
    background: #000;
}

.welcome-screen {
    width: 100%;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome-screen a {
    color: #fff;
    text-decoration: none;

    font-size: 18px;
    letter-spacing: 3px;
}

.welcome-screen img {
    display: block;

    max-width: 90vw;
    max-height: 90vh;

    width: auto;
    height: auto;

    cursor: pointer;
}

/* =========================
   COMIC PAGES
========================= */

.comic-page {
    background-color: #000;
    background-image: url("images/flowers.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;

    color: #888;

    margin: 0;
    padding: 0;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    text-align: center;
}

.comic-container {
    width: fit-content;
    max-width: 100%;
    padding: 40px 0;
}

/* =========================
   COMIC IMAGE
========================= */

.comic-container > img {
    display: block;

    width: auto;
    max-width: 100%;
    height: auto;

    margin: 0 auto;
}

/* =========================
   COMIC NAVIGATION
========================= */

.comic-navigation {
    margin-top: 25px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 25px;
}

.comic-navigation a {
    display: block;

    text-decoration: none;
    line-height: 0;
}

.comic-navigation a img {
    display: block;

    width: auto;
    max-width: 180px;
    height: auto;

    border: none;

    transition: opacity 0.3s ease;
}

.comic-navigation a:hover img {
    opacity: 0.7;
}

/* =========================
   NAVIGATION PAGE
========================= */

.navigation-container {
    width: 100%;
    max-width: 650px;

    padding: 40px 0;

    text-align: center;
}

.navigation-container h1 {
    margin: 0 0 40px 0;

    color: #fff;

    font-size: 30px;
    font-weight: normal;

    letter-spacing: 5px;
}

/* =========================
   MORE / SOCIALS
========================= */

.more-text {
    color: #666;
    font-size: 30px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* =========================
   FUSSY LINK
========================= */

.fussy-link {
    display: block;
    width: fit-content;
    margin: 0 auto;
    line-height: 0;
}

.fussy-link img {
    display: block;
    max-width: 180px;
    width: auto;
    height: auto;
    margin: 0 auto;

    transition: opacity 0.3s ease;
}

/* =========================
   PAGE LINKS
========================= */

.page-links {
    display: flex;

    flex-direction: column;
    align-items: center;

    width: 100%;

    gap: 18px;
}

.page-links a {
    display: block;

    color: #666;
    text-decoration: none;

    font-size: 0.95em;
    letter-spacing: 3px;
}

.page-links a:hover {
    color: #aaa;
}

/* =========================
   HOME BUTTON
========================= */

.navigation-container .comic-navigation {
    margin-top: 45px;
}

.navigation-container .comic-navigation img {
    display: block;

    width: auto;
    max-width: 180px;
    height: auto;

    transition: opacity 0.3s ease;
}

.navigation-container .comic-navigation img:hover {
    opacity: 0.7;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .comic-page {
        min-height: 100vh;

        display: flex;
        justify-content: center;
        align-items: center;

        background-attachment: scroll;
        background-position: center top;
    }

    .comic-container {
        width: fit-content;
        max-width: 100%;
        padding: 10px 0 25px;
    }

    .comic-container > img {
        display: block;

        width: auto;
        max-width: 100%;
        height: auto;

        margin: 0 auto;
    }

    .comic-navigation {
        margin-top: 15px;
        gap: 8px;
        width: 100%;
        padding: 0 8px;
    }

    .comic-navigation a {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .comic-navigation a img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 55px;
    }

    .navigation-container {
        width: 94%;
        padding: 25px 0 30px;
    }

    .navigation-container h1 {
        margin-bottom: 30px;
        font-size: 1.2em;
        letter-spacing: 3px;
    }

    .page-links {
        gap: 15px;
    }

    .page-links a {
        font-size: 0.9em;
        letter-spacing: 2px;
    }

    .navigation-container .comic-navigation {
        margin-top: 35px;
    }

    .navigation-container .comic-navigation img {
        max-height: 55px;
        max-width: 100%;
    }
}

/* =========================
   BLACK COMIC PAGE
========================= */

body.black-page {
    background-image: none;
    background-color: #000;
}