/* Only the weights actually used across screens are loaded. */

@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/*
 * Lato has no true Medium/SemiBold/ExtraBold files, only
 * Light/Regular/Bold/Black. Declaring each face with its own non-overlapping
 * font-weight *range* makes every weight used in the designs (300/400/500/
 * 600/700/800) resolve to the closest real TTF instead of the browser
 * synthesizing fake bold.
 */
@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato/Lato-Light.ttf") format("truetype");
  font-weight: 100 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato/Lato-Regular.ttf") format("truetype");
  font-weight: 301 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato/Lato-Bold.ttf") format("truetype");
  font-weight: 501 750;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato/Lato-Black.ttf") format("truetype");
  font-weight: 751 900;
  font-style: normal;
  font-display: swap;
}
