@font-face {
    font-family: 'On';

    src: url('../fonts/OnLight.woff') format('woff'),
         url('../fonts/OnLight.woff2') format('woff2');

    font-weight: 300;
    font-style: normal;

    font-display: swap;
}

@font-face {
    font-family: 'On';

    src: url('../fonts/OnNormal.woff') format('woff'),
         url('../fonts/OnNormal.woff2') format('woff2');

    font-weight: 400;
    font-style: normal;

    font-display: swap;
}

@font-face {
    font-family: 'On';

    src: url('../fonts/OnMedium.woff') format('woff'),
         url('../fonts/OnMedium.woff2') format('woff2');

    font-weight: 500;
    font-style: normal;

    font-display: swap;
}

@font-face {
    font-family: 'On';

    src: url('../fonts/OnSemiBold.woff') format('woff'),
         url('../fonts/OnSemiBold.woff2') format('woff2');

    font-weight: 600;
    font-style: normal;

    font-display: swap;
}

@font-face {
    font-family: 'On';

    src: url('../fonts/OnBold.woff') format('woff'),
         url('../fonts/OnBold.woff2') format('woff2');

    font-weight: 700;
    font-style: normal;

    font-display: swap;
}

@font-face {
    font-family: 'On';

    src: url('../fonts/OnBlack.woff') format('woff'),
         url('../fonts/OnBlack.woff2') format('woff2');

    font-weight: 800;
    font-style: normal;

    font-display: swap;
}