:root {
  --bg-dark: #242423;
  --bg-light: #333533;
  --fg-light: #E8EDDF;
  --callout: rgb(255, 255, 102);
  --callout-dark: #101010;
  --font-colour: #fff;
  --font-size: 22px;
  --font-size-small: 18px;
  --footnote-size: 14px;
  --gastonle-ru-red: #AD4743;
  --gastonle-ru-green: #04AA6D;
  --gastonle-ru-grey: #D3D3D3;
}

body {
    font-size: var(--font-size);
}

html, body, main {
    background-color: var(--bg-dark);
    color: var(--font-colour);
    /* Sans serif fall-back required for some font rendering (i.e., U+2E13; U+2052) */
    font-family: "EB Garamond", sans-serif;
    font-weight: 400;
    text-shadow: rgb(77, 81, 86) 0px 0px 0px;
    height: 100%;
    /* LaTeX-like width and justified spacing */
    max-width: 70ch;
    text-align: justify;
    hyphens: auto;
}

main {
    display: flex;
}

a {
    color: inherit;
}

.footnote {
    font-size: var(--footnote-size);
}

button {
    color: inherit;
    font: inherit;
    background-color: var(--bg-dark);
    font-size: var(--font-size);
    border-radius: 10px;
}

.slider-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: left;
    position: relative;
}

.slider:hover {
    opacity: 1;
}

.slider {
    -webkit-appearance: none;
    width: 20%;
    height: 15px;
    border-radius: 5px;
    background: var(--gastonle-ru-grey);
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--gastonle-ru-red);
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--gastonle-ru-red);
    cursor: pointer;
}

.slider-container .bound {
    position: relative;
}

.slider-container .bound.lower {
    margin-right: 10px;
}

.slider-container .bound.upper {
    margin-left: 10px;
}

.months-container {
    padding-bottom: 10px;
}

.remember {
    display: flex;
    padding: 10px 0px;
}

.remember-label {
    margin-left: 5px;
}

code, pre {
    font-family: JuliaMono, "Courier New", Courier, monospace;
    /* Some monospaced fonts seem too big next to normal text,
       so we will reduce the size slightly. */
    /* TODO: also consider using Menlo, which looks very nice  */
    font-size: 0.85em;
}

dl {
    display: grid;
    grid-template-columns: max-content auto;
    padding-left: 20px;
}

dt {
    grid-column-start: 1;
}

dd {
    grid-column-start: 2;
    /* Override main page width as it looks nicer */
    /* max-width: 70ch!important; */
}

textarea {
    background-color: var(--bg-light);
    color: var(--font-colour);
    border: 1px solid var(--fg-light);
}

/* See also clipboard.js */
[data-copyable] {
    cursor: pointer;
}
