html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
}

body {
    margin: 0
}

@font-face {
    font-family: ProggyClean;
    src: url(ProggyClean.ttf);
    font-weight: bold;
}

#debug {
    line-height: 1.1;
}

.hidden {
    display: none !important
}

.code {
    font-family: "Lucida Console", Monaco, monospace;
    outline: thin, 1px, black;
    vertical-align: top;

    line-height: 1;
}

.panel {
    display: flex;
    flex-direction: column;
}

#main-container {
    padding: 8px
}

#panels>* {
    display: inline-block;
    min-width: 25%;
}

#panels {
    display: flex;
    justify-content: center;
}

.palette-container {
    display: flex;
    margin-bottom: 0px;
}

.palette-square {
    outline: solid 1px black;

    display: inline-block;
    min-width: 32px;
    min-height: 32px;
}

.interactive {
    /* position: sticky; */
    bottom: 0;
    left: 0;
    background-color: white;
    border-top: 1px gray solid;
    padding: 8px;
    margin-top: 8px;

}

#gameboy {
    width: 320px;
    height: 288px;

    image-rendering: -moz-crisp-edges;
    /* Firefox */
    image-rendering: -webkit-crisp-edges;
    /* Webkit (Safari) */
    image-rendering: pixelated;
    /* Chrome */

    outline-style: solid;
    outline-width: thick;
    outline-color: black;
}

#memory-map {
    width: 256px;
    height: 256px;
    image-rendering: pixelated;

    outline-style: solid;
    outline-width: thin;
    outline-color: black;
}

.bigscreen {
    width: 640px !important;
    height: 576px !important;
}

#tileset {
    width: 256px;
    height: 192px;

    image-rendering: -moz-crisp-edges;
    /* Firefox */
    image-rendering: -webkit-crisp-edges;
    /* Webkit (Safari) */
    image-rendering: pixelated;
    /* Chrome */

    outline-style: solid;
    outline-width: thick;
    outline-color: black;
}

.interactive {
    display: flex;
    flex-direction: row;
    padding: 16px;
    bottom: 0
}

.shortcuts {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
}

.disasm-breakpoint {
    background-color: indianred
}

.disasm-current-line {
    background-color: lime
}

.disasm-jump-to {
    background-color: cyan;
}

.disasm-hover {
    background-color: #AAA
}

.dark-mode {
    color: rgb(226, 226, 226);
    background-color: rgb(27, 41, 41)
}

.dark-mode .interactive {
    background-color: rgb(44, 66, 66)
}

.dark-mode .disasm-breakpoint {
    background-color: darkred
}

.dark-mode .disasm-current-line {
    background-color: green
}

.dark-mode .disasm-jump-to {
    background-color: blue;
}

.dark-mode .disasm-hover {
    background-color: #555
}

.dark-mode button {
    background-color: rgb(27, 41, 41);
    border-color: rgb(42, 59, 59);
    color: rgb(226, 226, 226);
}

.dark-mode #gameboy {
    filter: sepia(.4)
}