html, body, div {
    margin: 0;
    padding: 0;
}

.wrapper {
    font-family: 'Roboto Mono', monospace;
    font-size: 300%;
    background-color: dodgerblue;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.problem {
    display: flex;
    flex-direction: row;
    padding: 0.5em;
    justify-content: center;
}

.contentWrapper {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.left {
    margin-top: 1.1em;
}

.divisor {
    border-top: 3px solid rgba(0, 0, 0, 0);
    display: inline-block;
    font-size: 1em;
}

.dividend {
    border-top: 3px solid black;
    border-left: 3px solid black;
    display: inline-block;
    font-size: 1em;
}

.right {
    display: flex;
    flex-direction: column;
}

.quotient {
    border-left: 3px solid rgba(0, 0, 0, 0);
    height: 1.1em;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.work {
    border-left: 3px solid rgba(0, 0, 0, 0);
    position: relative;
}

.content {
    display: inline-block;
    background-color: white;
    flex: 0 0;
    min-width: 10ch;
}

.cover {
    background-color: gray;
}

.blurred {
    color: gray;
    background-color: gray;
    user-select: none;
}

.quotientDigitEl {
    display: inline-block;
    width: 1ch;
    height: 1em;
    line-height: 1em;
}

.selected {
    background-color: rgba(255, 215, 0, 0.6);
    /* animation: blinker 2s infinite; */
}

.nextBtnWrapper {
    text-align: center;
}

.product {
    height: 1em;
    line-height: 1em;
    border-bottom: 2px solid rgb(0, 0, 0);
    position: absolute;
    text-align: right;
    box-sizing: border-box;
}

.chart {
    background-color: white;
    font-size: 1em;
    margin: 1em;
}

.chart div {
    padding: 0.25em;
}

.chart div {
    font-size: 0.5em;
    outline: 1px solid lightgray;
}

.remainder {
    height: 1em;
    position: absolute;
    text-align: right;
}

.alert {
    font-size: 0.4em;
    background-color: lightgray;
    color: black;
    padding: 0.1em;
    text-align: center;
    font-weight: bold;
    /* visibility: hidden; */
}

.alert.warning {
    background-color: lightgoldenrodyellow;
    color: darkgoldenrod;
}

.alert.wrong {
    background-color: pink;
    color: red;
}

.niceWrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms;
}

.nice {
    font-size: 6em;
    color: greenyellow;
    background-color: green;
    text-align: center;
    transform: rotate(-45deg);
}

.footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 0.4em;
    background-color: rgb(133, 228, 133);
    color: forestgreen;
    padding: 0.1em;
}

.score {
    font-weight: bold;
}

.health {
    user-select: none;
}
  
  @keyframes blinker {
    50% {
        opacity: 0.6;
    }
  }