/* ================================== */
/*             Variables              */
/* ================================== */

body {
    --transition: 0.2s;

    --bg: #fff;
    --bg-1: #eee;
    --bg-2: #ddd;
    --bg-3: #ccc;
    --bg-light: #fbecd0;
    --nav-bg: #e3e3e3;
    
    --color: #000;
    --color-1: #aaa;
    --color-2: #444;
    --color-accent: #ffa341;

    --opacity: 0.66;
    --border: 1px solid #aaa;
    --radius: 10px;
    --margin: 5px;
    --shadow: 0 0 10px rgba(0,0,0,0.2);

    --padding: 10px;
    --padding-1: 20px;
    --padding-2: 50px;

    --nav-hei: 80px;
    --button-size: 34px;
    --footer-hei: 60px;

    --nav-border: none;
    --nav-skew: 20deg;
    --nav-radius: var(--radius);
    --nav-active-bg: var(--bg);
    /*

    --nav-inactive-bg: #aaa;
    --nav-inactive-bg-2: #bbb;
    --nav-inactive-bg: #ffa341;
    --nav-inactive-bg-2: #fdb465;
    */
    --nav-inactive-bg: #111;
    --nav-inactive-bg-2: #333;

    --table-headers-color: var(--color-1);
    --table-headers-bg: transparent;
    --table-color: var(--color);
    --table-bg-0: var(--bg);
    --table-bg-1: var(--bg-light);
    --table-bg-1: var(--bg-1);
    --table-padding: var(--padding);

    --popup-bg: var(--bg);
    --thumb-size: 120px;
}

/* ================================== */
/*               Master               */
/* ================================== */

* {
    margin: 0;
    padding: 0;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

}

::-webkit-scrollbar { display: none; }

button:focus {  outline: 0; }

ul, ul li {
    list-style: none;
    padding: 0;
    margin: 0;
}

body {
    position: relative;
    overflow-y: auto;
    width: 100%;
    height: 100%;
    background-color: #fff;
    overflow-x: hidden;
    
    -webkit-text-size-adjust: 100%;
    
    font-family: "Dosis", monospace;
    /*
    font-family: "IBM Plex Mono", monospace;
    font-family: "Roboto Flex", monospace;
    font-family: "Inconsolata", monospace;
    font-family: "Lora", serif;
    */

    font-style: normal;
    font-size: 16px;
    font-weight: 400;
}

.vertical_center {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#help {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 30px;
    color: #fff;
    background-color: #000;
    font-size: 0.7em;
    opacity: 0.8;
}

/* ================================== */
/*               Layout               */
/* ================================== */

main {
    position: relative;
    padding-top: var(--nav-hei);
    min-height: 100vh;
    padding-bottom: var(--footer-hei);
}

main section { 
    display: none;
}

footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: var(--footer-hei);
    text-align: center;
    font-size: 0.75em;
    opacity: 0.5;
    /* background-color: #eee; */
}

footer a {
    color: inherit;;
}

button {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

button span {
    font-size: inherit;
}

