/* Copyleft 2023 Jaka Perovšek, based on work by Guilherme Pangnotta */
/* License: GPLv3 https://www.gnu.org/licenses/gpl-3.0.en.html */

body {
    margin: 5% auto;
    background: #f2f2f2;
    color: #444444;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px; 
    line-height: 1.8; 
    text-shadow: 0 1px 0 #ffffff; 
    max-width: 70%;
}

code {background: white;}

a {
    border-bottom: 1px solid #444444;
    color: #444444;
    text-decoration: none;
}

a:hover {border-bottom: 0;}

.extrainfo {
    color: gray;
    margin-left: 0.5em;
    font-size: 15px;
}

.asciitable {
    font-family: monospace;
    line-height: 1.0;
    white-space: pre
}

#container {
    flex-direction: column; 
}

#headerdiv {
    max-width: 800px;
    order: 2;
    float: left;
}

#sidebar {
    max-width: 250px;
    float: right;
    padding-left: 35px;
    order: 1;
}

#content {
    max-width: 800px;
    order: 3;
}

#footerdiv {
    max-width: 70 %;
    order: 4;
}

.cookies {
    color: gray;
}

@media(max-width:1500px) {
    body {
        max-width: 800px;
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media(max-width:800px) {

    body {
        max-width: 90%;
        padding-left: 0;
        padding-right: 0;}

    .asciitable {
        margin-left: -10%;
        font-size: 14px;
    }

    #container {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column; 
    }

    #headerdiv {
        max-width: 650px;
        order: 1;
    }

    #sidebar {
        float: left;
        padding-left: 0;
        order: 2;
    }

    #content {
        float: left;
        order: 3;
    }
}