////
/// @group helpers/font-faces
////

@import "govuk-frontend/dist/govuk/tools/exports";
//@import "../base";

/// Font Face - Inter
///
/// Outputs the font-face declaration for Inter at the root of the CSS document
/// the first time it is called.
///
/// @access private

@mixin _lbcamden-font-face-inter {
  @include govuk-exports("lbcamden/helpers/font-faces") {
    @at-root {
      // Copyright (c) 2016-2020 The Inter Project Authors. Inter is trademark of Rasmus Andersson. https://github.com/rsms/inter  This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
      @font-face {
        font-family: Inter;
        font-style: normal;
        font-weight: 100;
        src: govuk-font-url("Inter-Thin.woff2?v=4.1") format("woff2");
        font-display: fallback;
        font-feature-settings: 'liga' 1, 'calt' 1, 'ss02' 1;
      }

      @font-face {
        font-family: Inter;
        font-style: italic;
        font-weight: 100;
        font-display: fallback;
        src: govuk-font-url("Inter-ThinItalic.woff2?v=4.1") format("woff2");
        font-feature-settings: 'liga' 1, 'calt' 1, 'ss02' 1;
      }

      @font-face {
        font-family: Inter;
        font-style: normal;
        font-weight: 200;
        font-display: fallback;
        src: govuk-font-url("Inter-ExtraLight.woff2?v=4.1") format("woff2");
        font-feature-settings: 'liga' 1, 'calt' 1, 'ss02' 1;
      }

      @font-face {
        font-family: Inter;
        font-style: italic;
        font-weight: 200;
        font-display: fallback;
        src: govuk-font-url("Inter-ExtraLightItalic.woff2?v=4.1") format("woff2");
        font-feature-settings: 'liga' 1, 'calt' 1, 'ss02' 1;
      }

      @font-face {
        font-family: Inter;
        font-style: normal;
        font-weight: 300;
        font-display: fallback;
        src: govuk-font-url("Inter-Light.woff2?v=4.1") format("woff2");
        font-feature-settings: 'liga' 1, 'calt' 1, 'ss02' 1;
      }

      @font-face {
        font-family: Inter;
        font-style: italic;
        font-weight: 300;
        font-display: fallback;
        src: govuk-font-url("Inter-LightItalic.woff2?v=4.1") format("woff2");
        font-feature-settings: 'liga' 1, 'calt' 1, 'ss02' 1;
      }

      @font-face {
        font-family: Inter;
        font-style: normal;
        font-weight: 400;
        font-display: fallback;
        src: govuk-font-url("Inter-Regular.woff2?v=4.1") format("woff2");
        font-feature-settings: 'liga' 1, 'calt' 1, 'ss02' 1;
      }

      @font-face {
        font-family: Inter;
        font-style: italic;
        font-weight: 400;
        font-display: fallback;
        src: govuk-font-url("Inter-Italic.woff2?v=4.1") format("woff2");
        font-feature-settings: 'liga' 1, 'calt' 1, 'ss02' 1;
      }

      @font-face {
        font-family: Inter;
        font-style: normal;
        font-weight: 500;
        font-display: fallback;
        src: govuk-font-url("Inter-Medium.woff2?v=4.1") format("woff2");
        font-feature-settings: 'liga' 1, 'calt' 1, 'ss02' 1;
      }

      @font-face {
        font-family: Inter;
        font-style: italic;
        font-weight: 500;
        font-display: fallback;
        src: govuk-font-url("Inter-MediumItalic.woff2?v=4.1") format("woff2");
        font-feature-settings: 'liga' 1, 'calt' 1, 'ss02' 1;
      }

      @font-face {
        font-family: Inter;
        font-style: normal;
        font-weight: 600;
        font-display: fallback;
        src: govuk-font-url("Inter-SemiBold.woff2?v=4.1") format("woff2");
        font-feature-settings: 'liga' 1, 'calt' 1, 'ss02' 1;
      }

      @font-face {
        font-family: Inter;
        font-style: italic;
        font-weight: 600;
        font-display: fallback;
        src: govuk-font-url("Inter-SemiBoldItalic.woff2?v=4.1") format("woff2");
        font-feature-settings: 'liga' 1, 'calt' 1, 'ss02' 1;
      }

      @font-face {
        font-family: Inter;
        font-style: normal;
        font-weight: 700;
        font-display: fallback;
        src: govuk-font-url("Inter-Bold.woff2?v=4.1") format("woff2");
        font-feature-settings: 'liga' 1, 'calt' 1, 'ss02' 1;
      }

      @font-face {
        font-family: Inter;
        font-style: italic;
        font-weight: 700;
        font-display: fallback;
        src:govuk-font-url("Inter-BoldItalic.woff2?v=4.1") format("woff2");
        font-feature-settings: 'liga' 1, 'calt' 1, 'ss02' 1;
      }

      @font-face {
        font-family: Inter;
        font-style: normal;
        font-weight: 800;
        font-display: fallback;
        src: govuk-font-url("Inter-ExtraBold.woff2?v=4.1") format("woff2");
        font-feature-settings: 'liga' 1, 'calt' 1, 'ss02' 1;
      }

      @font-face {
        font-family: Inter;
        font-style: italic;
        font-weight: 800;
        font-display: fallback;
        src: govuk-font-url("Inter-ExtraBoldItalic.woff2?v=4.1") format("woff2");
        font-feature-settings: 'liga' 1, 'calt' 1, 'ss02' 1;
      }

      @font-face {
        font-family: Inter;
        font-style: normal;
        font-weight: 900;
        font-display: fallback;
        src: govuk-font-url("Inter-Black.woff2?v=4.1") format("woff2");
        font-feature-settings: 'liga' 1, 'calt' 1, 'ss02' 1;
      }

      @font-face {
        font-family: Inter;
        font-style: italic;
        font-weight: 900;
        font-display: fallback;
        src: govuk-font-url("Inter-BlackItalic.woff2?v=4.1") format("woff2");
        font-feature-settings: 'liga' 1, 'calt' 1, 'ss02' 1;
      }
    }
  }
}
