a {
    color: #A7A7A7;
}

a:visited {
    color: #A7A7A7;
}

.subtle-link {
    color: inherit;
    text-decoration: none;
}

.subtle-link:hover {
    text-decoration: underline;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    color: #A7A7A7;
}

body {
    background-color: #111111;
    color: #d7d7d7;
    margin: 10px;
    padding-bottom: 30px;
}

.content {
    max-width: 715px;
    margin: 0 auto;
    padding: 25px 20px 0;
    text-align: center;
}

/* Header / Tagline row */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    width: 260px;
}

.header-logo-compact {
    display: none;
}

.socials {
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 700px) {
    .header-logo {
        display: none;
    }

    .header-logo-compact {
        display: block;
    }

    .socials {
        display: none;
    }

    .tagline-row {
        justify-content: flex-start;
        gap: 10px;
    }

    .tagline-nav {
        text-align: left;
        font-size: 13px;
    }

    body {
        margin: 16px;
    }

    .content {
        padding: 15px 12px 0;
    }
}

/* General text */

.text {
    text-align: left;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    color: #d7d7d7;
}

.text p {
    margin: 15px 0px 30px;
    font-size: medium;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    color: #d7d7d7;
}

.text h1,
.text h2 {
    margin: 6px 0;
    margin-top: 13px;
    font-size: xx-large;
    font-weight: bold;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
}

.text h3 {
    margin: 6px 0;
    margin-top: 13px;
    font-size: x-large;
    font-weight: bold;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
}

.text h4 {
    margin: 6px 0;
    margin-top: 13px;
    font-size: large;
    font-weight: bold;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
}

.text h5,
.text h6 {
    margin: 6px 0;
    margin-top: 13px;
    font-size: medium;
    font-weight: bold;
    color: #A7A7A7;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
}

@media (max-width: 700px) {
    .text p {
        font-size: 16px;
        line-height: 1.55;
        margin: 12px 0 24px;
    }

    .text h1,
    .text h2 {
        font-size: 28px;
    }

    .text h3 {
        font-size: 24px;
    }

    .text h4 {
        font-size: 20px;
    }
}

/* Inline text styles */

.text mark {
    background-color: #4a3f14;
    color: #f0d878;
    padding: 1px 3px;
    border-radius: 3px;
}

.text code {
    background-color: #1d1d1d;
    border: 1px solid #333;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.9em;
    color: #d7d7d7;
}

/* Lists */

.text ul,
.text ol {
    margin: 15px 0 30px;
    padding-left: 26px;
    color: #d7d7d7;
    font-size: medium;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
}

.text li {
    margin: 4px 0;
}

.text li > ul,
.text li > ol {
    margin: 4px 0;
}

.text ul.contains-task-list {
    list-style: none;
    padding-left: 8px;
}

.text ul.contains-task-list ul.contains-task-list {
    padding-left: 22px;
}

.text .task-list-item {
    list-style: none;
}

