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

:root {
    --bg: #ffffff;
    --fg: #000000;
    --icon-filter: none;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #121212;
        --fg: #e6e6e6;
        --icon-filter: invert(0.9);
    }
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--fg);
    font-family: JetBrainsMono, ui-monospace, Menlo, Consolas, monospace;
    text-align: center;
}

.name {
    font-size: x-large;
    font-weight: normal;
    margin: 0;
}

.job {
    font-size: large;
    margin: 0;
}

.contacts {
    padding-top: 5px;
}

a {
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

img {
    vertical-align: middle;
    filter: var(--icon-filter);
}
