.page {
    visibility: hidden;
    position: absolute;
    margin-top: .5em;
    padding-top: .5em;

    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}

.page.active {
    visibility: visible;
    position: relative;
}

.solution {
    border-radius: 1em;
    height: 8em;
    width: 12em;
    color: black;
    padding-top: .2em;
    justify-content: center;
    align-items: center;
}

.header {
    display: inline-flex;
    gap: 1em;
    height: 1.5em;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.underline {
    width: 19em;
    margin: 0;
    height: 2px;
    background: hsl(209, 7%, 78%);
}

.underline.game {
    margin-left: 2em;
    width: 15em;
    background: skyblue;
}

.countdown-horizontal-icon {
    height: 1.50em;
    padding-left: 1em;
}

.delete-icon {
    color: white;
    height: 1.35em;
}

.icon {
    height: 1.25em;
    user-select: none;
    cursor: pointer;
}
.icon.back {
    height: 2em;
}

.icon.hidden {
    visibility: hidden;
    user-select: none;
}

.button {
    height: 2.5em;
    background: black;
    border: none;
    border-radius: 2em;
    font-size: 0.8em;
    justify-content: center;
    color: white;
    cursor: pointer;
}

.button.play {
    width: 9em;
    margin-top: 1.60em;
}

.button.welcome {
    width: 9em;
}

.button.share {
    width: 9em;
}

.button.share.inactive {
    background-color: grey;
}

.button.clear {
    width: 6em;
    color: black;
    background: white;
    border: solid black .1em;
}

.button.hint {
    width: 6em;
    color: black;
    background: white;
    border: solid black .1em;
}

button.hint.changed {
    background-color: black;
    color: white;
    cursor: none;
    pointer-events: none;
}

.button.play-again {
    background-color: var(--change-color);
    color: white;
    width: 9em;
}

.button.play-again.hidden {
    visibility: hidden;
    pointer-events: none;
}

.timer {
    margin-top: 1em;
    display: flex;
    align-items: center;
    font-weight: bold;
    border-radius: .25em;
    border: solid black;
    width: 5em;
    padding: 0.2em;
}

.card {
    border: .1em solid black;
    border-radius: .2em;
    padding: .4em;
    margin: .2em;
    width: 2em;
    height: 2em;
}

.card-button {
    color: black;
    background: white;
    border: .1em solid black;
    border-radius: .1em;
    padding-bottom: .35em;
    margin: .05em;
    width: 1.8em;
    height: 2.25em;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: end;
    text-align: center;
}

.card-button.hidden {
    cursor: none;
    pointer-events: none;
    display: none;
}

.card-button.non-interactive {
    cursor: none;
    pointer-events: none;
}

.guess {
    border: .1em solid var(--guess-color);
    background: var(--guess-color);
}

.changed {
    border: none;
    background-color: var(--change-color);
}

.target-box {
    background-color: var(--color);
    width: 4em;
    height: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.statistic {
    display: inline;
    border-color: black;
    width: auto;
    height: auto;
    grid-column: span 1;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.statistic.large {
    grid-column: span 3;
}

.statistic-data {
    font-size: 1.25em;
    margin-bottom: -.5em;
}

.statistic-label {
    font-size: .65em;
}

.stats-grid-small {
    display: grid;
    justify-content: center;
    align-content: center;
    grid-template-columns: repeat(4, 3em);
    grid-template-rows: repeat(1, 3em);
    gap: .5em;
    margin-top: -.5em;
}

.stats-grid-large {
    display: grid;
    justify-content: center;
    align-content: center;
    grid-template-columns: repeat(5, 3em);
    grid-template-rows: repeat(1, 3em);
    gap: .5em;
    margin-top: -.5em;
}

.margin-right {
    margin-right: 0.25em;
}