.text .task-list-label {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.text .task-list-item input[type="checkbox"] {
    accent-color: #7bb0e8;
    flex-shrink: 0;
    transform: translateY(1px);
}

@media (max-width: 700px) {
    .text ul,
    .text ol {
        font-size: 16px;
        line-height: 1.55;
    }
}

/* Callouts */

.callout {
    margin: 15px 0;
    padding: 10px 14px;
    background-color: #151515;
    border: 1px solid #333;
    border-left: 3px solid #7bb0e8;
    border-radius: 4px;
    color: #d7d7d7;
}

.callout-title {
    margin: 0 0 6px;
    font-weight: bold;
    color: #7bb0e8;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
}

details.callout > summary.callout-title {
    cursor: pointer;
    list-style: none;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

details.callout > summary.callout-title::-webkit-details-marker {
    display: none;
}

.callout-arrow {
    display: inline-block;
    font-size: 9px;
    transition: transform 0.1s ease;
}

details.callout[open] > summary.callout-title .callout-arrow {
    transform: rotate(90deg);
}

details.callout:not([open]) .callout-body {
    display: none;
}

.callout-body > p:first-child {
    margin-top: 0;
}

.callout-body > p:last-child {
    margin-bottom: 0;
}

.callout-tip {
    border-left-color: #5fd0c0;
}

.callout-tip .callout-title {
    color: #5fd0c0;
}

.callout-warning {
    border-left-color: #e0b84c;
}

.callout-warning .callout-title {
    color: #e0b84c;
}

.callout-danger {
    border-left-color: #e0605c;
}

.callout-danger .callout-title {
    color: #e0605c;
}

.callout-info {
    border-left-color: #5c9ee0;
}

.callout-info .callout-title {
    color: #5c9ee0;
}

.callout-success {
    border-left-color: #6bc47d;
}

.callout-success .callout-title {
    color: #6bc47d;
}

.callout-question {
    border-left-color: #b98ce0;
}

.callout-question .callout-title {
    color: #b98ce0;
}

.callout-failure {
    border-left-color: #e0745c;
}

.callout-failure .callout-title {
    color: #e0745c;
}

.callout-bug {
    border-left-color: #e08a4c;
}

.callout-bug .callout-title {
    color: #e08a4c;
}

.callout-example {
    border-left-color: #9c9cc0;
}

.callout-example .callout-title {
    color: #9c9cc0;
}

.callout-quote {
    border-left-color: #A7A7A7;
}

.callout-quote .callout-title {
    color: #A7A7A7;
}

/* Code blocks */

.code-block {
    width: calc(100% - 60px);
    max-width: 650px;
    margin: 15px auto;
    border: 1px solid #404040;
    border-radius: 6px;
    overflow: hidden;
    background-color: #111111;
}

.code-block-header {
    padding: 8px 10px;
    background-color: #161616;
    color: #A7A7A7;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    border-bottom: 1px solid #404040;
}

.code-block pre {
    margin: 0;
    padding: 14px;
    overflow-x: auto;
}

.code-block code {
    background: none;
    border: none;
    padding: 0;
    color: #d7d7d7;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .code-block {
        width: calc(100% - 16px);
    }
}

.breadcrumbs {
    color: #A7A7A7;
}

/* Separator */

hr {
    border: 0;
    border-top: 2px solid #404040;
    margin: 0 0 10px;
}

/* Post header */

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.post-header h1 {
    margin: 15px 0px 0px;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    font-weight: bold;
}

.post-date {
    font-size: 0.8em;
    color: #A7A7A7;
}

/* Image/GIF Media */

.mediaC {
    margin-top: 30px;
    text-align: center;
}

/* Media Container & Comment */

.mediaA {
    display: block;
    max-width: calc(100% - 30px);
    height: auto;
    margin: 0 auto;
    text-align: left;
}

@media (max-width: 700px) {
    .mediaA {
        max-width: calc(100% - 12px);
    }
}

.mediaComment {
    margin: 8px 0 25px;
    font-size: small !important;
    font-family: inherit !important;
    color: #A7A7A7 !important;
}

.mediaC .mediaComment {
    margin: 8px 0 25px;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
}

/* Video media */

.video-media {
    width: calc(100% - 60px);
    max-width: 650px;
    margin: 0 auto;
    text-align: left;
}

@media (max-width: 700px) {
    .video-media {
        width: calc(100% - 16px);
    }
}

.video-group .mediaComment {
    margin-top: 8px;
    margin-bottom: 25px;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    text-align: center;
}

.video-media details {
    width: 100%;
    border: 1px solid #404040;
    border-radius: 6px;
    overflow: hidden;
    background-color: #111111;
    isolation: isolate;
}

.video-media details:not([open]) .video-content {
    display: none;
}

.video-content {
    contain: layout paint;
}

.video-media summary {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    background-color: #161616;
    color: #d7d7d7;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    list-style: none;
}

.video-media summary::-webkit-details-marker {
    display: none;
}

.video-arrow {
    display: inline-block;
    margin-right: 8px;
    font-size: 9px;
    color: #A7A7A7;
    transition: transform 0.1s ease;
}

.video-media details[open] .video-arrow {
    transform: rotate(90deg);
}

.video-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-switch {
    margin-left: auto;
    padding-left: 12px;
    color: #A7A7A7;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.video-switch:hover {
    color: #d7d7d7;
}

.video-media video {
    display: block;
    width: 100%;
    height: auto;
    background-color: #000000;
    border-top: 1px solid #404040;
}

.video-group {
    margin-top: 30px;
}

/* Audio media */

.audio-group {
    margin-top: 30px;
}

.audio-media audio {
    display: block;
    width: 100%;
    color-scheme: dark;
}

@media (max-width: 700px) {
    .audio-media {
        width: calc(100% - 16px);
    }
}

blockquote {
    margin: 15px 0;
    padding: 0 15px;
    border-left: 3px solid #555;
    color: #A7A7A7;
    font-style: normal;
}

blockquote blockquote {
    margin: 8px 0;
}

/* Copy/Paste Box (About Page)*/

.copy-box {
    display: flex;
    width: calc(100% - 30px);
    margin: 10px auto 25px;
    gap: 6px;
}

.copy-box input {
    flex: 1;
    min-width: 0;
    height: 32px;
    box-sizing: border-box;
    padding: 0 8px;
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    outline: none;
    box-shadow: none;
    background-color: #111111;
    color: #d7d7d7;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    -webkit-appearance: none;
    appearance: none;
}

.copy-box input:focus {
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    outline: none;
    box-shadow: none;
}

.copy-box button {
    width: 34px;
    height: 32px;
    padding: 0;
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    outline: none;
    box-shadow: none;
    background-color: #111111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
}

.copy-box button:hover {
    background-color: #222222;
}

.copy-box button:active {
    background-color: #333333;
}

.copy-box button:focus {
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    outline: none;
    box-shadow: none;
}

.copy-box button img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Banner Stuff */

.banner-option {
    margin: 30px 0;
}

.banner-preview {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    width: calc(100% - 30px);
    margin: 0 auto;
}

.banner-preview img {
    display: block;
    flex-shrink: 0;
}

.banner-resolution {
    color: #A7A7A7;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    font-size: small;
    line-height: 1;
    white-space: nowrap;
    padding-bottom: 1px;
}

/* Animated tagline */

.tagline-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.tagline {
    display: block;
    min-height: 1.5em;
    margin: 5px 0 10px;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    font-size: small;
    line-height: 1.5;
    letter-spacing: 0;
    white-space: normal;
    text-align: left;
}

.tagline-nav {
    margin: 5px 0 10px;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    font-size: small;
    line-height: 1.5;
    white-space: nowrap;
    text-align: right;
    color: #A7A7A7;
}

.tagline[aria-busy="true"] {
    user-select: none;
}

@media (max-width: 700px) {
    .tagline {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tagline {
        transition: none;
    }
}


/* Hide scrollbars site wide. */
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
