html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    background-color: #23262A;
    color: #ffffff;
    font-family: Tahoma, Arial, Helvetica, "Microsoft YaHei New", "Microsoft Yahei", "微软雅黑", "黑体", SimSun, STXihei, "华文细黑", sans-serif;
}
#fileSelectionScreen {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background-color: #23262A;
    cursor: pointer;
    position: relative;
}
#fileSelectionScreen button {
    font-size: 1.5em;
    background-color: #23262A;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}
#fileSelectionScreen.drag-over {
    background-color: #393850;
}
#fileSelectionScreen.drag-over button {
    background-color: #393850;
}
#mainContent.hidden {
    display: none;
}
#subtitlesContainer {
    font-size: 1.5em;
    /* padding: 50px; */
    /* min-height: 100px; */
    display: flex;
    flex-direction: column-reverse;
}
.subtitle-container {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}
.word-group {
    display: inline-block;
    margin: 0 5px;
    text-align: center;
}
.latinSpelling {
    display: block;
    font-size: 14px;
    color: #bbb;
    user-select: none;
}
.nativeSpelling {
    display: block;
    font-size: 22px;
    padding: 3px 4px;
    border-radius: 5px;
    position: relative;
}
.new-word {
    background-color: #393850;
}
.known-word {
    background-color: #23262A;
}
.familiar-word {
    background-color: #685731;
}
.tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    font-size: 14px;
    visibility: hidden;
    white-space: nowrap;
    z-index: 10;
    pointer-events: none;
}
.playing {
    color: red;
}
.subtitle-container {
    margin-bottom: 10px;
}
#videoPlayer {
    height: 90vh;
    margin: auto;
}
#subtitlesContainer {
    position: relative;
    top: -100px;
    padding-top: 10px;
    background-color: rgba(35, 38, 42, 0.8);
}
