/* ==========================================================================
 * Onest — self-hosted @font-face
 * Файлы лежат в /fonts/Onest/<Начертание>/ в корне сайта.
 *
 * Одно семейство "Onest", начертание выбирается через font-weight:
 *   100 Thin · 200 ExtraLight · 300 Light · 400 Regular · 500 Medium
 *   600 SemiBold · 700 Bold · 800 ExtraBold · 900 Black
 *
 * Использование:  font-family: "Onest", sans-serif; font-weight: 500;
 * ========================================================================== */

/* Thin */
@font-face {
  font-family: "Onest";
  src: url("/fonts/Onest/OnestThin/OnestThin.eot");
  src: url("/fonts/Onest/OnestThin/OnestThin.eot?#iefix") format("embedded-opentype"),
       url("/fonts/Onest/OnestThin/OnestThin.woff2") format("woff2"),
       url("/fonts/Onest/OnestThin/OnestThin.woff") format("woff"),
       url("/fonts/Onest/OnestThin/OnestThin.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 100;
}

/* ExtraLight */
@font-face {
  font-family: "Onest";
  src: url("/fonts/Onest/OnestExtraLight/OnestExtraLight.eot");
  src: url("/fonts/Onest/OnestExtraLight/OnestExtraLight.eot?#iefix") format("embedded-opentype"),
       url("/fonts/Onest/OnestExtraLight/OnestExtraLight.woff2") format("woff2"),
       url("/fonts/Onest/OnestExtraLight/OnestExtraLight.woff") format("woff"),
       url("/fonts/Onest/OnestExtraLight/OnestExtraLight.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 200;
}

/* Light */
@font-face {
  font-family: "Onest";
  src: url("/fonts/Onest/OnestLight/OnestLight.eot");
  src: url("/fonts/Onest/OnestLight/OnestLight.eot?#iefix") format("embedded-opentype"),
       url("/fonts/Onest/OnestLight/OnestLight.woff2") format("woff2"),
       url("/fonts/Onest/OnestLight/OnestLight.woff") format("woff"),
       url("/fonts/Onest/OnestLight/OnestLight.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 300;
}

/* Regular */
@font-face {
  font-family: "Onest";
  src: url("/fonts/Onest/OnestRegular/OnestRegular.eot");
  src: url("/fonts/Onest/OnestRegular/OnestRegular.eot?#iefix") format("embedded-opentype"),
       url("/fonts/Onest/OnestRegular/OnestRegular.woff2") format("woff2"),
       url("/fonts/Onest/OnestRegular/OnestRegular.woff") format("woff"),
       url("/fonts/Onest/OnestRegular/OnestRegular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

/* Medium */
@font-face {
  font-family: "Onest";
  src: url("/fonts/Onest/OnestMedium/OnestMedium.eot");
  src: url("/fonts/Onest/OnestMedium/OnestMedium.eot?#iefix") format("embedded-opentype"),
       url("/fonts/Onest/OnestMedium/OnestMedium.woff2") format("woff2"),
       url("/fonts/Onest/OnestMedium/OnestMedium.woff") format("woff"),
       url("/fonts/Onest/OnestMedium/OnestMedium.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

/* SemiBold */
@font-face {
  font-family: "Onest";
  src: url("/fonts/Onest/OnestSemiBold/OnestSemiBold.eot");
  src: url("/fonts/Onest/OnestSemiBold/OnestSemiBold.eot?#iefix") format("embedded-opentype"),
       url("/fonts/Onest/OnestSemiBold/OnestSemiBold.woff2") format("woff2"),
       url("/fonts/Onest/OnestSemiBold/OnestSemiBold.woff") format("woff"),
       url("/fonts/Onest/OnestSemiBold/OnestSemiBold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

/* Bold */
@font-face {
  font-family: "Onest";
  src: url("/fonts/Onest/OnestBold/OnestBold.eot");
  src: url("/fonts/Onest/OnestBold/OnestBold.eot?#iefix") format("embedded-opentype"),
       url("/fonts/Onest/OnestBold/OnestBold.woff2") format("woff2"),
       url("/fonts/Onest/OnestBold/OnestBold.woff") format("woff"),
       url("/fonts/Onest/OnestBold/OnestBold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

/* ExtraBold */
@font-face {
  font-family: "Onest";
  src: url("/fonts/Onest/OnestExtraBold/OnestExtraBold.eot");
  src: url("/fonts/Onest/OnestExtraBold/OnestExtraBold.eot?#iefix") format("embedded-opentype"),
       url("/fonts/Onest/OnestExtraBold/OnestExtraBold.woff2") format("woff2"),
       url("/fonts/Onest/OnestExtraBold/OnestExtraBold.woff") format("woff"),
       url("/fonts/Onest/OnestExtraBold/OnestExtraBold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

/* Black */
@font-face {
  font-family: "Onest";
  src: url("/fonts/Onest/OnestBlack/OnestBlack.eot");
  src: url("/fonts/Onest/OnestBlack/OnestBlack.eot?#iefix") format("embedded-opentype"),
       url("/fonts/Onest/OnestBlack/OnestBlack.woff2") format("woff2"),
       url("/fonts/Onest/OnestBlack/OnestBlack.woff") format("woff"),
       url("/fonts/Onest/OnestBlack/OnestBlack.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 900;
}
