html,body {
    padding: 0;
    margin: 0;
    height: 100vh;
    width: 100vw;
    background-color: #CFCFCF;
    display: grid;
    grid-template-columns: 360px auto;

}

.row {
    font-size: 16pt;
    /* border-bottom: 1px solid black; */
    display: inline-flex;
    border: 1px solid black;
    padding: 3px;
    border-radius: 3px;
    margin: 3px;
    line-height: 1em;
}

.challenge {
    min-width: 40px;
    display: inline-block;
    margin: 5px 20px 5px 0;
}

.answer {
    color: black;
    background-color: black;
    display: inline-block;
    min-width: 40px;
    text-align: center;
    margin: 5px 0 5px 20px;
}

.answer:hover {
    color: white;
}

#main {
    /*height: 100%;*/
    min-width: 500px;
    /*margin-left: 360px*/
    display: flex;
    flex-direction: column;
    /*grid-template-rows: auto auto 150px;*/
}

#controls {
    width:360px;
    border: 2px solid black;
    display: inline-block;
    padding: 4px;
    height: 100%;
    /*position: fixed;*/
    /*top: 0;*/
    /*left: 0;*/
    overflow: scroll;
}

.character-cell {
    box-shadow: 1px 1px 0.1em #555;
    display: inline-block;
    height: 50px;
    margin: 5px;
    padding: 6px;
    text-align: center;
    width: 50px;
    cursor: pointer;
}

.romaji {
    font-family: "Trebuchet MS", sans-serif;
    font-size: 12pt;
}

.katakana {
    font-weight: bold;
    font-size: 14pt
}

.character-cell:hover {
    background-color: #2098D8;
}

.disabled-cell {
    opacity: 0.4;
    background-color: #888;
}

.enabled-cell {
    background-color: #68C8FF;
}

.level-name {
    font-size: 8pt;
    font-weight: bold;
}

.level-name:hover {
    text-decoration: underline;
    color: blue;
    cursor: pointer;
}

.character-row {
    box-shadow: 0px 0px 0.1em #666;
    margin: 6px;
    padding: 6px;
}

.character-row:hover {
    background-color: #98E8FF;
}

#about {
    padding: 20px;
}

#current-challenge {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    font-size: 12vw;
    display: grid;
    grid-template-columns: 40% 40%;
    grid-template-rows: 50px auto;
    margin-top: 30px;
}

#challenge_header,#answer_header {
    font-size: 20pt;
}
#current-left {
    font-size: 30pt;
}

#current-right {
    font-size: 30pt;
}

#rows {
    overflow: auto;
    box-sizing: border-box;
    flex-grow:0;
    height:250px;
}

#row-controls {
    text-align: center;
}

#challenge-count {
    font-size: 18pt;
    font-weight: bold;
    font-family: "Trebuchet MS", sans-serif;
}

#select_all_none {
    text-align:center;
}

#practice-types {
    text-align: center;
}

#practice-types div {
    margin: 5px;
}

