/* PT Sans - body text */
@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url(PTSans-Regular.woff2) format('woff2');
}

@font-face {
    font-family: 'PT Sans';
    font-style: italic;
    font-weight: normal;
    font-display: swap;
    src: url(PTSans-Italic.woff2) format('woff2');
}

@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: bold;
    font-display: swap;
    src: url(PTSans-Bold.woff2) format('woff2');
}

@font-face {
    font-family: 'PT Sans';
    font-style: italic;
    font-weight: bold;
    font-display: swap;
    src: url(PTSans-BoldItalic.woff2) format('woff2');
}

/* PT Serif */
@font-face {
    font-family: 'PT Serif';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url(PTSerif-Regular.woff2) format('woff2');
}

@font-face {
    font-family: 'PT Serif';
    font-style: italic;
    font-weight: normal;
    font-display: swap;
    src: url(PTSerif-Italic.woff2) format('woff2');
}

@font-face {
    font-family: 'PT Serif';
    font-style: normal;
    font-weight: bold;
    font-display: swap;
    src: url(PTSerif-Bold.woff2) format('woff2');
}

@font-face {
    font-family: 'PT Serif';
    font-style: italic;
    font-weight: bold;
    font-display: swap;
    src: url(PTSerif-BoldItalic.woff2) format('woff2');
}

/* PT Mono - code blocks */
@font-face {
    font-family: 'PT Mono';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url(PTMono-Regular.woff2) format('woff2');
}

/* Apply fonts to mdBook */
:root {
    --sidebar-font: 'PT Sans', sans-serif;
}

.sidebar {
    font-family: 'PT Sans', sans-serif;
}

.content {
    font-family: 'PT Sans', sans-serif;
}

code, pre {
    font-family: 'PT Mono', monospace;
}
