body {
    margin: 0px;
    color: #999;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8em;
}

h1 {
    font-size: 1.3em;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -100;
}

#title {
	margin-top:30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 8px;
}

#title.h1 {}

#panel {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    min-width:420px;
}

#status {
    font-size: 0.5em;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#switchbox {
    padding-top: 15px;
    height: 34px;
    margin-bottom: 20px;
    border-top: 1px solid #999;
}

.switchtitle {
    float: left;
    height: 34px;
    /*width:60%;*/
    line-height: 34px;
    margin-right: 10px;
    text-transform: uppercase;
    font-size: 0.8em;
}

.switchlabel {
    float: right;
    height: 34px;
    line-height: 34px;
    margin-right: 10px;
    text-transform: uppercase;
    font-size: 0.8em;
}

#keyboard {
    /*border:1px solid white;*/
    height: 80px;
}

button {
    outline: none; // this one
}

.key.black {
    margin-top: 0px;
}

.key.end {
    margin-right: 15px;
}

.key {
    margin-top: 30px;
    margin-left: 0px;
    margin-right: -10px;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: #000;
    color: white;
}

.key:active {
    background-color: #aaa;
    transform: translateY(4px);
}

.key.down {
    background-color: #aaa;
    transform: translateY(4px);
}

.key.end.down {
    margin-right: 15px;
    background-color: #aaa;
    transform: translateY(4px);
}

.key.black.down {
    margin-top: 0px;
    background-color: #aaa;
    transform: translateY(4px);
}

.keydiv {
    float: left;
}

/*-------SWITCH--------*/

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    float: right;
    margin-right: 10px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: black;
    border: 0.5px solid #999;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #999;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}