.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

.map-wrapper {
    padding: 1.5rem 0 0 0;
}

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/** Reset some basic elements */
body, h1, h2, h3, h4, h5, h6, p, blockquote, pre, hr, dl, dd, ol, ul, figure {
    margin: 0;
    padding: 0;
}

:root {
    --primary: #6C63FF;
    --secondary: #2D3748;
    --accent: #4FD1C5;
    --visited: #33867d;
    --background: #1A202C;
    --text: #E2E8F0;
}

html {
    scroll-behavior: smooth;
}

/** Basic styling */
body {
    font: 400 16px/1.8 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    letter-spacing: 0.3px;
    background-color: var(--background);
    color: var(--text);
    -webkit-text-size-adjust: 100%;
    -webkit-font-feature-settings: "kern" 1;
    -moz-font-feature-settings: "kern" 1;
    -o-font-feature-settings: "kern" 1;
    font-feature-settings: "kern" 1;
    font-kerning: normal;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

/** Set `margin-bottom` to maintain vertical rhythm */
h1, h2, h3, h4, h5, h6, p, blockquote, pre, ul, ol, dl, figure, .highlight {
    margin-bottom: 15px;
}

/** `main` element */
main {
    display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
}

#intro {
    text-align: justify;
}

#intro img {
    width: 16px;
}

/** Images */
.post-content img:not(.dymaptic-branding img) {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 2rem auto;
}

iframe {
    max-width: 100%;
    width: 100%;
    border-radius: 8px;
    display: block;
    margin: 2rem auto;
}

/** Figures */
figure > img {
    display: block;
}

figcaption {
    font-size: 14px;
}

/** Lists */
ul, ol {
    margin-left: 30px;
}

li > ul, li > ol {
    margin-bottom: 0;
}

/** Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

/** Links */
a {
    color: var(--accent);
    transition: color 0.2s ease;
    text-decoration: none;
}

a {
    position: relative;
}

a:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

a:hover:after {
    transform: scaleX(1);
    color: var(--primary);
    text-decoration: underline;
}

button {
    background-color: var(--accent);
    color: var(--primary);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #866bff;
}

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

.social-media-list a:hover {
    text-decoration: none;
}

.social-media-list a:hover .username {
    text-decoration: underline;
}

/** Blockquotes */
blockquote {
    color: #dbdbdb;
    border-left: 4px solid #e8e8e8;
    padding-left: 15px;
    font-size: 18px;
    letter-spacing: -1px;
    font-style: italic;
}

blockquote > :last-child {
    margin-bottom: 0;
}

/** Code formatting */
pre, code {
    font-size: 16px;
    font-family: 'Fira Code', 'Consolas', monospace;
    border-radius: 8px;
    background-color: var(--secondary);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
}

.highlight {
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
}

code {
    padding: 1px 5px;
}

pre {
    padding: 8px 12px;
    overflow-x: auto;
}

pre > code {
    border: 0;
    padding-right: 0;
    padding-left: 0;
    background-color: inherit;
}

/** Wrapper */
.wrapper {
    max-width: 800px;
    padding: 0 5%;
    margin: 0 auto;
}

/** Clearfix */
.footer-col-wrapper:after, .wrapper:after {
    content: "";
    display: table;
    clear: both;
}

.footer-col img {
    width: 16px;
}

/** Icons */
.svg-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    fill: #828282;
    padding-right: 5px;
    vertical-align: text-top;
}

.social-media-list li + li {
    padding-top: 5px;
}

/** Tables */
table {
    margin-bottom: 30px;
    width: 100%;
    text-align: left;
    color: #e6e6e6;
    border-collapse: collapse;
    border: 1px solid #1e1e1e;
}

table tr:nth-child(even) {
    background-color: #4b4b4b;
}

table th, table td {
    padding: 10px 15px;
}

table th {
    background-color: #101010;
    border: 1px solid #2b2a2a;
    border-bottom-color: #212121;
}

table td {
    border: 1px solid #333333;
}

/** Site header */
.site-header {
    border-top: 5px solid #424242;
    border-bottom: 1px solid #e8e8e8;
    min-height: 4rem;
    position: relative;
    background: linear-gradient(to right, var(--primary), var(--accent));
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.site-header .wrapper {
    align-items: center;
}

.site-title {
    display: flex;
    flex-direction: row;
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 54px;
    letter-spacing: -1px;
    margin-bottom: 0;
    padding-top: 0.5rem;
    float: left;
    color: black;
}

.site-title, .site-title:visited {
    color: black;
}

.site-title:hover {
    text-decoration: none;
    color: black;
}

.site-logo {
    height: 3rem;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.1);
}

.site-nav {
    float: right;
    line-height: 54px;
    margin-left: 15px;
    max-height: calc(100vh - 28px);
    overflow-y: auto;
}

.site-nav .nav-trigger {
    display: none;
}

.trigger {
    display: none;
}

.site-nav .menu-icon {
    display: none;
}

.site-nav .page-link {
    line-height: 1.5;
}

.site-nav .page-link:not(:last-child) {
    margin-right: 20px;
}

