@charset "UTF-8";

@font-face {
    font-family: hackgen;
    src: url("fonts/HackGenConsoleNF-Regular.ttf") format("truetype");
}

@font-face {
    font-family: sarasa-mono-j;
    src: url("fonts/Sarasa_Mono_J-Regular.ttf") format("truetype");
}

@font-face {
    font-family: iosevka;
    src: url("fonts/Iosevka-Regular.ttf") format("truetype");
}

@font-face {
    font-family: noto-sans-jp;
    src: url("fonts/Noto_Sans_JP/static/NotoSansJP-Regular.ttf") format("truetype");
}

@font-face {
    font-family: noto-sans-jp;
    src: url("fonts/Noto_Sans_JP/static/NotoSansJP-Bold.ttf") format("truetype");
    font-weight: bold;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: noto-sans-jp, monospace;
    display: flex;
    background-color: #f7f7f7;
}

#menu {
    width: 210px;
    background-color: #efefef;
    padding: 20px 30px 50px 20px;
    font-size: 14px;
    box-shadow: 1px 0 0 #d0d0d0;
    user-select: none;
    overflow-y: auto;
}

hr{
    border: none;
    border-top: 2px solid #d0d0d0;
}

#display {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--mono-font, hackgen, monospace);
}

table {
    font-family: var(--mono-font, hackgen, monospace);
    font-size: 14px;
}

#search {
    margin-bottom: 6px;
}

#fonts {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

#fonts td.button {
    width: 18px;
    text-align: center;
}

#fonts td.fontDisplay {
    width: auto;
    padding: 2px 6px;
    background-color: #ffffff;
    user-select: none;
    white-space: nowrap;
    overflow: auto;
}

#iconList {
    border-collapse: separate;
    border-spacing: 2px;
    font-family: var(--mono-font, hackgen, monospace);
}

#iconList td.search {
    background-color: #e0e0e0;
    width: 26px;
    height: 26px;
    padding: 0;
    line-height: 1;
    cursor: pointer;
}

#iconList td.search.filled:hover {
    background-color: #8ce4ff;
}

#iconList td.search.filled:active {
    background-color: #f2ff9d;
    box-shadow: inset 2px 2px 0 #1990ff, inset -2px -2px 0 #1990ff, inset 2px -2px 0 #1990ff, inset -2px 2px 0 #1990ff;
}

#iconList td.search:not(.filled) {
    background-color: #f7f7f7;
    cursor: default;
}

td {
    padding: 2px 4px;
    width: 21px;
    text-align: center;
    background-color: #ffffff;
    user-select: none;
}

td.editable {
    background-color: #e0e0e0;
    user-select: auto;
}

td.editable:hover {
    background-color: #8ce4ff;
    cursor: pointer;
}

td.editable:focus {
    border: none;
    outline: none;
    background-color: #f2ff9d;
    box-shadow: inset 2px 2px 0 #1990ff, inset -2px -2px 0 #1990ff, inset 2px -2px 0 #1990ff, inset -2px 2px 0 #1990ff;
}

td.deleteFavsButton {
    padding: 2px 4px;
    width: fit-content;
    background: linear-gradient(to bottom, #f0f0f0, #d0d0d0);
    user-select: auto;
    cursor: pointer;
}

td.deleteFavsButton:hover {
    background: linear-gradient(to bottom, #a1e9ff, #76bdff);
}

td.history {
    background-color: #e0e0e0;
    user-select: auto;
}

td.button {
    width: 12px;
    background: linear-gradient(to bottom, #f0f0f0, #d0d0d0);
    cursor: pointer;
}

td.button:hover {
    background: linear-gradient(to bottom, #a1e9ff, #76bdff);
}

td.numDisplay {
    width: 110px;
    background-color: #ffffff;
    user-select: auto;
    cursor: text;
    white-space: nowrap;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #0077ff;
    text-shadow: 2px 2px 0 #b0b0b0;
}

#canvasBox {
    margin-left: 20px;
    width: fit-content;
    height: fit-content;
    position: relative;
    padding-top: 34px;
}

#asciiCanvas {
    background-color: #1f1e33;
    box-shadow: 2px 2px 0 #b0b0b0;
    min-width: 500px;
    min-height: 300px;
    color: #8ce4ff;
    outline: none;
    border: none;
    box-sizing: border-box;
    position: relative;
}

#asciiCanvas:focus {
    outline: none;
    border: none;
    box-shadow: 2px 2px 0 #b0b0b0, inset 2px 2px 0 #1990ff, inset -2px -2px 0 #1990ff, inset 2px -2px 0 #1990ff, inset -2px 2px 0 #1990ff;
}

#canvasBox #copyButton {
    padding: 5px 8px;
    background: linear-gradient(to bottom, #f0f0f0, #d0d0d0);
    box-shadow: 2px 2px 0 #b0b0b0;
    height: 18px;
    width: 30px;
    font-size: 16px;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
}

#canvasBox #copyButton:hover {
    background: linear-gradient(to bottom, #a1e9ff, #76bdff);
    cursor: pointer;
}

#canvasBox #deleteButton {
    padding: 5px 8px;
    background: linear-gradient(to bottom, #f0f0f0, #d0d0d0);
    box-shadow: 2px 2px 0 #b0b0b0;
    height: 18px;
    width: 30px;
    font-size: 16px;
    text-align: center;
    position: absolute;
    top: 0;
    right: 52px;
}

#canvasBox #deleteButton:hover {
    background: linear-gradient(to bottom, #a1e9ff, #76bdff);
    cursor: pointer;
}

#messageBox {
    font-family: noto-sans-jp;
    padding: 5px 0;
    height: auto;
    width: fit-content;
    position: absolute;
    top: 0;
    left: 0;
}
