/* --------------- Virtual Keyboard -------------- */

.virtual-keyboard{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 8px 0;
    background-color: var(--primary-dark);
    box-shadow: 0 0 48px rgba(0, 0, 0, 0.5);
    user-select: none;
    transition: bottom 0.4s;
    z-index: 3000;
}

.virtual-keyboard-hidden{
    bottom: -100%;
}

#virtual-keyboard-input{
    width: 100%;
    max-width: 480px;
    height: 48px;
    margin: 4px;
    border-radius: 4px;
    border: none;
    font-size: 1.5rem;
    padding: 0px 16px;
}

.virtual-keyboard-keys{
    text-align: center;
}

.virtual-keyboard-key{
    height: 48px;
    width: 4%;
    max-width: 80px;
    margin: 4px;
    border-radius: 4px;
    border: none;
    background-color: rgba(255, 255, 255, 0.25);
    color: var(--white-color);
    font-size: 1.5rem;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    vertical-align: top;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.virtual-keyboard-key:active{
    background-color: rgba(255, 255, 255, 0.15);
}

.virtual-keyboard-key-wide{
    width: 8%;
}

.virtual-keyboard-key-extra-wide{
    width: 40%;
    max-width: 280px;
}

.virtual-keyboard-key-activatable::after{
    content: '';
    top: 10px;
    right: 10px;
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
}

.virtual-keyboard-key-active::after{
    background-color: #08ff00;
}

.virtual-keyboard-key-dark{
    background-color: rgba(0, 0, 0, 0.25);
}