/** Site footer */
.site-footer {
    border-top: 1px solid #e8e8e8;
    padding: 30px 0;
    background-color: #b6a6fd;
    color: black;
}

.site-footer a {
    color: black;
}

.site-footer .svg-icon {
    color: black;
}

.footer-heading {
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-list, .social-media-list {
    list-style: none;
    margin-left: 0;
}

.footer-col-wrapper {
    font-size: 15px;
    margin-left: -15px;
}

.footer-col {
    float: left;
    margin-bottom: 15px;
    padding-left: 15px;
}

.footer-col-1 {
    width: -webkit-calc(50% - (30px / 2));
    width: calc(50% - (30px / 2));
}

.footer-col-2 {
    width: -webkit-calc(50% - (30px / 2));
    width: calc(50% - (30px / 2));
}

.social-media-list svg {
    background-color: #000000;
    padding: 0.25rem;
    border-radius: 0.5rem;
}

@media screen and (max-width: 800px) {
    .footer-col-1, .footer-col-2 {
        width: -webkit-calc(50% - (30px / 2));
        width: calc(50% - (30px / 2));
    }
}

@media screen and (max-width: 600px) {
    .footer-col {
        float: none;
        width: -webkit-calc(100% - (30px / 2));
        width: calc(100% - (30px / 2));
    }
}

/** Page content */
.page-content {
    padding: 30px 0;
    flex: 1;
}

.page-heading {
    font-size: 32px;
}

#link-sidebar {
    max-width: 30rem;
    padding-right: 3rem;
}

.post-list-heading {
    font-size: 28px;
}

.post-list {
    margin-left: 0;
    list-style: none;
}

.post-list > li {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.post-list > li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

.post-list > li:hover a {
    transition: all 0.3s ease;
    color: var(--primary);
}

.post-list a:hover {
    text-decoration: none;
}

.post-list a:hover:after {
    text-decoration: none;
}

.post-meta {
    font-size: 14px;
    color: #d6d6d6;
}

.post-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
}

/** Posts */
.post-header {
    margin-bottom: 30px;
}

.post-title {
    font-size: 42px;
    letter-spacing: -1px;
    line-height: 1;
}

.post-content p {
    text-align: justify;
}

.post-content li {
    text-align: justify;
}

.post-content ol {
    text-align: justify;
}

.post-content h2 {
    font-size: 32px;
}

.post-content h3 {
    font-size: 26px;
}

.post-content h4 {
    font-size: 20px;
}

.post-content img {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.post-content iframe {
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/** Syntax highlighting styles */
.highlight {
    background: #242424;
}

.highlight .c {
    color: #fbfb85;
    font-style: italic;
}

.highlight .err {
    color: #fb7a7a;
}

.highlight .k {
    color: #7777ff;
    font-weight: bold;
}

.highlight .o {
    font-weight: bold;
}

.highlight .cm {
    color: #f6f6c0;
    font-style: italic;
}

.highlight .cp {
    color: #ffe7e7;
    font-weight: bold;
}

.highlight .c1 {
    color: #ffffc4;
    font-style: italic;
}

.highlight .cs {
    color: #ffdcdc;
    font-weight: bold;
    font-style: italic;
}

.highlight .gd {
    color: white;
    background-color: #fdd;
}

.highlight .gd .x {
    color: white;
    background-color: #faa;
}

.highlight .ge {
    font-style: italic;
}

.highlight .gr {
    color: red;
}

.highlight .gh {
    color: #d0d0d0;
}

.highlight .gi {
    color: white;
    background-color: #dfd;
}

.highlight .gi .x {
    color: white;
    background-color: #afa;
}

.highlight .go {
    color: #b6b6b6;
}

.highlight .gp {
    color: #dbdbdb;
}

.highlight .gs {
    font-weight: bold;
}

.highlight .gu {
    color: #818181;
}

.highlight .gt {
    color: red;
}

.highlight .kc {
    font-weight: bold;
}

.highlight .kd {
    font-weight: bold;
}

.highlight .kp {
    font-weight: bold;
}

.highlight .kr {
    font-weight: bold;
}

.highlight .kt {
    color: #809fff;
    font-weight: bold;
}

.highlight .m {
    color: cyan;
}

.highlight .s {
    color: #d65e5e;
}

.highlight .na {
    color: #00ffff;
}

.highlight .nb {
    color: #00bfff;
}

.highlight .nc {
    color: #7e9eff;
    font-weight: bold;
}

.highlight .no {
    color: #00ffff;
}

.highlight .ni {
    color: #ff00ff;
}

.highlight .ne {
    color: #db0303;
    font-weight: bold;
}

.highlight .nf {
    color: #d65e5e;
    font-weight: bold;
}

.highlight .nn {
    color: #bababa;
}

.highlight .nt {
    color: #6262f9;
}

.highlight .nv {
    color: #00ffff;
}

.highlight .nx {
    color: #ffffa6;
}

.highlight .ow {
    font-weight: bold;
}

.highlight .w {
    color: #787878;
}

.highlight .mf {
    color: cyan;
}

.highlight .mh {
    color: cyan;
}

.highlight .mi {
    color: cyan;
}

.highlight .mo {
    color: cyan;
}

.highlight .sb {
    color: #ff1852;
}

.highlight .sc {
    color: #ff1852;
}

.highlight .sd {
    color: #ff1852;
}

.highlight .s2 {
    color: #d65e5e;
}

.highlight .se {
    color: #ff1852;
}

.highlight .sh {
    color: #ff1852;
}

.highlight .si {
    color: #ff1852;
}

.highlight .sx {
    color: #ff1852;
}

.highlight .sr {
    color: #00ff40;
}

.highlight .s1 {
    color: #ff1852;
}

.highlight .ss {
    color: #ff00bf;
}

.highlight .bp {
    color: #757373;
}

.highlight .vc {
    color: #00ffff;
}

.highlight .vg {
    color: #00ffff;
}

.highlight .vi {
    color: #00ffff;
}

.highlight .il {
    color: cyan;
}

/*# sourceMappingURL=main.css.map */
#social-col {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.sessionize-wrapper .sz-caption svg {
    fill: #1085fd;
}

.sessionize-wrapper .sz-caption {
    font-size: 2.3rem;
    font-weight: bold;
    color: var(--background);
    border-radius: 8px 8px 0 0;
    background: linear-gradient(to left, #1185fe, #f1fbff);
    margin-bottom: 0.5rem;
    padding: 0.5rem;
}

.sz-powered-by {
    margin: 0.5rem;
    font-style: italic;
}

.sz-group {
    margin-right: 0.5rem;
}

dl.sz-group {
    margin-left: 1rem;
}

#mastodon-section, #bsky-section, .sessionize-wrapper {
    background: rgba(17, 133, 254, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(17, 133, 254, 0.3);
    backdrop-filter: blur(8px);
    transition: border-color 0.3s ease;
    width: 22rem;
}

#mastodon-section:hover, #bsky-section:hover, .sessionize-wrapper:hover {
    border-color: rgba(17, 133, 254, 0.8);
}

#mastodon-header, #bsky-header {
    border-radius: 8px 8px 0 0;
    background: linear-gradient(to left, #1185fe, #f1fbff);
    color: white;
}

#mastodon article, #bsky-feed article {
    margin: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

#mastodon {
    height: 20rem;
    overflow-y: scroll;
    position: relative;
    right: 0;
}

