#text-reader-container {
    color: black;
    display: none;
    position: fixed;
    width: 300px;
    font-family: Arial, Helvetica, sans-serif;
    z-index: 10000;
}

#text-reader-bar {
    height: 50px;
    display: grid;
    grid-template-columns: 50px 200px 50px 35px;
    border-radius: 0.5rem;
    box-shadow: 0.2em 0.2em calc(0.2em * 2) rgba(0, 0, 0, 0.3);
    z-index: 1;
}

#text-reader-playback-button {
    background-color: blue;
    color: white;
    font-weight: bold;
    border: solid black 2px;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    cursor: pointer;
    font-size: 20px;
}

#text-reader-input {
    background-color: white;
    color: black;
    border-top: solid black 2px;
    border-bottom: solid black 2px;
    border-left: none;
    border-right: none;
    padding: 0px 10px 0px 10px;
    resize: none;
    height: 100%;
    outline: none;
    font-size: 20px;
}
#text-reader-input::-moz-selection { /* Code for Firefox */
    background: yellow;
    color: black;
}
#text-reader-input::selection {
    background: yellow;
    color: black;
}

#text-reader-settings-button {
    background-color: blue;
    color: white;
    font-weight: bold;
    border: solid black 2px;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    cursor: pointer;
    font-size: 20px;
}

#text-reader-settings {
    max-height: 0;
    min-width: 300px;
    position: absolute;
    top: 0;
    padding: 10px;
    background-color: white;
    border: solid black 2px;
    border-radius: 0.5rem;
    box-shadow: 0.2em 0.2em calc(0.2em * 2) rgba(0, 0, 0, 0.3);
    z-index: -1;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

#text-reader-settings-option {
    margin-top: 20px;
}

.text-reader-settings-label {
    display: inline-block;
    padding-bottom: 5px;
}

#text-reader-speed {
    -webkit-appearance: none;
    width: calc(100% - 8px);
    height: 5px;
    border: solid black 2px;
    border-radius: 0.5rem;
    background: blue;
}

#text-reader-speed::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: solid black 2px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
}

#text-reader-speed::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: solid black 2px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
}

#text-reader-voice {
    background-color: white;
    color: black;
    border: solid black 2px;
    border-radius: 0.5rem;
    width: 100%;
    padding: 10px;
    cursor: pointer;
}

#text-reader-move {
    background-color: black;
    opacity: 0.5;
    color: white;
    font-weight: bold;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    cursor: move;
    font-size: 20px;
    text-align: center;
    padding-top: 6px;
    height: 40px;
    margin-top: 5px;
}

.hidden-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
