body {
    background-color: black;
    color: white;
    font-size: 100%;
    font-family: sans-serif;
    overflow: hidden;
}

button {
    display: block;
    width: 100%;
    background: blue;
    font-size: 14pt;
    color: white;
    border: none;
}

#error {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40rem;
    margin-left: -20rem;
    margin-top: -1.5rem;
    background-color: red;
    font-size: 1.5rem;
    text-align: center;
    z-index: 100;
    padding: 0.8rem;
    border-radius: 1rem;

    display: none;
}

#status {
    height: 1.2rem;
    font-size: 0.7rem;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: -1.2rem;
    width: 100%;
    z-index: 50;
    text-align: right;
}

#status p {
    padding: 0;
    padding-right: 0.8rem;
    margin: 0;
    display: inline;
}

#board {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#board .category {
    margin: 0.25rem;
}

#board .panel, #board .header {
    background-color: #0d0b70;
    width: 15rem;
    height: 4rem;
    margin-bottom: 0.5rem;
    text-align: center;
    border-radius: 0.25rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

#board .header {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    height: 8rem;
}

#board .panel {
    font-size: 2rem;
}

#board .solved {
    background-color: #000010;
    color: #202020;
}

#board .narrow {
    width: 10rem;
    height: 5rem;
}

#host {
    width: 30rem;
    background-color: red;
    padding: 0.5rem;
    margin-left: 1rem;
}

#contestants {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.contestant {
    width: 18rem;
    height: 8rem;
    background-color: #1d1b90;
    border-radius: 0.5rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contestant h1 {
    margin: 0;
    padding: 0;
}

.contestant h2 {
    margin: 0;
    padding: 0;
}

.contestant h3 {
    font-size: 1rem;
    margin: 0;
    padding: 0;
}

.buzz {
    display: block;
    border: 4px solid red;
}

#question {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80rem;
    height: 40rem;
    margin-left: -40rem;
    margin-top: -20rem;
    background-color: #1d1b90;
    border: 4px solid black;
    font-size: 1.5rem;
    text-align: center;
    z-index: 90;
    border-radius: 1rem;
    display: none;

    flex-direction: column;
    justify-content: space-between;
}

#question .header {
    font-size: 3rem;
    margin-top: 1rem;
}

#question .inner {
    white-space: pre;
    text-align: center;
    width: 50vw;
    margin-left: auto;
    margin-right: auto;
    background-color: #000080;
    padding: 1em;
}

#question .inner img {
    max-width: 70rem;
}

.buzz {
    background-color: #901d1b;
    height: 5rem;
}

.choice {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.ack {
    background-color: green;
    width: 10rem;
    height: 2em;
}

.nack {
    background-color: red;
    width: 10rem;
    height: 2em;
}


.div {
    display: block;
}