#mastodon-section, #bsky-section, .sz-root {
    margin-bottom: 2rem;
}

#mastodon-header {
    background-color: white;
    padding: 1rem;
}

#mastodon article {
    border: 1px solid white;
    padding: 0.5rem;
    color: white;
    word-wrap: break-word;
    overflow-x: hidden;
}

#mastodon img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 2rem auto;
}

#mastodon > a {
    color: black;
}

#mastodon > a:visited {
    color: black;
}

#mastodon > a:hover {
    text-decoration: unset;
}

#bsky-feed {
    height: 22rem;
    overflow-y: scroll;
}

#bsky-header {
    padding: 0.5rem;
    background-color: white;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-between {
    justify-content: space-between;
}

.flex-end {
    justify-content: end;
}

.site-nav {
    position: absolute;
    top: 9px;
    right: 15px;
    background-color: var(--background);
    border: 1px solid var(--accent);
    border-radius: 5px;
    text-align: right;
    z-index: 2;
}

.site-nav label[for="nav-trigger"] {
    display: block;
    float: right;
    width: 36px;
    height: 36px;
    z-index: 20;
    cursor: pointer;
}

.site-nav .menu-icon {
    display: block;
    float: right;
    width: 36px;
    height: 26px;
    line-height: 0;
    padding-top: 10px;
    text-align: center;
}

.site-nav .menu-icon svg path {
    fill: var(--primary);
}

.site-nav .menu-icon > svg {
    fill: #989797;
}

.site-nav input ~ .trigger {
    clear: both;
    display: none;
}

.site-nav input:checked ~ .trigger {
    display: block;
    padding: 0 0 1rem;
}

.site-nav .page-link {
    display: block;
    padding: 1rem 2rem;
}

.site-nav .page-link:not(:last-child) {
    margin-right: 0;
}

.site-nav .page-link.active {
    color: var(--primary);
}

.rss-subscribe {
    padding: 1rem 2rem;
}

@media screen and (max-width: 800px) {
    .wrapper {
        max-width: -webkit-calc(800px - (4.5rem));
        max-width: calc(800px - (4.5rem));
        padding-right: 2.25rem;
        padding-left: 2.25rem;
    }

    .flex-row {
        flex-direction: column;
    }

    #mastodon-section, #bsky-section, .sessionize-wrapper, .sz-root {
        width: 100%;
        margin: 1rem 0;
    }

    #link-sidebar {
        max-width: 100%;
        padding-right: 0;
    }

    .post-title {
        font-size: 36px;
    }

    #social-col {
        align-items: center;
    }

    .post-content h2 {
        font-size: 28px;
    }

    .post-content h3 {
        font-size: 22px;
    }

    .post-content h4 {
        font-size: 18px;
    }
}
