body{
    font-family: 'Roboto', sans-serif;
    padding: 20px;
}
#log {
    margin-top: 20px;
    background-color: #f0f0f0;
    padding: 10px;
    border: 1px solid #ccc;
    height: 80px;
    overflow-y: scroll;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap; /* Prevents newlines */
    word-wrap: normal;
}
button {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 10px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    transition: background-color 0.3s;
    border-radius: 10%;
}

h1 {
    color: #333;
}
p {
    color: #666;
}

#key2 {
    background-color: cornsilk;
}
#hexkey2 {
    background-color: cornsilk;
}
#binkey2 {
    background-color: cornsilk;
}

#kb{
    margin-top: 20px;
}

.row, .keyboard .row div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.keyboard .row:nth-child(1) .key:nth-child(1){
    margin-left: 3.5em;
}
.keyboard .row div {
    border: 2px solid #ccc;
    color: #333;
    width: 4em;
    height: 4em;
    margin: 0.2em;
    transform: skew(-8deg);
    font-size: 1em;
}

.keyboard .row .space{
    width: 30em;
}

.keyboard .row .tab, .keyboard .row .capslock, .keyboard .row .enter, .keyboard .row .backspace{
    width: 6em;
}
.keyboard .row .shift{
    width: 10em;
}
.key{
    cursor: pointer;
    transition: background-color 0.3s;
}