:root {
    --pico-font-size: 1rem;
}

body {
    overflow-x: hidden;
}

/* Center the "updated by" text in the settings */
dialog article > footer {
    text-align: center;
}

/* Remove outline and box-shadow on focus for accessibility */
button:focus,
a[role="button"]:focus,
input[type="submit"]:focus,
input[type="button"]:focus {
    outline: none;
    box-shadow: none;
}

/* For mobile taps (iOS/Android blue overlay) */
button,
a[role="button"],
input[type="submit"],
input[type="button"] {
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* transparent with rgba */
}

[data-tooltip]::before {
    font-weight: 500;
}

summary {
    font-size: 1.5rem;
}

summary > a {
    outline: none;
    box-shadow: none;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    opacity: 0.25;
    padding-right: 0.25rem;
}

summary > a:hover {
    opacity: 0.75;
}

[role="button"] {
    -webkit-tap-highlight-color: transparent;
}

[role="button"]:focus {
    outline: none;
    box-shadow: none;
}

:where(a:not([role="button"])):focus-visible,
[role="link"]:focus-visible {
    box-shadow: none;
}

a {
    text-decoration: none;
    border: none;
}

ul li {
    list-style-type: revert;
}

details.markdown-generate {
    /*padding-bottom: 0.3rem;*/
    padding-top: 0.3rem;
}

article > p > img {
    width: 50%;
    height: auto;
}

mark {
    color: var(--pico-primary-inverse);
    background-color: var(--pico-ins-color);
}

.utility-buttons-container {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.search-container {
    margin-left: 2rem;
}

#search {
    height: 2.5rem;
    max-width: 12rem;
}

.home-button {
    padding: 0.25rem;
    margin-bottom: 0.5rem;
    margin-right: 1rem;
}

@media (min-width: 576px) {
}

/* Sticky left navbar, and deal with responsive window changes */
@media (min-width: 768px) {
    #contentContainer {
        background-image: var(--pico-icon-loading);
        background-position: center center;
        margin-left: 19rem;
        min-height: calc(100vh - 7rem);
    }

    .bookmarks {
        position: fixed;
        left: 0;
        top: 5rem;
    }

    #left-navbar {
        width: 20rem;
        height: calc(100vh - 10rem);
        overflow-y: auto;
    }
}

@media (max-width: 1415px) {
}
