@charset "UTF-8";

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    color: white;
    font-size: 1rem;
    font-family: 'Courier New', Courier, monospace;
    outline: 0px solid transparent
}

*:focus-visible {
    outline: 2px solid rgb(0, 200, 255);
    outline-offset: 1px;
}

:root {
    --can_h: 450px;
    --can_w: 330px;
    --bg_c: rgb(17, 17, 17);
}

body {
    background-color: var(--bg_c)
}

main>div:nth-child(1) {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

main>div>div:nth-child(1) {
    display: flex;
    position: relative;
}

#bg_img {
    position: absolute;
    inset: 0;
    --col-grd: rgba(0, 0, 0, 0.6);
    background-image: none;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position-x: 50%;
    background-position-y: 50%;
    z-index: -1;
    opacity: .7;
    transition: all 200ms linear;
}

#main-canvas {
    background-color: #eeeeee;
    height: var(--can_h);
    max-height: 90vh;
    width: var(--can_w);
    max-width: 75vh;
    outline: 5px solid #7c4b00;
    outline-offset: 20px;
    box-shadow: 0 0 0 20px #442e00, inset 0 0 10px black;
    z-index: 1;
    touch-action: none;
    margin: 30px;
}

#form_id {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 15px 0
}

.div_cnfg {
    display: flex;
    flex-direction: column;
    padding: 6px;
    outline: 1px solid rgb(255, 255, 255);
    outline-offset: -1px;
    border-radius: 10px
}

.div_cnfg>*>* {
    margin: 3px
}

button {
    padding: 6px;
    border-radius: 6px;
    border: none;
    color: black;
    outline: 1px solid black;
    margin: 3px
}

button:active {
    background-color: gray
}

#lst_cnfg {
    display: flex;
    flex-direction: column;
    background-color: rgb(34, 34, 34);
}

#lst_cnfg button {
    margin: 3px 1rem 3px 3px
}

p {
    color: white;
    font-family: 'Courier New', Courier, monospace;
    padding: 1rem;
    font-weight: bold;
}

p>* {
    font-family: 'Courier New', Courier, monospace;
}

input {
    color: black
}

#legend {
    padding-top: 0;
}

#info_list_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

#info_list_grid>div>div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

#info_list_grid>div>div>button {
    margin: 10px
}

#info_lst_cnfg {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem;
    margin: 0
}

#btn_ilc {
    margin: 0
}

#p_ilc {
    margin: 0;
    padding: 0
}

.sqr_bkts {
    color: rgb(143, 168, 28)
}

.crl_bkts {
    color: rgb(194, 49, 194)
}

.key {
    color: rgb(8, 145, 224)
}

.str {
    color: rgb(207, 65, 13)
}

.num {
    color: rgb(39, 155, 35)
}

.indent_1 {
    display: inline-block;
    width: 2ch;
}

.indent_2 {
    display: inline-block;
    width: 4ch;
}

.indent_3 {
    display: inline-block;
    width: 6ch;
}

footer {
    display: flex;
    height: 3rem;
    width: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
    bottom: -1px;
}

#footer-canvas {
    margin: 0;
    padding: 0;
    z-index: 1;
    height: 100%;
    width: 100%;
}

footer>p {
    position: absolute;
    z-index: 0;
}

/* modal */

#abrir_modal {
    font-weight: 900;
    font-size: 1.5rem;
    outline: 2px solid black;
    padding: 10px 18px;
    border-radius: 50%;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 9999999;
}

#modal {
    padding: 20px;
    padding-bottom: 10px;
    margin: auto auto;
    outline: 2px solid black;
    text-align: center;
}

#fechar_modal {
    background-color: #9f2222;
    margin: 10px;
    padding: 5px 10px;
    outline: 1px solid black;
    color: white;

}

#modal * {
    color: black
}

#modal a {
    color: blue
}
