* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: monospace;
}

html,
body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#cont {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100vh;
}

canvas {
    display: block;
    flex: 1;
    min-width: 0;
    height: 100vh;
    background: #101010;
    object-fit: contain;
}

textarea {
    flex: 0 0 250px;
    height: 100vh;
    resize: none;
    padding: 10px;
    font-family: monospace;
    font-size: 14px;
    background: #1e1e1e;
    color: #ffffff;
    border: none;
    outline: none;
}

#node-menu {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    padding: 4px;
    min-width: 150px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.menu-category {
    margin-bottom: 8px;
}

.menu-category:last-child {
    margin-bottom: 0;
}

.category-header {
    color: #888;
    font-size: 12px;
    padding: 4px 8px;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 1px solid #3a3a3a;
}

.menu-item {
    color: #fff;
    padding: 6px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.menu-item:hover {
    background-color: #3a3a3a;
}

#error-box {
    position: absolute;
    left: 270px;
    bottom: 10px;
    color: white;
}

#heart-box {
    display: block;
    color: white;
    position: absolute;
    font-size: 24px;
    right: 270px;
    bottom: 10px;
    text-decoration-line: none;
}

#heart-box > span {
    text-underline-offset: 3px;
    text-decoration-line: underline;

    /* text-underline-offset: 2.5px; */
    /* text-decoration-style: solid; */
    /* text-decoration: dashed; */
}