:root,
:root.light {
    --bgColor: #EEEEEE;
    --fgColor: #41474E;
    --metaColor: #D26878;
    --headColor: #;
    --linkColor: #5690AF;
    --hovColor: #22453F;
    --bgSelect: #FFFAE1;
    --bgUrl: url(https://i.ibb.co/Qpkrw4V/tile-Light.webp) repeat;
    --red: #D26878;
    --dimRed: #623039;
    --orange: #e08f67;
    --dimOrange: #926048;
    --yellow: #FFFAE1;
    --dimYellow: #D5C5A1;
    --green: #56AFA0;
    --dimGreen: #22453F;
    --blue: #5690AF;
    --dimBlue: #223844;
    --purple: #9271D6;
    --dimPurple: #47356C;
    --grey: #CBCDCD;
    --dimGrey: #646868
}

:root.dark {
    --bgColor: #222529;
    --fgColor: #D6D6D6;
    --metaColor: #78B6AD;
    --headColor: #;
    --linkColor: #DBD5BC;
    --hovColor: #E2AEA2;
    --bgSelect: #464949;
    --bgUrl: url(https://i.ibb.co/LzrFBFJ/tileDark.webp) repeat;
    --red: #CD909B;
    --dimRed: #684249;
    --orange: #E2AEA2;
    --dimOrange: #704941;
    --yellow: #DBD5BC;
    --dimYellow: #6F6847;
    --green: #78B6AD;
    --dimGreen: #3E615C;
    --blue: #87C9E5;
    --dimBlue: #38494F;
    --purple: #CEA7DE;
    --dimPurple: #5E406A;
    --grey: #CBCDCD;
    --dimGrey: #464949
}

::-moz-selection {
    color: var(--bgColor);
    background: var(--metaColor)
}

::selection {
    color: var(--bgColor);
    background: var(--metaColor)
}

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 62.5%
}

body {
    font-family: monospace;
    font-size: 1.6rem;
    line-height: 1.35;
    max-width: 64rem;
    margin: auto;
    padding: 1rem;
    overflow-wrap: break-word;
    background: var(--bgColor);
    color: var(--fgColor);
    position: relative;
}

h1 {
    font-size: 2.4rem;
    margin: 1rem 0 1.5rem 0;
    color: var(--bgColor);
    background-color: var(--metaColor);
    text-align: center;
}

h1::before {
    color: var(--bgColor);
    content: '# '
}

h2::before,
h3::before,
h4::before,
h5::before,
h6::before {
    color: var(--metaColor);
    content: '# '
}

a {
    color: var(--linkColor);
}

a:focus,
a:hover {
    background-color: var(--linkColor);
    color: var(--bgColor)
}

ul {
    list-style: none;
    margin-top: .5rem;
    margin-bottom: .5rem;
    line-height: 1.45
}

ul li::marker {
    content: '» ';
    color: var(--metaColor)
}

ul li:hover::marker {
    content: '# ';
    font-weight: 700;
    color: var(--linkColor)
}

blockquote {
    border-left: 5px solid var(--metaColor);
    margin: 1rem;
    padding: 0 0 0 1rem
}

textarea {
    border: 2px dotted;
    outline: 0;
    resize: none;
    overflow: auto;
    background-color: var(--bgColor)
}

hr {
    border: 1px dashed
}

img {
    max-width: 90%;
    height: auto;
    margin: .2rem;
    padding: 1rem;
    border: dashed 2px var(--metaColor);
    border-radius: 15px
}

pre {
    padding-left: .3rem;
    padding-right: .3rem;
    overflow-x: auto;
    color: var(--bgColor);
    background-color: var(--fgColor);
}
p code,
li code {
    color: var(--bgColor);
    background-color: var(--fgColor);
    font-family: monospace;
    padding-left: .3rem;
    padding-right: .3rem;
}

iframe {
    max-width: 90%;
}

table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    border: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    line-height: 1.1
}

thead th:first-child {
    width: 20%
}

th {
    font-weight: 400
}

td,
th {
    padding: .5rem;
    border: dashed 1px var(--metaColor)
}

footer {
    font-size: 1.4rem;
    clear: both;
    color: var(--footColor)
}

footer,
td,
th {
    text-align: left
}

.metaData,
.themeButton,
hr,
textarea {
    color: var(--metaColor)
}

.navBar {
    margin: .5rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
    gap: .4rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    align-content: flex-end
}

.themeButton {
    cursor: pointer;
    border: none;
    font-size: 2rem;
    background-color: transparent
}

.dark .themeButton.dark,
.themeButton.light {
    display: none
}

.dark .themeButton.light {
    display: block
}

.noStyle {
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0
}

.textCenter {
    text-align: center;
}

.floatRight {
    float: right
}

.floatLeft {
    float: left
}

.reference:target {
    background-color: var(--grey);
}

.ref-link {
    text-decoration: none;
}

@keyframes train-animation {
    0% {
        object-position: right;
    }
    80%, 100% {
        object-position: left;
    }
}

.foot-train {
    margin-bottom: -1rem;
    min-width: 100%;
    max-width: 100%;
    height: 14px;
    object-fit: contain;
    object-position: right;
    image-rendering: pixelated;
    animation-name: train-animation;
    animation-duration: 10s;
    animation-iteration-count: 10;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-timing-function: linear;
    animation-play-state: paused;
}

.pixel-portrait {
    image-rendering: pixelated;
    float: left;
    margin-top: 0.55rem;
    margin-right: 2rem;
}

.blog-list-item {
    padding-top: 3rem;
    span {
        h3 {
            margin: 0;
        }
        margin: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

