html {
    font-size: 62.5%;
}

* {
    margin:0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 1.6rem;
    line-height: 1.5;
    min-height: 100vh;
    background-color: whitesmoke;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: monospace;
    

}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


#text-container {
    width: 800px;
    height: auto;
    margin: 20px auto;
    line-height: 2rem;
    white-space: nowrap;
    background: white;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    position: relative;
    cursor: none;
    overflow: hidden;
    font-size: 1.6rem;
    
}

main h3 {
    margin-top: 1.4rem;
}

#timer {
    margin: 10px;
    font-size: 1.2rem;
}

#final-score {
    margin-bottom: 1.2rem;
}

button {
    padding: 10px;
    width: 150px;
    background-color: rgb(43,43,43);
    color: white;
    border-radius: 8px;
    border:none;
    cursor: pointer;
    font-size: 1.2rem;
    display: none;
}

button:hover {
    filter: brightness(1.2)
}

span {
    min-width: 1.4rem;
}
.correct {
    color:green;
}

.error{
    color: red;
}