/*
Template: Margarita
Author: Marta García
Author URI: https://quehaceres.es
License: GNU General Public License v3
*/
:root {
  --font-family: sans-serif;
  --font-family-mono: monospace;
}
html {
    scrollbar-gutter: stable;
    background-image: radial-gradient(circle, #cf00ac .05em, transparent .05em);
    background-size: 1.5em 1.5em;
    padding-block: 40px;
}
html, body {
    background-color: #f6f5ff;
    color: #302636;
}
body {
    font: 1.125rem / 1.6 var(--font-family);
    margin-inline: auto;
    max-width: 1110px;
    padding: 20px;
    margin-block: 0;
    padding-block: 0;
    border: 1px dotted #cf00ac;
}
code, kbn {
    font: 1rem / 1.6 var(--font-family-mono);
}
a, summary {
    color: #1E1ECE;
    text-decoration-style: dotted;
}
a:visited, details[open] summary {
    color: #cf00ac;
}
a[aria-current] {
    text-decoration-thickness: 0.1em;
}
:focus-visible {
     outline: 2px dashed #cf00ac;
     outline-offset: 2px;
}
a:visited:focus-visible, details[open] summary:focus-visible {
    outline-color: #1E1ECE;
}
::selection {
    background: #cf00ac;
    color: #f6f5ff;
}
img {
    height: auto;
    max-width: 100%;
}
figurecaption {
    font-size: 1rem;
    display: block;
}
pre, code, kbn {
    padding: 0.4em;
    background: #f0efff;
}
pre {
    padding: 20px;
}
kbn {
    border-radius: 0.4em;
    border: 1px dotted #ff27da;
}
@media (prefers-color-scheme: dark) {
    html, body, figurecaption {
       background-color: #302636;
       color: #f6f5ff;
    }
    a, summary {
        color: #8383FF;
    }
    a:visited, details[open] summary {
        color: #ff27da;
    }
    :focus-visible {
        outline-color: #ff27da;
    }
    a:visited:focus-visible, details[open] summary:focus-visible {
        outline-color: #8383FF;
    }
    ::selection {
        background: #ff27da;
        color: #302636;
    }
    pre, code, kbn {
        background: #28202d;
    }
}
article, main {
    margin-block: 3em;
}
body > header, body > footer, aside, details {
    margin-block: 1em;
}
h1 + p {
    max-width: 55ch;
}
nav ul {
    column-gap: 20px;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}
nav ul, figure{
    margin: 0;
}
nav li {
    margin-block: 0.25em;
}
footer ul {
    margin-inline-start: auto;
    justify-content: end;
}
ul {
    list-style: square;
}
li {
    margin-block: 0.5em;
}
article > header {
    margin-block-end: 2em;
    font-size: 1rem;
}
article > footer {
    margin-block-start: 2em;
    font-size: 1rem;
}
pre {
    overflow-x: auto;
    text-wrap: wrap;
}
pre code {
    border: none;
    padding: 0;
}
pre, hr {
    margin-block: 2em;
}
hr {
    border: none;
    border-block-start: 1px dotted #cf00ac;;
}
summary {
    border: 1px dotted currentColor;
    max-width: fit-content;
    padding-inline: .4em;
}
address {
    font-style: normal;
}
details {
    font-size: 1rem;
}
.visually-hidden {
    border-width: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.skip-link {
    display: block;
    max-width: max-content;
    margin-inline-start: auto;
    background-color: #f6f5ff;
}
.skip-link.visually-hidden:focus-visible {
    clip: auto;
    height: auto;
    inset-block-start: 20px;
    width: auto;
}
@media print {
    body {
        font-size: 13pt;
    }
    body > header,
    body > footer {
        display: none;
    }
    * {
        background: none !important;
        border: none !important;
        color: black !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    a[href^=http]:after {
        content:" (" attr(href) ")";
    }
    img {
        filter: grayscale(1);
    }
    details::details-content {
        opacity: 1;
        content-visibility: visible;
    }
}
