@charset "UTF-8";

html {
    background-color: #ffffff;
}

body {
    margin: 0;
    padding: 1em 0 12em;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-variant-ligatures: contextual;
    font-feature-settings: "calt", "ss01", "ss02";
    font-size: 15px;
    line-height: 1.5;
    color: rgb(28,28,30);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

img, embed, object, video, picture, figure {
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

figurecaption {
    display: block;
    position: relative;
    margin: 0.5em 0;
    opacity: .5;
    font-size: .75em;
    font-style: italic;
    line-height: 140%;
}

a {
    text-decoration: none;
    color: rgb(0,88,180);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: rgba(0, 88, 180, 0.25);
    transition: color 0.3s, border-bottom-color 0.3s, background-color 0.3s;
}

a:visited {
  color: rgb(88, 86, 214);
  border-bottom-color: rgba(88, 86, 214, 0.25);
}

a:hover, a:focus {
  color: rgb(255, 59, 48);
  border-bottom-color: rgba(255, 59, 48, 0.65);
}

h1 {
    font-weight: 900;
    line-height: 1.15;
    margin-top: 2em;
    margin-bottom: 1rem;
}

h2, h3, h4 {
    font-weight: 900;
    line-height: 1.25;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-top: 1rem;
    margin-bottom: .5rem;
}

.avatar-wrapper + h1 {
    margin-top: 0;
}

h1 + h2, h1 + h3, h1 + h4, h2 + h3, h2 + h4, h3 + h4 {
    margin-top: 1rem;
}

p + ul, p + ol {
    margin-top: .5rem;
}

h1 {
    font-size: 2.25em;
}

h2 {
    font-size: 1.75em;
}

h3 {
    font-size: 1.25em;
}

h4 {
    font-size: 1em;
}

ul {
    padding-left: 0;
    list-style-type: none;
}

ol {
    box-sizing: border-box;
    /* padding-left: 0; */
}

li {
    position: relative;
    margin-top: .5em;
    margin-bottom: 0;
}

ul li::before {
    content: "·";
    position: absolute;
    left: -0.65em;
}

h1, h2, h3, h4, h5, h6, ul, ol, p, pre, hr, .avatar-wrapper, .project_preview {
    margin-left: 1.000005rem;
    margin-right: 1.000005rem;
}

li ul, li ol {
    margin-left: 0;
    margin-right: 0;
    padding-left: 1.000005rem;
}

hr {
    margin: 2em 0;
    border-color: rgb(58,58,58);
    border-style: solid;
}

pre, code {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace, "Apple Color Emoji";
    font-size: 13px;
}

pre {
    background-color: rgba(255,255,255,1);
    border-radius: 6px;
    padding: 1em 1.2em 1.15em 1.2em;
    overflow-x: auto;
}

strong, b {
    font-weight: 700;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    text-align: left;
}

td, th {
    text-align: left;
    border-color: rgb(224, 224, 224);
    border-width: 1px;
    border-style: solid;
    padding: 8px;
}

th {
    background-color: rgba(0, 0, 0, 0.05);
}








.hljs {
  display: block;
  color: #333333;
}

.hljs-comment,
.hljs-meta {
  color: #969896;
}

.hljs-string,
.hljs-variable,
.hljs-template-variable,
.hljs-strong,
.hljs-emphasis,
.hljs-quote {
  color: #df5000;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-type {
  color: #a71d5d;
}

.hljs-literal,
.hljs-symbol,
.hljs-bullet,
.hljs-attribute {
  color: #0086b3;
}

.hljs-section,
.hljs-name {
  color: #63a35c;
}

.hljs-tag {
  color: #333333;
}

.hljs-title,
.hljs-attr,
.hljs-selector-id,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo {
  color: #795da3;
}

.hljs-addition {
  color: #55a532;
  background-color: #eaffea;
}

.hljs-deletion {
  color: #bd2c00;
  background-color: #ffecec;
}

.hljs-link {
  text-decoration: underline;
}

















.header img.avatar, .avatar-wrapper img.avatar{
    width: 7em;
    /* background-color: lightgreen; */
    /* border-radius: 50%; */
    /* margin-right: 1em; */
    margin-left: -1.75em;
    /* transform: scale(1.15); */
    /* transition: border-radius .3s, transform .3s, width .3s; */
}

.header {
    position: relative;
    z-index: 1;
}

.header p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

a.language-switcher {
    float: right;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: 12px;
    padding: 2px;
    border: 0;
    border-radius: 999px;
    background-color: rgba(28, 28, 30, 0.10);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

a.language-switcher:hover,
a.language-switcher:focus {
    background-color: rgba(28, 28, 30, 0.16);
}

.language-switcher__item {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(28, 28, 30, 0.62);
}

.language-switcher__item.is-active {
    background-color: rgba(255, 255, 255, 0.92);
    color: rgb(28, 28, 30);
}

.article-date {
    display: block;
    font-size: smaller;
    opacity: .5;
}

.videoContainer {
    display: block;
    position: relative;
    max-width: 100%;
    padding-bottom: 56.25%;
    margin: 2em auto;
}

.videoContainer iframe {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tags a {
    background-color: rgba(0,122,255,0.075);
    border-width: 0;
    padding: 0.1em 0.35em 0.15em;
    border-radius: 8px;
    line-height: 1em;
}

.tags a:hover, .tags a:focus {
    background-color: rgba(255,59,48,0.075);
}

/* .herocaption {
    font-weight: 900;
    font-family: "New York Small", "New York Medium", "New York", -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
} */

h1 + .project, h2 + .project {
    margin-top: 2em;
}

.project {
    background-color: rgb(229,229,234);
    padding: 1em 0 1.25em 0;
    margin-top: 1em;
}

.project h1, 
.project h2, 
.project h3, 
.project h4 {
    margin-top: 0;
}

.project_preview {
    overflow: hidden;
    border-radius: 8px;
}

.preview_columns img {
    width: 50%;
    float: left;
}

ul.skill_tags {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.25em;
}

ul.skill_tags li::before {
    content: "";
    display: none;
}

ul.skill_tags li {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    padding: 0 0.5em;
    margin: 0;
}

.fullwidth_gallery_grid {
    box-sizing: border-box;
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    display: grid;
    gap: 0.125em;
    grid-template-columns: 1fr;
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.125em;
}

.grid3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.125em;
}

.grid4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0.125em;
}


@media (min-width: 360px) {
    body {
        font-size: 16px;
    }
    pre, code {
        font-size: 14px;
    }
    li ul, li ol {
        padding-left: 1.5000075rem;
    }
}



@media (min-width: 620px) {
    body {
        font-size: 17px;
    }
    .header {
        position: relative;
        width: 35rem;
        margin-left: auto;
        margin-right: auto;
    }
    /* .header img.avatar, .avatar-wrapper img.avatar{
        margin-left: 0;
    } */
    h1, h2, h3, h4, h5, h6, ul, ol, p, pre, hr, .avatar-wrapper, .project_preview, figure, table {
        position: relative;
        width: 35rem;
        margin-left: auto;
        margin-right: auto;
    }
    .project {
        max-width: 40rem;
        margin-left: auto;
        margin-right: auto;
        border-radius: 8px;
    }
    h1 {
        font-size: 2.5em;
    }
    pre, code {
        font-size: 15px;
    }
    li ul, li ol {
        padding-left: 2.00001rem;
    }
    .fullwidth_gallery_grid {
        grid-template-columns: 1fr 1fr;
    }
}


@media (min-width: 760px) {
    .header {
        position: relative;
        width: 35rem;
        margin-left: auto;
        margin-right: auto;
    }
    /* .header img.avatar, .avatar-wrapper img.avatar {
        position: absolute;
        left: -5.5rem;
        border-radius: 50%;
        margin-left: 0;
    } */
}



@media (min-width: 1000px) {
    body {
        font-size: 18px;
    }
    pre, code {
        font-size: 16px;
    }
    h1, h2, h3, h4, h5, h6, ul, ol, p, pre, .header, hr, .avatar-wrapper, .project_preview, figure, table {
        width: 46.25rem;
    }
    .project {
        max-width: 52.5rem;
    }
    h1 {
        font-size: 2.75em;
    }
    .fullwidth_gallery_grid {
        grid-template-columns: 1fr 1fr;
    }
}



@media (min-width: 1340px) {
    .videoContainer {
            overflow: hidden;
            width: 1280px;
            height: 720px;
            padding-bottom: 0;
            border-radius: 8px;
            box-shadow: 0 30px 140px -50px rgba(44, 48, 56, 0.5);
    }
    .fullwidth_gallery_grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}



@media (min-width: 1600px) {
    body {
        font-size: 20px;
    }
    pre, code {
        font-size: 18px;
    }
    /* .header img.avatar, .avatar-wrapper img.avatar {
        margin-left: -1rem;
    } */
    .fullwidth_gallery_grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}



@media (prefers-color-scheme: dark) {
    :root {
        background-color: rgb(15, 15, 16);
    }
    html {
        background-color: rgb(15, 15, 16);
    }
    body {
        color: rgb(229, 229, 234);
    	background-color: rgb(15, 15, 16);
    }
    h1, h2, h3, h4 {
        color: rgb(242, 242, 247);
    }
    a {
        color: rgb(64, 156, 255);
        border-bottom-color: rgba(64, 156, 255, 0.25);
        color: rgb(255,149,0);
        border-bottom-color: rgba(255,149,0,.25);
    }

    a:visited {
        color: rgb(135, 142, 255);
        border-bottom-color: rgba(135, 142, 255, 0.25);
        color: rgb(178,104,0);
        border-bottom-color: rgba(178,104,0,.25);
    }

    a:hover, a:focus {
        color: rgb(255, 98, 89);
        border-bottom-color: rgba(255, 98, 89, 0.65);
    }
    .tags a {
        background-color: rgba(64, 156, 255, 0.075);
        background-color: rgba(255,149,0, 0.075);
    }
    .tags a:hover, .tags a:focus {
        background-color: rgba(255, 98, 89,0.075);
    }
    .project {
        background-color: rgba(24, 25, 27, 1);
    }
    hr {
        border-color: black;
    }
    ul.skill_tags li {
        background-color: rgba(255, 255, 255, 0.1);
    }
    pre {
        background-color: rgba(255, 255, 255, 0.1);
    }
    td, th {
        border-color: rgb(60, 60, 60);
    }
    th {
        background-color: rgba(255, 255, 255, 0.05);
    }

    a.language-switcher {
        background-color: rgba(255, 255, 255, 0.14);
    }

    a.language-switcher:hover,
    a.language-switcher:focus {
        background-color: rgba(255, 255, 255, 0.22);
    }

    .language-switcher__item {
        color: rgba(255, 255, 255, 0.68);
    }

    .language-switcher__item.is-active {
        background-color: rgba(255, 255, 255, 0.18);
        color: rgb(242, 242, 247);
    }
}

.gallery_image {
    cursor: zoom-in;
    transition-property: transform;
    transition-duration: 350ms;
    transition-timing-function: ease-in-out;
}
.gallery_image:hover {
    transform: scale(1.025);
}
.gallery_image_with_bg {
    background-color: rgba(255, 255, 255, 0.1);
}

.scroll_lock {
    overflow: hidden;
}

.gallery_container {
    box-sizing: border-box;
    padding: 32px 0;

    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: zoom-out;
    overflow: auto;

    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}

.gallery_container > img, 
.gallery_container > video,
.gallery_container > iframe {
    max-width: 100%;
    border-radius: 6px;
}
