@font-face {
    font-family: 'Onest';
    src: local('Onest Black'), local('Onest-Black'),
    url('./Onest/Onest-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Onest';
    src: local('Onest Bold'), local('Onest-Bold'),
    url('./Onest/Onest-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Onest';
    src: local('Onest ExtraBold'), local('Onest-ExtraBold'),
    url('./Onest/Onest-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Onest';
    src: local('Onest SemiBold'), local('Onest-SemiBold'),
    url('./Onest/Onest-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Onest';
    src: local('Onest Medium'), local('Onest-Medium'),
    url('./Onest/Onest-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Onest';
    src: local('Onest Regular'), local('Onest-Regular'),
    url('./Onest/Onest-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Onest';
    src: local('Onest Light'), local('Onest-Light'),
    url('./Onest/Onest-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Onest';
    src: local('Onest ExtraLight'), local('Onest-ExtraLight'),
    url('./Onest/Onest-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Onest';
    src: local('Onest Thin'), local('Onest-Thin'),
    url('./Onest/Onest-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

/* Вариативный шрифт (если нужен поддержкой изменения веса через font-weight) */
@font-face {
    font-family: 'Onest Variable';
    src: url('./Onest/Onest-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}