/* ==========================================================
RESET
========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ==========================================================
GLOBAL
========================================================== */

:root {

    /* ==========================
    FONT SIZES
    ========================== */

    --font-xs: 0.75rem;      /* 12px */
    --font-sm: 0.875rem;     /* 14px */
    --font-md: 1rem;         /* 16px */
    --font-lg: 1.25rem;      /* 20px */
    --font-xl: 1.5rem;       /* 24px */
    --font-2xl: 2rem;        /* 32px */
    --font-3xl: 2.75rem;     /* 44px */


    /* ==========================
    COMMON COLORS
    ========================== */

    --black: #1c1c1c;
    --white: #ffffff;

    --text-main: #111111;
    --text-body: #666666;
    --text-muted: #888888;
    --text-light: #bcbcbc;


    /* ==========================
    LAYOUT
    ========================== */

    --sidebar-width: 280px;


    /* ==========================
    RADIUS
    ========================== */

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;


    /* ==========================
    TRANSITIONS
    ========================== */

    --transition-fast: 0.2s ease;
    --transition-normal: 0.25s ease;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: "Poppins", sans-serif;

    font-size: var(--font-md);

    line-height: 1.6;

    color: var(--text-main);

    background: #f5f4f0;

}


/* ==========================================================
STANDARDIZED PAGE TYPOGRAPHY
========================================================== */

.commission-page {

    font-size: var(--font-md);

}


/* BODY TEXT */

.commission-page p,
.commission-page li {

    font-size: var(--font-md);

}


/* SMALL TEXT */

.commission-page small {

    font-size: var(--font-sm);

}


/* LABELS / META */

.commission-page .label,
.commission-page .status,
.commission-page .price-label {

    font-size: var(--font-xs);

}


/* SECTION TITLES */

.commission-page h2 {

    font-size: var(--font-xl);

}


/* PAGE TITLES */

.commission-page h1 {

    font-size: var(--font-2xl);

}


/* CARD TITLES */

.commission-page h3 {

    font-size: var(--font-lg);

}

/* ==========================================================
PAGE SYSTEM
========================================================== */

.page {
    display: none;
    opacity: 0;
}

.page.active {
    display: block;
    animation: pageFadeIn 0.35s ease forwards;
}

@keyframes pageFadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


/* ==========================================================
MAIN CONTENT
========================================================== */

#main-content {
    opacity: 1;
    transition: opacity 0.25s ease;
}

#main-content.page-fade-out {
    opacity: 0;
}

#main-content.page-fade-in {
    animation: pageFadeIn 0.35s ease;
}

@keyframes pageFadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


/* ==========================================================
SIDEBAR PUSHED PAGES
========================================================== */

/*
Home and Personas already handle
their own sidebar spacing.

Everything else gets pushed
beside the sidebar.
*/

#main-content > *:not(.hero):not(.persona) {

    margin-left: var(--sidebar-width);

    width: calc(100% - var(--sidebar-width));

    min-height: 100vh;

    transition:

        margin-left var(--transition-normal),

        width var(--transition-normal);

}


/* ==========================================================
SIDEBAR CLOSED
========================================================== */

body.sidebar-closed
#main-content > *:not(.hero):not(.persona) {

    margin-left: 0;

    width: 100%;

}


/* ==========================================================
MODAL - MAINTENANCE [START]
========================================================== */

.modal-oops {

    position: fixed;

    inset: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    background: rgba(0, 0, 0, .45);

    z-index: 9999;


    /* Hidden */

    opacity: 0;

    visibility: hidden;

    pointer-events: none;


    transition:

        opacity var(--transition-fast),

        visibility var(--transition-fast);

}


/* ==========================
OPEN
========================== */

.modal-oops.show {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


/* ==========================
BOX
========================== */

.modal-box {

    width: min(600px, 90vw);

    padding: 35px;

    background: var(--white);

    border-radius: var(--radius-lg);

    text-align: center;

    box-shadow:

        0 12px 45px rgba(0, 0, 0, .18);


    transform: scale(.88);

    transition:

        transform var(--transition-fast);

}


.modal-oops.show .modal-box {

    transform: scale(1);

}


/* ==========================
GIF
========================== */

.modal-gif {

    display: block;

    width: 250px;

    height: auto;

    margin: 0 auto 18px;

}


/* ==========================
TEXT
========================== */

.modal-title {

    font-size: var(--font-lg);

    font-weight: 700;

    margin-bottom: 12px;

}


.modal-text {

    font-size: 16px;

    line-height: 1.8;

    color: var(--text-body);

    margin-bottom: 36px;

}


/* ==========================
BUTTON
========================== */

.modal-btn {

    border: none;

    background: var(--black);

    color: var(--white);

    padding: 12px 40px;

    border-radius: 999px;

    font-family: inherit;

    font-size: var(--font-sm);

    font-weight: 600;

    cursor: pointer;

    transition:

        opacity var(--transition-fast),

        transform var(--transition-fast);

}


.modal-btn:hover {

    opacity: .85;

    transform: translateY(-2px);

}


/* ==========================
NO SELECTION
========================== */

.modal-oops,
.modal-oops * {

    user-select: none;

    -webkit-user-select: none;

    -moz-user-select: none;

    -ms-user-select: none;

    -webkit-tap-highlight-color: transparent;

}


/* ==========================
IOS
========================== */

.modal-oops {

    -webkit-touch-callout: none;

}


/* ==========================================================
MODAL - MAINTENANCE [END]
========================================================== */