* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    padding: 8px;
    background-color: rgb(63, 63, 63);
    font-family: monospace;
    align-items: center;
    overflow: hidden;
}

a:link {
    color: yellow;
    ;
}

a:hover {
    color: orange;
}

a:visited {
    color: lightgray;
}

p {
    margin: 8px;
    font-size: 15px;
    font-weight: bold;
}

hr {
    border: 1px solid bisque;
}

#screen {
    position: relative;
    width: 768px;
    height: 548px;
    background-color: darkgreen;
    margin: 0px 8px;
}

#screen,
img {
    border: solid 2px beige;
    border-radius: 24px;
}

#scan,
#bezel {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#content {
    font-family: monospace;
    font-size: 1.12em;
    font-weight: 900;
    padding: 40px 48px;
    color: greenyellow;
}

span {
    white-space: pre;
}

inp {
    color: White;
}

out {
    color: yellow;
}

txt {
    color: rgb(255, 170, 85);
    font-weight: 100;
    font-style: italic;
}

b {
    width: 9px;
    height: 15px;
    display: inline-block;
    background-color: greenyellow;
    animation: blinking 1s infinite;
}

@keyframes blinking {
    0% {
        opacity: 0;
    }
}

#keyb {
    width: 768px;
    margin: 16px 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 8px;
    border-radius: 8px;
    background-color: rgb(31, 31, 31);
    box-shadow: -3px -3px 5px rgb(63, 63, 63), 3px 3px 5px black;
}

.row {
    margin: 4px 4px;
    display: flex;
    flex-direction: row;
    align-items: center;
    user-select: none;
}

button {
    width: 48px;
    height: 42px;
    font-weight: bold;
    margin: 2px 6px;
    border: none;
    background-color: transparent;
    color: white;
    box-shadow: -2px -2px 4px rgb(63, 63, 63), 2px 2px 4px black;
    border-radius: 4px;
    cursor: pointer;
    font-size: 21px;
    font-weight: 100;
}

.func {
    color: orange;
    font-size: 15px;
}

.active {
    border: 2px solid white;
    box-shadow: inset -2px -2px 4px rgb(63, 63, 63), inset 2px 2px 4px black;
    color: yellow;
}

#layout {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

.flex-col {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}

#sheet {
    margin: 16px 0 0 10px;
    border: 2px solid green;
    background-color: whitesmoke;
    box-shadow: inset 0 0 2px 4px rgb(127, 127, 127);
    border-radius: 2px;
}

td {
    font-family: Verdana, sans-serif;
    text-align: center;
    padding: 12px 8px 16px;
}