/* Sakura.css v1.0.0
 * ================
 * Minimal css theme.
 * Project: https://github.com/oxalorg/sakura
 *
 * Modified by Pierre Lairez (2018-09)
 */
/* Body */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;700&family=IBM+Plex+Sans:ital,wdth,wght@0,75..100,100..700;1,75..100,100..700&display=swap');

html {
    /* font-family: Charter, 'Bitstream Charter', 'Sitka Text', Cambria, serif; */
    font-family: "IBM Plex Sans", Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
}

body {
    line-height: 1.3;
    margin: 0 0 0 2rem;
    padding: 1rem 2rem;
    max-width: 60em;
    min-width: 32em;
    color: #353535;
    background-color: #ffffff;  /* #f9f9f9; */
}

section {
    margin-top: 2em;
}

p {
    margin: 1em 0;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.1;
    font-weight: 700;
    margin: 1em 0em 1em 0;
    margin-left: 5em;
    text-indent: -5em;
}

h1 {
    font-size: 2.35em;
    margin-top: 2em;
}

h2 {
    font-size: 2.00em; }

h3 {
    font-size: 1.75em;
}

h4 {
    font-size: 1.5em; }

h5 {
    font-size: 1.25em; }

h6 {
    font-size: 1em;
}

.header-section-number {
    text-indent: 0;
    display: inline-block;
    padding: .1em .4em;
    margin-right: 1em;
    background-color: #6b7a8f;
    border-radius: .2em;
    color: white;
}

small, sub, sup {
    font-size: 75%; }

hr {
    border-color: #6b7a8f; }

a {
    text-decoration: none;
    color: #f7882f;
    /* color: #6b7a8f; */
}
a:hover {
    color: #f7882f;
    border-bottom: 2px solid #4a4a4a; }

ul {
    padding-left: 1.4em; }

li {
    margin-bottom: 0.4em;
    margin-top: 0.4em;
}

nav ul {
    list-style: none;
}

dt {
    margin-top: .8em;
}

dd {
    margin-left: 1.4em;
}

figure {
    padding: 1em;
    margin-left: 1em;
}

figcaption {
    font-style: italic;
    margin: .8em 0em;
}


figure > img {
    width: 100%;
}

/* Sideboxes */

blockquote {
    border: .2rem dotted #dcc7aa;
    font-size: 85%;
    font-style: italic;
}


blockquote em {
    font-style: normal;
}

.question {
    border-color:  #6b7a8f;
    border-radius: .5em;
    border-style: solid;
}

.question, blockquote {
    padding: 0em .8em;
    margin: 1em -.8em;
}


@media (min-width: 80rem) {
    body {
        margin: 0 0 0 28rem;
    }

    blockquote {
        clear: both;
        float: left;
        font-size: 85%;
        font-style: italic;
        margin: 0 0 1em -28rem;
        width: 23.6rem;
    }

}


/* Pre and Code */
pre {
    border-radius: .5em;
    background-color: #f1f1f1;
    display: block;
    padding: 1em 1em;
    overflow-x: auto;
    counter-reset: line;
}

code {
    font-family: "IBM Plex Mono", monospace;
    color: #000000;
    white-space: pre-wrap;
    padding: .12em;
}

pre > code {
    white-space: pre;
    border-style: none;
}

pre.sourceCode > code > span {
    counter-increment: line;
    
}

pre.sourceCode > code > span:before{
    width: 1.5em;
    display: inline-block;
    border-right: 2px solid #ddd;
    text-align: right;
    content: counter(line);
    margin-right: .5em;
    padding-right: .5em;
    -webkit-user-select: none;
}


a > code {
    color: #f7882f;
}

/* Tables */
table {
    text-align: justify;
    width: 100%;
    border-collapse: collapse; }

td, th {
    padding: 0.5em;
    border-bottom: 1px solid #f1f1f1; }

/* Buttons, forms and input */
input, textarea {
    border: 1px solid #4a4a4a; }
input:focus, textarea:focus {
    border: 1px solid #6b7a8f; }

textarea {
    width: 100%; }

.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
    display: inline-block;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    background-color: #6b7a8f;
    color: #f9f9f9;
    border-radius: 1px;
    border: 1px solid #6b7a8f;
    cursor: pointer;
    box-sizing: border-box; }
.button[disabled], button[disabled], input[type="submit"][disabled], input[type="reset"][disabled], input[type="button"][disabled] {
    cursor: default;
    opacity: .5; }
.button:focus, .button:hover, button:focus, button:hover, input[type="submit"]:focus, input[type="submit"]:hover, input[type="reset"]:focus, input[type="reset"]:hover, input[type="button"]:focus, input[type="button"]:hover {
    background-color: #f7882f;
    border-color: #f7882f;
    color: #f9f9f9;
    outline: 0; }

textarea, select, input[type] {
    color: #4a4a4a;
    padding: 6px 10px;
    /* The 6px vertically centers text on FF, ignored by Webkit */
    margin-bottom: 10px;
    background-color: #f1f1f1;
    border: 1px solid #f1f1f1;
    border-radius: 4px;
    box-shadow: none;
    box-sizing: border-box; }
textarea:focus, select:focus, input[type]:focus {
    border: 1px solid #6b7a8f;
    outline: 0; }

input[type="checkbox"]:focus {
    outline: 1px dotted #6b7a8f; }

label, legend, fieldset {
    display: block;
    margin-bottom: .5rem;
    font-weight: 600; }


header {
    margin: 2em 0;
}

header > .subtitle {
    font-weight: 600;
}

header > .author {
  display: inline;
  font-style: italic;
  margin-right: 2em;
}

nav {
    margin: 2em 0;
}
