@font-face {
    font-family: 'Roboto', sans-serif;
    src: URL('/fonts/Roboto-Regular.ttf') format('truetype');
}

.body {
    margin: 0 !important;
}

pre.multicode {
    width: 100%;
}


figure {
    text-align: center;
}

figure img {
    max-width: 100%;
    cursor: pointer;
    max-height: 45em;
}

figcaption {
    font-size: 17pt;
    font-style: italic;
}

.wholebody {
    background:white;
    display: flex;
    margin: 4em 0;
    width: fit-content;
}

#article-container {
    flex: 1;
    display: flex;
}

#article-content {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto';
}

code {
    padding:0.15em 0.2em 0.15em 0.2em;
    font-size: 14pt;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left:0;
    width: 100%;
    height: 100vh;
    background: #323232b5;
    z-index: 99;
    align-items: center;
    justify-content: center;
}

#overlay-picture {
    cursor: pointer;
    max-width: 100%;
    max-height: 100%;
}

.content table {
    max-width: 100% !important;
    text-align: left;
}

.chapter-number, .section-number {
    display: inline-block;
    margin-right: 0.25em;
}

.container {
    align-self: flex-start;
    width: 17em;
    font-size: 16pt;
    padding-right: 0;
}

.menuname {
    line-height: 1.75em;
    width: 75%;
    display: inline-block;
}

.deploy {
    display: inline-block;
    color: #866792;
    width: 15%;
    font-weight: bolder;
    text-align: center;
}

.deploy:hover {
    color: rgb(183, 145, 196);
}

.submenu li {
    font-size: 14pt;
    line-height: 1.75em;
}

.submenu {
    display: none;
}

.menudeploy {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.header-number {
    display: inline-block;
    font-size: 35pt;
    color: white;
    background-color: #6b5176;
    width: 1.875em;
    height: 2em;
    text-align: right;
    vertical-align: bottom;
    line-height: 2.8em;
    padding-right: 0.125em;
    font-weight: bold;
    border-radius: 10px;
    margin-right: 0.25em;
}

h2 {
    font-size: 35pt;
    display: inline-block;
    max-width: 85%;
    vertical-align: bottom;
    margin-bottom: 0;
}

h3 {
    font-size: 25pt;
}

h4 {
    font-size: 19pt;
}

h5 {
    font-size: 16pt;
    margin-top: 1em;
    margin-bottom: 1em;
}

blockquote {
    background: #826f8c;
    padding: 1em;
    color: #f7f7f7;
    border-left: 10px solid #6b5176;
    border-radius: 8px;
}

blockquote code {
    background: #a798ae;
}

#article-content ul li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.monotable table {
    font-family: monospace;
    width: 80%;
}

.monotable table {
    font-family: monospace;
    width: 80%;
}

.monotable th {
    text-align: center;
}

table td, table th {
    border: 1px solid black;
}

table td, table th {
    padding: 0.125em 0.5em;
}

.submenu a.selected li {
    background:#e7e3e7;
    color:#3a3a3a;
}

/* Make the font in submenus the same as menu */
ul ul {
    font-size: 1rem;
}

/* Make links in "Notes" blocks visible */
blockquote a:visited, blockquote a {
    color: white !important;
    text-decoration: underline !important;
}


@media screen and (max-width: 800px) {

    .wholebody {
        display: block !important;
        padding: 0 2em 0 2em !important;
        width: 100%;
        box-sizing: border-box;
    }

    #article-container, .content {
        width: 100% !important;
    }


    #article-content {
        max-width: 100%;
        min-width: 100%;
    }

    .container {
        width: 100%;
    }
}