/* =============================== */
/*  VARIABLES Y CONFIGURACIÓN BASE */
/* =============================== */
@font-face {
    font-family: "BD Supper";
    src: url("../../fonts/BDSupperBold.woff") format("woff");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: "BD Supper";
    src: url("../../fonts/BDSupperRegular.woff") format("woff");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Atjeh";
    src: url("../../fonts/Atjeh.woff") format("woff");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "CalgaryBoldCondensed";
    src: url("../../fonts/calgary-boldcondensed.woff") format("woff");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

:root {
    --color-primary: #000000;
    --color-secondary: #f2a142;
    --color-accent: #9e1708;
    --color-text: #202020;
    --color-background: #d9d9d9;
    --font-family-bd-supper: "BD Supper", Impact, Haettenschweiler, "Arial Black", sans-serif;
    --font-family-bd-supper-bold: "BD Supper", Impact, Haettenschweiler, "Arial Black", sans-serif;
    --font-family-atjeh: "Atjeh", Impact, Haettenschweiler, "Arial Black", sans-serif;
    --font-family-calgary: "CalgaryBoldCondensed", Impact, Haettenschweiler, "Arial Black", sans-serif;
    --font-family-base: var(--font-family-bd-supper);
    --max-width-container: 100%;
    --spacing-unit: 1rem;
}

/* =============================== */
/*  RESETEO Y TIPOGRAFÍA GENERAL   */
/* =============================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

main {
    flex: 1 0 auto;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}
