body {
    margin: 0;
    -webkit-touch-callout: none; 
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none; 
    -ms-user-select: none;
    user-select: none; 
}

main {
    max-width: 100%;
    display: grid;
    text-align: center;
}

.instructions {
    background-color: lightgray;
    margin: 20px 0;
    padding: 5px 0 2px 0;
    font-weight: 600;
}

#textChoice, button {
    width: 30%;
    margin: 0.5rem auto;
}

#testingArea {
    text-align: left;
}

#challengeText {
    text-align: left;
    width: 99%;
    margin: .5em auto;
    font: 1.1em/1.2 "Times New Roman", serif;
}

.typing-wrapper {
    margin-top: 1em;
    border: .5rem solid #808080;
    border-radius: .5rem;
}

textArea {
    width: 99%;
}

#results {
    margin-top: 1em;
    font-size: 1.25em;
}

.timer {
    font-size: 3rem;
    font-weight: bold;
}

#reset:hover {
    color: white;
    letter-spacing: .075rem;
    background-color: #E95D0F;
}

@media (min-width: 500px) {
    main {
        width: 80%;
        margin: auto;
    }
}

@media (min-width: 700px) {
    main {
        width: 70%;
        margin: auto;
    }
}

@media (min-width: 900px) {
    main {
        width: 60%;
        margin: auto;
    }
}

@media (min-width: 1200px) {
    main {
        width: 50%;
        margin: auto;
    }
}

header {
    background-color: blue;
    color: white;
}

mark {
    padding: 1px 10px;
}
.good {
    background: #65CCf3;    
}

.mistake {
    background: #ff0000;
}

@media print {
    body * {
        visibility: hidden;
    }
    main, #firstname, #lastname, #latestScores, #latestScores * {
        visibility: visible;
    }

    main {
        text-align: left;
    }

    #firstname, #lastname {
        position: absolute;
        top: 1em;
    }

    #firstname {
        left: 0;
    }

    #lastname {
        left: 20em;
    }

    #latestScores {
        position: absolute;
        top: 2em;
        left: 0;
        width: 100%;
    }

    #latestScores ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

    #latestScores ul li {
        text-align: left;
    }
}
