@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&display=swap');

/* ==========================================================
   ### FONTS ###
   ========================================================== */

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/DMSans-9ptRegular.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/DMSans-9ptItalic.woff2") format("woff2");
    font-style: italic;
    font-weight: 100 1000;
    font-display: swap;
}

/* ======================= FONTS END ======================== */


/* ==========================================================
   ### SITE VARIABLES ###
   Structural and typographic values only.
   No colours belong here.
   ========================================================== */

:root {
    --header-max-width: 1600px;
    --content-max-width: 1350px;
    --article-max-width: 1200px;
    --content-padding: 15px;

    --mobile-breakpoint: 768px;
    --menu-breakpoint: 1200px;

    --font-main: "DM Sans", Arial, sans-serif;
}

body {
    font-family: var(--font-main);
    font-weight: 400;
    letter-spacing: 0.01em;
}

strong,
b {
    font-weight: 600;
}

h2, .h2, h1, .h1 {
    color: var(--heading-color);
    margin-bottom: 2rem;
}
h6, .h6, h5, .h5, h4, .h4, h3, .h3{
    color: var(--heading-color);
    margin-bottom: 1rem;
}

:root {
    --heading-h1-size: 2em;
    --heading-h2-size: 1.7em;
    --heading-h3-size: 1.5rem;
    --heading-h4-size: 1.4rem;
    --heading-h5-size: 1.2rem;
    --heading-h6-size: 1rem;
}

h1, .h1 {
    font-size: var(--heading-h1-size);
}

h2, .h2 {
    font-size: var(--heading-h2-size);
}

h3, .h3 {
    font-size: var(--heading-h3-size);
}

h4, .h4 {
    font-size: var(--heading-h4-size);
}

h5, .h5 {
    font-size: var(--heading-h5-size);
}

h6, .h6 {
    font-size: var(--heading-h6-size);
}

/* ==================== SITE VARIABLES END ================== */
