﻿@font-face {
    font-family: 'Mark Pro';
    src: url(../fonts/mark_w1_regular.woff2) format('woff2'), url(../fonts/mark_w1_regular.woff) format('woff');
}

@font-face {
    font-family: 'Mark Pro Bold';
    src: url(../fonts/mark_w1_bold.woff2) format('woff2'), url(../fonts/mark_w1_bold.woff) format('woff');
}

.font-display {
    font-family: var(--font-header);
    font-style: normal;
    font-weight: var(--font-weight-header);
    font-size: 48px;
    line-height: 56px;
}

.font-large {
    font-family: var(--font-header);
    font-style: normal;
    font-weight: var(--font-weight-header);
    font-size: 32px;
    line-height: 40px;
}

.font-medium {
    font-family: var(--font-header-small);
    font-style: normal;
    font-weight: var(--font-weight-header);
    font-size: 20px;
    line-height: 28px;
}

.font-small {
    font-family: var(--font-bold-text);
    font-style: normal;
    font-weight: 700;
    font-size: var(--font-size-small);
    line-height: 20px;
}

.font-small-header 
{
    font-family: var(--font-header);
    font-style: normal;
    font-weight: var(--font-weight-header);
    font-size: var(--font-size-small);
    line-height: 20px;
}

.font-preamble {
    font-family: var(--font-text);
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
}

.font-text {
    font-family: var(--font-text);
    font-style: normal;
    font-weight: 400;
    font-size: var(--font-size-small);
    line-height: var(--font-heigth-small);
}

@media (max-width: 768px) {
    .font-display {
        font-family: var(--font-header-small);
        font-style: normal;
        font-weight: var(--font-weight-header);
        font-size: 32px;
        line-height: 40px;
    }

    .font-large {
        font-family: var(--font-header-small);
        font-style: normal;
        font-weight: var(--font-weight-header);
        font-size: 24px;
        line-height: 32px;
    }

    .font-medium {
        font-family: var(--font-header-small);
        font-style: normal;
        font-weight: var(--font-weight-header);
        font-size: 20px;
        line-height: 28px;
    }

    .font-small {
        font-family: var(--font-text);
        font-style: normal;
        font-weight: 700;
        font-size: calc(var(--font-size-small) - 2px);
        line-height: 16px;
    }

    .font-small-header {
        font-family: var(--font-header-small);
        font-style: normal;
        font-weight: var(--font-weight-header);
        font-size: calc(var(--font-size-small) - 2px);
        line-height: 18px;
    }

    .font-preamble {
        font-family: var(--font-text);
        font-style: normal;
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
    }

    .font-text {
        font-family: var(--font-text);
        font-style: normal;
        font-weight: 450;
        font-size: calc(var(--font-size-small) - 2px);
        line-height: calc(var(--font-heigth-small) - 4px);
    }
}