/**
	This file mimics how fonts are loaded by the host and serves as an example of
	how to configure the host to set the correct fonts in the MF component.
**/

@font-face {
  font-family: "ElkjopHeadline";
  font-style: normal;
  font-weight: normal;
  src: url(fonts/ElkjopHeadline-Regular.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "ElkjopBodytext";
  font-style: normal;
  font-weight: normal;
  src: url(fonts/ElkjopBodytext-Regular.woff2) format("woff2");
}
@font-face {
  font-family: "ElkjopBodytext";
  font-style: normal;
  font-weight: 600;
  src: url(fonts/ElkjopBodytext-DemiBold.woff2) format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: normal;
  src: url(fonts/OpenSans-Regular.ttf) format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: url(fonts/open-sans-600.woff2) format("woff2");
}

@font-face {
  font-family: 'Font Awesome 5 Pro';
  font-style: normal;
  font-weight: 300;
  font-display: block;
  src: url("./fonts/fa-light-300.woff2") format("woff2"), url("./fonts/fa-light-300.ttf") format("truetype"); }

@font-face {
  font-family: 'Font Awesome 5 Pro';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("./fonts/fa-regular-400.woff2") format("woff2"), url("./fonts/fa-regular-400.ttf") format("truetype"); }

@font-face {
  font-family: 'Font Awesome 5 Pro';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("./fonts/fa-solid-900.woff2") format("woff2"), url("./fonts/fa-solid-900.ttf") format("truetype"); }

  @font-face {
    font-family: 'Font Awesome 6 Sharp';
    font-style: normal;
    font-weight: 300;
    font-display: block;
    src: url("./fonts/fa-light-300.woff2") format("woff2"), url("./fonts/fa-light-300.ttf") format("truetype"); }

/* 
  Add variables to a scope visible to the mounted mf-component 
  This binding is required from the host to make the MF use the correct fonts
*/
elk-ccc-contactform {
  --font-family-regular: ElkjopBodytext-Regular;
	--font-family-demi-bold: ElkjopBodytext-DemiBold;
	--font-family-headline: ElkjopHeadline-Regular;
	--font-family-body: OpenSans-Regular;
	--font-family-body-bold: OpenSans-Demibold;
}
