#answers {
    position: relative;
    border-radius: 8px;
    padding: 2rem 1rem;
    width: 70%;
    width: 1000px;
    margin: 1rem auto;
    user-select: none;
    background-color: lightgray;
    box-shadow: 0 2px 4px grey;
}


#timer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 0.5rem;
}

#time-limit {
    font-size: larger;
    text-align: center;
    width: 50%;
    border: 1px solid transparent;
    display: block;
    background: darkslategray;
    color: white;
    border-radius: 8px;
    padding-top: 0.4rem;
}

#seconds {
    color: lightgreen;
}

button {
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.2s;
    padding: 0.5rem;
    border-radius: 8px;
    width: 45%;
    background-color: darkgrey;
}

button:hover {
    border: 1px solid lightskyblue;
    color: black;
}

button:active {
    transition: 0;
    border: 1px solid skyblue;
    box-shadow: 0 2px 4px grey;
}

#cover-submit-modal {
    position: absolute;
    top: 45%;
    right: 25%;
    left: 25%;
    background-color: lightgrey;
    padding: 1rem;
    z-index: 4;
    border-radius: 8px;
    font-size: 16pt;
    display: none;
}

#submit-name-button {
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#name-entry {
    justify-content: center;
    display: flex;
}

#name-entry input {
    font-size: 16pt;
    margin-left: 1rem;
    width: 4ch;
    text-align: center;
    border: 1px solid transparent;
}

#circles {
    /* For now, viewport is hardcoded at 500x500px */
    width: 500px;
    height: 500px;

    font-family: Arial, Helvetica, sans-serif;

    margin: auto;
    position: relative;
}

#middle {
    display: flex;
}

.middle-answers {
    width: 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#right-answers {
    align-items: end;
}

#control {
    justify-content: center;
    text-align: center;
    margin: 1rem auto;
    border-radius: 8px;
    width: 25%;
    padding: 1rem;
    background-color: lightgray;
    font-size: 9pt;
    box-shadow: 0 2px 4px grey;
}

#cover {
    background-color: rgba(0, 0, 0, 0.75);
    position: absolute;
    font-size: 12pt;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    padding-top: 25%;
    border-radius: 8px;
}

#cover p {
    text-align: center;
    color: white;
}

h4 {
    /* text-align: right; */
    margin-top: 1rem;
    margin-right: 1rem;
}

svg {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0.0rem;
    height: fit-content;
    font-size: small;
}

th {
    color: white;
    background-color: grey;
}

#table-head-left {
    border-top-left-radius: 8px;
}

#table-head-right {
    border-top-right-radius: 8px;
}

th {
    text-align: left;
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
    padding-left: 0.5rem;
}

td {
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
    font-size: x-small;
}

.odd {
    background-color: white;
}

.even {
    background-color: ghostwhite;
}

/* #table-head-name {
    width: 50%;
}

#table-head-time {
    width: 25%;
}

#table-head-score {
    width: 25%;
} */


answer-box.dragging {
    box-shadow: 0 0 4px darkcyan;
}

answer-box {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11pt;
    font-weight: 100;
    display: block;
    border: 1px solid grey;
    width: 150px;
    border-radius: 4px;
    box-shadow: 0 0 2px grey;
    padding: 0.25rem;
    margin-bottom: 0.25rem;
    cursor: pointer;
    transition: 0.2s;
    z-index: 2;
    background-color: azure;
    text-align: center;
}

line.correct {
    stroke: green;
}

circle.correct {
    fill: green;
}

answer-box.correct {
    color: green;
    border: 1px solid green;
}

line.incorrect {
    stroke: red;
}

circle.incorrect {
    fill: red;
}

answer-box.incorrect {
    color: red;
    border: 1px solid red;
}

category-circle {
    border-radius: 50%;
    border: 1px solid darkgrey;
    display: block;
    position: absolute;
    text-align: center;
    cursor: pointer;
    z-index: 0;
    color: dimgray;
    transition: 0.2s;
}

category-circle:hover,
category-circle .hover {
    box-shadow: 0 0 8px grey;
    color: black;
}

category-circle[index="0"] {
    height: 100%;
    width: 100%;
    padding-top: 0.75rem;
    background-color: #EDC4BC;
}

category-circle[index="1"] {
    top: 7.5%;
    left: 7.5%;
    height: 85%;
    width: 85%;
    padding-top: 0.75rem;
    background-color: #E0E7B5;
}

category-circle[index="2"] {
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    padding-top: 0.75rem;
    background-color: #B7E5D5;
}

category-circle[index="3"] {
    top: 22.5%;
    left: 22.5%;
    width: 55%;
    height: 55%;
    padding-top: 0.8rem;
    background-color: #B4D5F9;
}

category-circle[index="4"] {
    top: 30%;
    left: 30%;
    width: 40%;
    height: 40%;
    padding-top: 1rem;
    background-color: #CFC5F6;
}

category-circle[index="5"] {
    top: 37.5%;
    left: 37.5%;
    width: 25%;
    height: 25%;
    padding-top: 3.25rem;
    background-color: white;
}

category-circle[index="5"]:hover {
    box-shadow: none;
    transition: 0;
    color: dimgray;
    cursor: default;
}

category-circle[index="0"]:hover {
    background-color: #e98875;
}

category-circle[index="1"]:hover {
    background-color: #d6e479;
}

category-circle[index="2"]:hover {
    background-color: #6be4ba;
}

category-circle[index="3"]:hover {
    background-color: #7bbafd;
}

category-circle[index="4"]:hover {
    background-color: #a893fa;
}

.mobile {
    display: none;
}

@media screen and (max-width: 1024px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
        border: 1px solid black;
        width: fit-content;
        padding: 2rem;
        margin: 2rem auto;
    }
}