/* =========================
   RESET
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
   HTML / BODY
   ========================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
}


/* =========================
   IMAGES
   ========================= */

img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* =========================
   LINKS
   ========================= */

a {
    color: inherit;
    text-decoration: none;
}


/* =========================
   LISTES
   ========================= */

ul,
ol {
    list-style: none;
}


/* =========================
   TITRES
   ========================= */

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}


/* =========================
   PARAGRAPHES
   ========================= */

p {
    color: var(--text-muted);
}


/* =========================
   BOUTONS
   ========================= */

button {
    font: inherit;
    border: 0;
    background: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================
   SELECTION
   ========================= */

::selection {
    background-color: var(--dark-bar);
    color: var(--text-light);
}