html, body {
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
body {
    margin: 0px;
    background-color: rgb(34, 37, 43);
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    scrollbar-color: rgba(0, 0, 0, 0.4) rgb(34, 37, 43);
    scrollbar-width: thin;
    cursor: default;
}
#viewport {
    float: left;
    left: 1px;
    width: calc(100% - 302px);
    height: 100%;
    overflow: auto;
}
body.mobile #viewport {
    width: 100%;
}
#preview {
    float: right;
    width: 300px;
    height: 100%;
    position: relative;
    overflow-y: auto;
}
body.mobile #preview {
    width: 0px;
}
body.mobile #view_frame {
    display: none;
}
#view_frame {
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: absolute;
    pointer-events: none;
}
canvas {
    display: block;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    pointer-events: none;
}
#preview > canvas {
    width: 260px;
    margin-left: 20px;
}
#canvas_container {
    width: fit-content;
    margin: 0pc auto;
    position: relative;
}
#ice_color_container, #blink_off_container, #blink_on_container {
    position: absolute;
    top: 0px;
    left: 0px;
}
#sauce {
    opacity: 0.6;
    background-color: black;
    border-radius: 6px;
    position: fixed;
    bottom: 16px;
    left: 16px;
    width: 380px;
    height: fit-content;
    max-height: calc(100% - 32px);
    overflow-y: auto;
}
#sauce > div:first-child {
    margin-top: 16px;
}
#sauce > div:last-child {
    margin-bottom: 16px;
}
#sauce > div {
    font-size: 12px;
    line-height: 14px;
    width: calc(100% - 32px);
    min-height: 16px;
    margin: 4px 16px;
}
body.mobile #sauce {
    display: none;
}
#title {
    color: white;
}
#author, #group, #comments {
    color: #aaaaaa;
}
#sauce > div > a {
    color: #aaaaaa;
    cursor: pointer;
}
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
 }
::-webkit-scrollbar-corner {
     background: var(--dark-view-color);
 }

::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.4);
}
