/* Подключаем обычное начертание (Regular) */
@font-face {
    font-family: 'TildaSans';
    src: url('../fonts/TildaSans-Regular.woff2') format('woff2'),
         url('../fonts/TildaSans-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap; /* Улучшает загрузку сайта: текст покажется системным шрифтом, пока грузится Tilda Sans */
}

/* Подключаем полужирное начертание (Medium) */
@font-face {
    font-family: 'TildaSans';
    src: url('../fonts/TildaSans-Medium.woff2') format('woff2'),
         url('../fonts/TildaSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TildaSans';
    src: url('../fonts/TildaSans-ExtraBold.woff2') format('woff2'),
         url('../fonts/TildaSans-ExtraBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'TildaSans';
    src: url('../fonts/TildaSans-Black.woff2') format('woff2'),
         url('../fonts/TildaSans-Black.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TildaSans';
    src: url('../fonts/TildaSans-Light.woff2') format('woff2'),
         url('../fonts/TildaSans-Light.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'TildaSans';
    src: url('../fonts/TildaSans-Semibold.woff2') format('woff2'),
         url('../fonts/TildaSans-Semibold.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TildaSans';
    src: url('../fonts/TildaSans-Bold.woff2') format('woff2'),
         url('../fonts/TildaSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
