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

@font-face {
    font-family: "Arimo";
    src: url("../../fonts/arimo/Arimo-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@layer marielco-typography {
    body {
        font-family: var(--marielco-font-family);
        font-size: var(--marielco-text-body);
        font-weight: var(--marielco-weight-body);
        font-synthesis: none;
        line-height: var(--marielco-line-body);
        letter-spacing: var(--marielco-tracking-body);
    }

    :where(h1, h2, h3, h4, h5, h6) {
        font-weight: var(--marielco-weight-medium);
        line-height: var(--marielco-line-heading);
        overflow-wrap: anywhere;
    }

    h1 {
        font-size: var(--marielco-heading-1);
    }

    h2 {
        font-size: var(--marielco-heading-2);
    }

    h3 {
        font-size: var(--marielco-heading-3);
    }

    :where(h4, h5, h6) {
        font-size: var(--marielco-text-body);
    }

    :where(b, strong) {
        font-weight: var(--marielco-weight-medium);
    }

    small {
        font-size: var(--marielco-text-small);
    }
}
