/* =========================================================
   ART.SPOT — MAIN CSS
   Clean base version
   ========================================================= */

/* =========================================================
   1. VARIABLES
   ========================================================= */

:root {
    --color-text: #111111;
    --color-background: #ffffff;
    --color-muted: #666666;
    --color-border: #d5d5d5;
    --color-soft: #f3f3f3;
    --color-pink: #ff7cbe;

    --color-red: #e42d1d;
    --color-blue: #302ee7;
    --color-blue-dark: #16156f;
    --color-white: #ffffff;

    --font-body: "Barlow Semi Condensed", "Barlow", Arial, sans-serif;
    --font-display: "Barlow Semi Condensed", "Barlow", Arial, sans-serif;

    --container-width: 1400px;
    --page-padding: 24px;
    --header-height: 64px;

    --transition-fast: 180ms ease;
    --transition-image: 320ms ease;
}

/* =========================================================
   2. RESET / GLOBAL
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
    margin: 0;
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-background);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
}

.site-container {
    width: min(
        var(--container-width),
        calc(100% - (2 * var(--page-padding)))
    );
    margin-inline: auto;
}

i {
    font-family: var(--font-display);
    font-style: italic;
}

/* ---------- Small mobile variables ---------- */

@media (max-width: 620px) {
    :root {
        --page-padding: 16px;
        --header-height: 64px;
    }
}
