body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #62B1D0;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#text-to-type {

    display: inline-block;
    padding: 10px;
    text-align: center;
    font-size: 24px;
    white-space: pre-wrap;
    position: relative;
}

#test-screen {
    display: inline;
    flex-direction: column; 
    align-items: center; 
    gap: 20px; 
} 

#text-input {

    opacity: 0;
    position: absolute;
    left: -9999px;
}

.stats {
    display: flex;
    justify-content: center;
    align-items: center;

    color: #FFA340;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    width: fit-content;
    margin: 1px auto;
  }

.caret {
    position: absolute;
    width: 2px;
    height: 24px;
    background-color: red;
    transition: left 0.05s, top 0.05s;
}

.center {
    display: flex;
    justify-content: center;
  }

.correct {
    color: green;
}

.incorrect {
    color: red;
}

.incorrectbg{
    background-color: red;
}

.cooltext {
    font-size: 50px;
    color: #A65600;
}

.result {
    font-size: 24px;
    color: blue;
    width: 600px;
    justify-content: center;
}

.options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.bluetext {
    font-size: 24px;
    color:#FFBC73;
    vertical-align: center;
    margin : 0;
}

.word-count-option, .duration-option {
    padding: 10px 15px;
    background-color: #ddd;
    cursor: pointer;
    border-radius: 5px;
}

.word-count-option.selected, .duration-option.selected {
    background-color: #007bff;
    color: white;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #226078;
    color: white;
    border: none;
    margin-top: 10px;
    border-radius: 10px;
}

button:hover {
    background-color: #024C68;
}
