* {
    box-sizing: border-box;
}
body {
    margin: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.container {
    width: 40%;
}
.container input {
    width: 100%;
}
#keyboard {
    background: white;
    position: absolute;
    z-index: 2;
    bottom: 0px;
    display: flex;
    flex-direction: column;
    border-top: 3px solid grey;
    width: 100%;
}

#keyboard #keyboard-ribbon{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#keyboard .rows{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#keyboard #keyboard-ribbon input{
    border: 4px solid transparent;
    font-size: 15px;
    cursor: pointer;
    padding: 5px;
    background: none;
    margin: 0px 10px;
}

#keyboard .tab-button.active {
    border-bottom: 4px solid blue;
}

#keyboard ul {
    padding: 0px;
    list-style: none;
    display: flex;
    flex-direction: row;
    margin: 2px 0px;
}

#keyboard ul .key {
    
    height: 50px;
    width: 50px;
    font-size: 20px;
    margin-right: 5px;

    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    vertical-align: top;
    text-align: center;
    float: left;
    cursor: pointer;

    border: 1px solid rgb(228, 228, 228);
    border-bottom-color: grey;
    border-radius: 5px;
    pointer-events: all;
    position: relative;
    overflow: hidden;
}

#keyboard ul .key:hover {
    background: rgb(228, 228, 228);
}
@media only screen and (max-width: 500px) {
    #keyboard ul .key {
        height: 40px;
        width: 40px;
        font-size: 15px;
        margin-right: 3px;
    }
}
