/*
@font-face {
    font-family: baseGraffitiFont;
    src: url(sedgwick.ttf);
}
@font-face {
    font-family: dckGraffitiFont;
    src: url(dckfont.ttf);
}
*/


.explorer {
    --background: #ffffff;
    --text: #212529;
    --muted: #6c757d;
    --link: #3660a5;
    --link-hover: #d2901e;
    --code: #f8f8f8;
    --active: #fff598;

    --accent: #eee;
    --accent2: #c1c1c1;

    --nav-hover: rgba(255, 255, 255, 0.5);
    --name: #0066BB;
    --def: #008800;
    --annotation: #007020;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    margin: 0 0 0 0;
}

.highlight {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}
.header_content {
    display: block;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 4px solid var(--text);
}

.header_content .image {
    width: clamp(240px, 40vw, 600px);
}

.header_content .title {
    font-size: clamp(1rem, 7vw, 5.5rem);
    white-space: nowrap;
}

.main_content,
.faq_content {
    display: block;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 2rem;
}

.main_content .paragraph,
.faq_content .paragraph {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
}

.faq_content .faq_q,
.faq_content .faq_a {
    display: block;
}

.faq_content .faq_q {
    font-size: 1, 25rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.faq_content .faq_a {
    margin-left: 1rem;
}

.footer_content {
    display: block;
    margin-top: 2rem;
}




.graffiti {
    /* font-family: dckGraffitiFont; */
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.header_image {
    width: 100%;
}

.base-header {
    background-image: url('../images/header.png');
    color: var(--link);
    text-align: center;
    background-size: contain;
    padding-bottom: 0.5rem;
    /* font-family: dckGraffitiFont; */
    /*
    margin: 0 0 0 0;
    font-size: clamp(16px, 7vw, 100px);
    line-height: clamp(16px, 7vw, 100px);
    */
    font-weight: 300;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black, -3px 0 white, 0 3px white, 3px 0 white, 0 -3px white, 0 0 4px white, 0 0 8px white;
    filter: drop-shadow(4px 4px 0px #0000001f);
}
.graffiti-text {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(0.5rem, 5vw, 6rem);
}
.graffiti-text a {
    color: var(--link);
}

.graffiti-text a:hover {
/*
    background: linear-gradient(to bottom, #2f2fffff, #5f5fffff, #ff3f3fff, #ff2f2fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px #7f5f7f;
    filter: drop-shadow(4px 5px 2px #3f3f3f7f);
    filter: drop-shadow(0px 0px 8px #0000007f);
*/
    filter: grayscale(50%);
}

.base-header .base-subheader {
    text-align: center;
    font-size: clamp(0.5rem, 4vw, 4rem);
    line-height: clamp(0.5rem, 4vw, 4rem);
    color: var(--link);
    font-weight: 300;
}

.base-footer {
    /*
    display:none;
    background-image: url('../images/header.jpg');
    background-size: auto;
    padding: 0.5rem 1rem;
    */
    min-height: 1rem;
}

.social-bar {
    display: block;
    width: 100%;
    text-align: center;
}

.social-list-item {
    display: inline-block;
    padding: 0 2rem;
}

.social-icon {
    width: 4rem;
}

article {
    margin-left: 1rem;
    margin-bottom: 1rem;
    /*
    padding-bottom: 2rem;
    border-bottom: 4px solid var(--muted);
    */
}

a {
    text-decoration: none;
}
/*
header a {
    color: var(--accent);

}

header a:hover {
    color: var(--active);

}
*/
nav.pdoc>div>ul.navlist {
    margin-left: 0.5rem;
}

nav.pdoc h1, nav.pdoc h2, nav.pdoc h3, nav.pdoc h3 {
    padding-bottom: 0;
}

nav.pdoc h3 a {
    color: inherit;
}

nav.pdoc {
    --indent: 0.5rem;
}

nav.pdoc .toc {
    font-size: 0.85rem;
}

nav.pdoc .toc>.topic-title {
    display: none;
}

nav.pdoc ul ul ul ul {
    margin-left: 0.5rem;
}

.pdoc .section h3 {
    margin-top: 2rem;
    border-top: 2px solid var(--muted);
    border-bottom: 4px solid var(--muted);
}

.pdoc .article-title {
    border-bottom: 4px solid var(--muted);
    margin-bottom: 2rem;;
}

.pdoc .linenos, .pdoc .code {
    border: none;
}
.pdoc .linenos {
    background-color: inherit;
    font-weight: bold;
    padding: 0;
}
.pdoc .linenodiv .normal:after {
    content: ":";
}

.pdoc pre {
    border-top: none;
    border-bottom: none;
    /* background-color: inherit; */
    margin-bottom: 0;
    /* overflow-x: hidden; */
}

.pdoc .literal {
    background-color: var(--accent);
    padding: 0 6px;
}

.pdoc table {
    /*
    margin-bottom: 0;
    */
}

.pelican .toggle-button {
    cursor: pointer;
    display: inline-block;
    float: inline-start;
    border: solid black 1px;
    border-radius: 2px;
    border: solid #0000003f 1px;
    background-color: #0000003f;
    border-radius: 6px;
    font-size: .75rem;
    padding: calc(0.5em - 1px) 1em;
    transition: 100ms all;
    height: 2.8rem;
    margin-top: 4px;
    margin-left: 4px;
}
.pelican .toggle-button img {
    vertical-align: top;
}

.pdoc .highlight, .pdoc .literal-block {
    border-top: 1px solid var(--muted);
    border-bottom: 1px solid var(--muted);
    margin-bottom: 1rem;
    text-decoration: none;
    font-size: 0.85rem;
}

.pdoc blockquote {
    margin-left: 2rem;
    border-left: 4px solid lightgray;
    padding-left: 1rem;
    font-style: italic;
}

img.align-center {
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 2rem;
}


/* -------------- custom markup activated using :role-tag:`content` */

/* color for python and circucitpython tips */
.py-tip {
    font-weight: bold;
    color:darkgoldenrod
}
.py-tip::before {
    content: "🐍 ";
}
.cp-tip {
    font-weight: bold;
    color:blueviolet;
}
.cp-tip::before {
    content: "🐍 ";
}
.cp-tip {
    font-weight: bold;
    color: blueviolet;
}
.cp-tip::before {
    content: "🔌 ";
}
.ai-tip {
    font-weight: bold;
    color:blue;
    /*
    font-family: 'Courier New', Courier, monospace;
    */
}
.ai-tip::before {
    content: "🤖 ";
}

.is-available {
    display:block;
}
.isnot-available {
    display:none;
}

.kicanvas {
    width: 95%;
}

.link-banner {
    width: 100%;
    border: 1px solid var(--accent2);
    background-color: var(--accent);
    display: flex; justify-content: space-between;
    padding-left: 0.5em;
    padding-right: 0.5em;
}
.link-name {
    /*
    text-align: start;
    padding-right: 0.5em;
    display: inline-block
    */
}
.link-source {
    /*
    text-align: end;
    padding-right: 0.5em;
    display: inline-block
    */
}
.link-source a::before {
    content: "🔗 ";
}