body {
    width: 100%;
    height: 100vh;
    margin: 0;
    font-family: 'Roboto Mono', monospace;
    font-size: 1.5rem;
}

h1 {
    margin: 0;
}

.char {
    display: inline-block;

    margin: 0;

    border-right: 2px solid transparent;
    border-bottom: 1px solid transparent;

    font-family: 'Roboto Mono', monospace;
}

.char.wrong {
    background: red;
    color: white;
}

.char.correct {
    color: green;
}

.char.curr {
    border-right: 2px solid black;
    background: #e6e6e6;
}

.char.space {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.char.pace-caret {
    border-right: 2px solid #2f2fff;
}

.typing-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.typing-page>.shortcut-exit {
    position: absolute;
    right: 0;
    top: 0;
}

.typing-page>.user-input {
    position: fixed;
    width: 0px;
    height: 0px;
    top: -100px;
    left: -100px;
}

.typing-page>.keyboardcont {
    position: relative;
    width: calc(90% - 20px);
    padding: 20px;
}

.keyboardcont>.overlay {
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.typing-page>.test-title {
    text-align: center;
}

.wpmresults-page {
    text-align: center;
}

.warmup-select {
    display: flex;
    justify-content: center;
    padding: 10px;
    gap: 10px;
    height: 90%;
}

.select-group {
    background: rgb(255, 200, 136);
    padding: 10px;
    flex: 1;
    overflow: auto;
}

.select-group>.title {
    text-align: center;
    font-weight: bolder;
    font-size: 1.5rem;
}

.select-mode {
    background: rgb(255, 243, 136);
    padding: 10px;
    margin: 10px 0;
}

.select-mode:hover {
    cursor: pointer;
    background: rgb(202, 193, 106);
}

.select-mode>.title {
    font-weight: bolder;
}

.hide {
    display: none!important;
}
