nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline;
    margin-left: 5px;
    margin-right: 5px;
}

#content-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

#content {
    flex-basis: 60%;
    max-width: 100%;
}

@media (max-width: 1090px) {
    #content {
        flex-basis: 80%;
    }
}

@media (max-width: 500px) {
    #content {
        flex-basis: 100%;
    }
}

/* Dark mode - begin */

body.dark {
    background-color: #111;
    color: #eee;
}

body.dark a {
    color: #eee;
}

/* Mermaid diagrams in dark mode */
body.dark .mermaid {
    filter: none;
}

body.dark .mermaid svg {
    background: transparent !important;
}

/* Dark mode - End */


/* Dark mode switcher - Begin */

#dark-mode-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Begin slider */

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #4a13ae;
}

input:focus + .slider {
    box-shadow: 0 0 1px #4a13ae;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* End slider */

/* Dark mode switcher - End */

/* Font - Begin */
@font-face {
    font-family: 'capricho-light';
    src: url('capricho-light-webfont.woff2') format('woff2'),
    url('capricho-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: "capricho-light", serif;
}

body {
    font-size: 24px;
}

h1 {
    font-size: 60px;
}
/* Font - End */

blockquote {
    font-size: 22px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 50px;
    padding-left: 15px;
    border-left: 3px solid #ccc;
}

p > code {
    border-radius: 5px; 
    -moz-border-radius: 5px; 
    -webkit-border-radius: 5px; 
    border: 1px solid #BCBEC0;
    padding: 2px;
    font:12px Monaco,Consolas,"Andale  Mono","DejaVu Sans Mono",monospace
}

/* Table of contents */

#TableOfContents {
    border-left-style: solid;
}

#TableOfContents li {
    display: block;
}

#TableOfContents ul ul {
    padding-inline-start: 2ch;
}

p#wip-warning {
    color: orange;
}

p#wip-warning > a {
    color: orange;
}

@media (max-width: 810px) {
    .xs {
        display: initial;
    }
    .not-xs {
        display: none;
    }
}

@media (min-width: 530px) {
    .not-xxs {
        display: initial;
    }
}

@media (max-width: 530px) {
    .not-xxs {
        display: none;
    }
}

@media (min-width: 810px) {
    .xs {
        display: none;
    }
    .not-xs {
        display: initial;
    }
}