* {
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    font-size: 14pt;
    box-sizing: border-box;
}
#confetti {
    pointer-events: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}
input::-webkit-input-placeholder {
    font-size: 12pt;
    line-height: 12pt;
}
.info {
    color: rgb(97, 97, 97);
    clear: both;
    overflow: hidden;
    margin: 12px 0;
}
.info span {
    font-size: 10pt;
}
textarea {
    border: 1px solid black;
    margin: 10px 0;
    width: 100%;
    height: 240px;
}
.certo {
    background: rgb(17, 255, 124)!important;
}
.errado {
    background: rgb(255, 27, 27)!important;
    color: white!important;
}
th {
    color: white;
    background: black;
}
table {
    border-collapse: collapse;
}
tr,td,th {
    border: 1px solid black;
    padding: 8px;
}
button, select {
    border: 1px solid rgb(189, 189, 189);
    padding: 10px;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: monospace;
    padding: 10px;
}
.kana-row {
    display: flex;
}
.kana-cell {
    background: #cfcfcf;
    margin: 1px;
    flex: 1;
    padding: 3px 12px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
}
.kana-cell.active {
    background:rgb(34, 93, 255);
    color: white;
}

[type=checkbox] {
    cursor: pointer;
}
[type=checkbox]:disabled {
    cursor: default;
}
.buttons-wrapper {
    display: flex;
    gap: 12px;
}
.buttons-wrapper button {
    flex: 1;
}
#table-container.romaji .romaji {
    display: inline-block;
}
#table-container.romaji .hiragana {
    display: none;
}
#table-container.romaji .katakana {
    display: none;
}

#table-container.katakana .romaji {
    display: none;
}
#table-container.katakana .hiragana {
    display: none;
}
#table-container.katakana .katakana {
    display: inline-block;
}

#table-container.hiragana .romaji {
    display: none;
}
#table-container.hiragana .katakana {
    display: none;
}
#table-container.hiragana .hiragana {
    display: inline-block;
}
.hide {
    position: absolute;
    left: -9999999px!important;
}

/*
main {
    display: flex;
    gap: 20px;
    flex-direction: row;
}
*/
#input {
    border: 1px dashed darkslateblue;
    display: block;
    height: auto;
    width: 100%;
    font-size: 22pt;
}
#staging-word {
    text-align: center;
    font-size: 44pt;
    padding: 20px;
}
#flash {
    position: fixed;
    top: 0;
    height: 10px;
    left: 0;
    right: 0;
    opacity: 50%;
}
.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
}
.table-wrapper table {
    width: 100%;
}
main, #options, #options-controllers {
    width: 500px;
}
#options-controllers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#statistics {
    max-width: calc(100vw - 20px);
}
@media (max-width: 520px) {
    main, #options, #options-controllers {
        width: calc(100vw - 30px);
    }
}