@font-face {
    font-family: 'Montserrat';
    src: url('/assets/core/fonts/montserrat/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/core/fonts/montserrat/Montserrat-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/core/fonts/montserrat/Montserrat-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/core/fonts/montserrat/Montserrat-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-base);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    font-weight: var(--font-weight-normal);
    color: var(--color-text);
}

body,
button,
input,
select,
textarea {
    font-family: var(--font-base);
}

button,
input,
select,
textarea {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: inherit;
    line-height: var(--line-height-heading);
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.025em;
}

h1 {
    font-size: 34px;
    font-weight: var(--font-weight-bold);
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 18px;
}

p {
    line-height: var(--line-height-body);
}

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

.text-caption {
    font-size: var(--font-size-caption);
}

.text-muted {
    color: var(--color-muted);
}

.readable-text {
    max-width: var(--container-readable);
    line-height: 1.7;
}

@media (max-width: 640px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }
}
