@font-face {
    font-family: 'CustomDisplay';
    src: local('Bebas Neue'), local('Oswald'), local('Anton');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CustomSerif';
    src: local('Crimson Text'), local('Lora'), local('Merriweather');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CustomSerif';
    src: local('Crimson Text Bold'), local('Lora Bold'), local('Merriweather Bold');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CustomSerif';
    src: local('Crimson Text Italic'), local('Lora Italic'), local('Merriweather Italic');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.section-tag,
.stat-number {
    font-family: 'CustomDisplay', 'Arial Black', sans-serif;
    font-weight: 700;
}

p, li, span, a, input, textarea, select {
    font-family: 'CustomSerif', 'Georgia', serif;
}

@supports not (font-display: swap) {
    @font-face {
        font-family: 'CustomDisplay';
        src: local('Impact'), local('Arial Black'), local('sans-serif');
    }
    
    @font-face {
        font-family: 'CustomSerif';
        src: local('Georgia'), local('Times New Roman'), local('serif');
    }
}

