* {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-rows: 100%;
    grid-template-columns: auto 375px;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
}

body,
html {
    height: 100%;
}

table {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
}

table tr {
    padding: 0;
    margin: 0;
    display: table-row;
}

table td {
    vertical-align: top;
    padding: 0;
    margin: 0;
    border-spacing: 0;
}

.selected {
    border: 1px solid red;
    background-color: rgba(255, 0, 0, 0.5);
}

[state="0"] {
    background-color: #222;
}

._0 {
    background-color: #000;
}

.display {
    opacity: 0;
    transition: all 0.5s ease;
    display: inline-block;
    grid-column: 1;
    grid-row: 1;
}

.io>div {
    width: 90%;
    padding: 0px;
    padding-top: 0px;
    margin: 0px;
    margin: auto;
    vertical-align: top;
    text-align: center;
}

button,
select,
option,
[type="text"],
textarea {
    background: none;
    border: 1px solid black;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
    margin: 5px;
}

[type="text"] {
    width: 90%;
    cursor: text;
}

textarea {
    cursor: text;
    width: 90%;
}

.round {
    width: 90px;
    height: 60px;
    /* border-radius: 50%; */
    color: white;
    font-weight: 900;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 10px;
}

.reset_button {
    background-color: orange;
    color: #515151;
    border: 5px solid #ffc670;
}

.stop_button {
    background-color: red;
    border: 5px solid #ffaaaa;
}

.start_button {
    background-color: green;
    border: 5px solid #aaaaff;
}

.io {
    opacity: 0;
    transition: all 0.8s ease;
    transition-delay: 0.2s;
    vertical-align: top;
    display: inline-block;
    width: 100%;
    height: 100%;
    text-align: center;
    overflow: auto;
    grid-column: 2;
    grid-row: 1;
}

#selectionMenu {
    background-color: white;
    position: fixed;
    z-index: 100;
    width: 100px;
    left: -300px;
}

#selectionMenu button {
    width: 100%;
    border-radius: 0;
    margin: 0;
    border-bottom: 1px solid #aaa;
}