body {
    margin: 0
}

#root,
.app,
body,
html {
    height: 100%;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    background: wheat;
}

.app {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 1em;
    justify-content: center;
    gap: 1em;
}

.app-header,
.control,
.left {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
    align-items: stretch;
}

.left {
    align-items: center;
    gap: 0.5em;
    font-size: 1.5em;
    width: 100%;
}

.correct-label {
    color: green
}

.label-box {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.label-box-label {
    color: #777;
    font-size: small;
    font-weight: 700
}

.btn-svg {
    fill: #fff;
    width: 14px;
    display: block;
}

.game-svg {
    fill: transparent;
    cursor: pointer;
    flex-shrink: 1;
    height: 100%;
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    display: block;
}

#game-text,
#outline {
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none
}

#outline {
    stroke: #222;
    stroke-width: .3
}

#nine-line {
    stroke: #111;
    stroke-width: .6
}

#zoom line,
#zoom rect {
    stroke: blue;
    stroke-width: 1;
    stroke-dasharray: 3
}

#game-text {
    font-family: sans-serif;
    font-size: 20px;
    opacity: .7
}

#game-text .rect-correct {
    fill: green
}

#game-text .rect-incorrect {
    fill: #ab2229
}

#game-text text {
    fill: #fff
}

#game-text line {
    stroke: #000;
    stroke-width: 1.1
}

.shown-0 {
    fill: #8dd3c7
}

.shown-1 {
    fill: #ffffb3
}

.shown-2 {
    fill: #bebada
}

.shown-3 {
    fill: #fb8072
}

.shown-4 {
    fill: #80b1d3
}

.shown-5 {
    fill: #fdb462
}

.shown-6 {
    fill: #b3de69
}

.shown-0,
.shown-1,
.shown-2,
.shown-3,
.shown-4,
.shown-5,
.shown-6 {
    fill-opacity: 1;
    stroke: #111;
    stroke-width: .5
}

button {
    background-color: green;
    border: none;
    border-radius: 8px;
    padding: 0.5em;
    color: wheat;
    cursor: pointer;
}

.left button{
    width: auto;
}

button:hover {
    filter: brightness(1.2)
}