body {
    font-size: 0.975em;
}

table td, table th {
    padding: 0.5em; 
}

p {
    text-align: justify;
}

.messagerowselected, .messagerowselected strong, .messagerowselected td {
    background-color: black;
    color: white;
    font-size: normal;
}

.messagerow:hover, .messagerow td:hover, .messagerow td a:hover, .messagerow span:hover, .messagerow span strong:hover {
    background-color: dodgerblue;
    color: white;
    cursor: default;
    font-weight: bold;
}

.messagerow td a:hover {
    cursor: pointer;
}

section .main {
    margin-top: -1.5em;
    margin-bottom: -1em;
}

a, a:link, a:visited {
    border-bottom-width: 2px;
    border-bottom-style: solid;
    color: black;
}

.allButtons {
    display: inline;
    margin: 0em 0.5em;
}

@media screen and (max-width: 585px) {
    .allButtons {
        display: block;
        margin: 1em 0em;
    }
}

@media screen and (max-width: 585px) {
    body {
        font-size: 0.75em;
    }
}

input[type="number"] {
    padding-left: 0.4em;
}

input[type="number"], input[type="text"], input[type="password"], select, option, label, textarea {
    font-size: 0.975em;
}

input[type="number"], input[type="text"], input[type="password"], input[type="email"] {
    border: 2px solid black;
}

#show {
    background-color: #010195;
    color: #fff !important;
}

#show:hover {
    background-color: #fff !important;
    color: #010195 !important;
}

/* https://stackoverflow.com/questions/52936926/css-to-turn-image-into-black-and-white-with-no-grays */
.grayscale {
    filter: grayscale(1) contrast(1) brightness(1);
    /* mix-blend-mode: multiply; */
}

/*
    Game
*/

.question {
    font-size: 2.75em;
    text-align: center;
}

input.answer {
    font-size: 4em;
    border: 2px solid black;
    border-radius: .125em;
    text-align: center;
    height: 1.75em;
    width: 100%;
}

.percentage {
    height: 0.16em; 
    background-color: white;
}

.part {
    height: 4em;
    border-top: 1px solid black;
    border-left: 1px solid black;
}

#part_1 {
    border-bottom: 1px solid black;
}

#countdown {
    font-size: 10em;
    text-align: center;
}

#success, #failure {
    font-size: 6em;
    text-align: center;
}

#finished {
    font-size: 3.5em;
    text-align: center;
}

#start {
    font-size: 1em;
    text-align: center;
}

.tablerow:hover, .tablerow td:hover, .tablerow td a:hover, .tablerow span:hover, .tablerow span strong:hover {
    background-color: dodgerblue;
    color: white;
    font-weight: bold;
}

th {
    background-color: black;
    color: white !important;
    font-weight: bold;
}