/* ===========================================
   ROOT VARIABLES
=========================================== */

:root {
    --primary: #912423;
    --primary-light: #ffb3ad;
    --background: #e7e1e1;
    --surface-dark: #131313;
    --text-dark: #131313;
    --text-light: #e7e1e1;
    --text-secondary: #494646;
    --border: #e5e2e1;
    --margin: 20px;
    --max-width: 1280px;
}

/* ===========================================
   RESET
=========================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===========================================
   BASE
=========================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===========================================
   GLOBAL LINKS
=========================================== */

a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* ===========================================
   MEDIA
=========================================== */

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* ===========================================
   FORM ELEMENTS
=========================================== */

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

input,
textarea,
select {
    outline: none;
}

/* ===========================================
   LISTS
=========================================== */

ul,
ol {
    list-style: none;
}

/* ===========================================
   TABLES
=========================================== */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ===========================================
   UTILITIES
=========================================== */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-inline: var(--margin);
}

@media (min-width: 1200px) {
    .container {
        padding-inline: 32px;
    }
}