/* 
 *   Lapis CV Serif /  Author - GoForceX, YiNN
 *   https://github.com/BingyanStudio/LapisCV
 */

 body {

    /* Custom Configs */

    --text-size: 9.5pt;
    --line-height: 1.8;
    --avatar-width: 24mm;

    --h1-size: 25pt;
    --h2-size: 13pt;
    --h3-size: 11pt;
    --blockquote-size: 9.3pt;

    --text-font: 'SourceHanSansCN';
    --title-font: 'SourceHanSerifCN';
    --link-font: 'JetBrainsMono';
    --code-font: 'JetBrainsMono';

    --color-accent: #4870ad;
    --text-normal: #353a42;
    --link-color: var(--color-accent);
    --text-strong: #121418;
    --h1-color: var(--text-normal);
    --h2-color: var(--color-accent);
    --h3-color: var(--text-normal);
    --h4-color: var(--text-normal);
    --border-color: #dae3ea;
    --background-primary: #fff;
}

/* Font Face */

@font-face {
    font-family: "SourceHanSansCN";
    src: url('../fonts/SourceHanSansCN-Regular.ttf');
}

@font-face {
    font-family: "SourceHanSansCN";
    src: url('../fonts/SourceHanSansCN-Medium.ttf');
    font-weight: bold;
}

/* Latin + Greek + Cyrillic */
@font-face {
    font-family: "SourceHanSansCN";
    src: url('../fonts/JetBrainsMono-Regular.ttf');
    unicode-range: U+00-52F, U+1E00-1FFF, U+2200-22FF;
}

@font-face {
    font-family: "SourceHanSerifCN";
    src: url('../fonts/SourceHanSerifCN-Bold.ttf');
    font-weight: bold;
}

/* Latin + Greek + Cyrillic */
@font-face {
    font-family: "SourceHanSerifCN";
    src: url('../fonts/JetBrainsMono-Regular.ttf');
    unicode-range: U+00-52F, U+1E00-1FFF, U+2200-22FF;
}

@font-face {
    font-family: "JetBrainsMono";
    src: url('../fonts/JetBrainsMono-Regular.ttf');
}

@font-face {
    font-family: "LapisCV Icon";
    font-weight: normal;
    src: url('../fonts/iconfont.ttf?t=1727014108932') format('truetype');
}

@font-face {
    font-family: "LapisCV Icon";
    font-weight: bold;
    src: url('../fonts/iconfont.ttf?t=1727014108932') format('truetype');
}

@media screen {
    body {
        box-shadow: 0 0 4mm 0 #a7bbc969;
        padding-left: 20mm;
        padding-right: 20mm;
        padding-top: 10mm;
        padding-bottom: 25mm;
        margin: 8mm auto;

        --background-primary: var(--vscode-editor-background);
        --text-normal: unset !important;
        --text-strong: unset !important;
    }
}

h1 {
    padding: 1mm 0 0 0;
    margin: 3mm 1mm 0 1mm;
}

h1,
blockquote p {
    text-align: left;
}

h2 {
    padding: 1.2mm 0;
    border-bottom: 1px solid #a2b6d4;
}

.avatar,
img[alt="avatar"] {
    box-shadow: none;
    border: none;
    margin-top: -29mm !important;
    right: 1mm;
}

blockquote {
    margin: 0 1mm 6mm 1mm;
    padding: 0;
    background: unset !important;
    border-left-width: unset;
    border-left-style: unset;
}

blockquote p {
    line-height: 1.5;
}

blockquote a {
    color: var(--text-color);
}