* {
    box-sizing: border-box;

    margin: 0;
    padding: 0;
}

html {
    font-family: "Luxurious Roman", sans-serif;

    height: 100%;
    width: 100%;
}

body {
    gap: 1rem;

    background-color: #D2B48C;
}

.center-box {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-direction: column;
}

.input-box {
    margin: 1rem 0;
}

.input-box.decimal {
    grid-area: decimal;
}

.input-box.numeral {
    grid-area: numeral;
}

.input-box input {
    width: 75%;
    height: 75%;
    padding: 2rem 3rem;

    font-family: inherit;

    font-size: 6rem;

    text-align: center;

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

.explanation {
    grid-area: explain;

    gap: 1rem;
    flex-direction: row;

    max-width: 100%;
    overflow-x: auto;
}

/* *::-webkit-scrollbar {
    width: 12px;
    height: 12px;
} */

.explanation .card {
    padding: 0.5rem;

    background-color: antiquewhite;
    border-radius: 1rem;
}

.explanation .card-numeral {
    height: 85%;
    max-width: 100%;

    font-size: 500%;

    overflow-x: auto;

    text-align: center;
}


.explanation .card-number {

    text-align: center;

    line-height: 50%;
    padding: 4px;

    outline: 1px solid black;
    border-radius: 5px;
}

.under-text {
    display: flex;
    flex-direction: row;
    align-items: center;

    margin-top: 0.5rem;
}

.under-text.settings {
    gap: 1rem;
}

.check-mark {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* justify-content: center; */

    text-align: center;

    gap: 0.3rem;

    user-select: none;

    padding: 0 0.4rem;
    outline: 1px solid black;
    border-radius: 0.1rem;
}

.check-mark:hover {
    background-color: blu;
}

.check-mark:hover input {
    border-color: blue;
}

.check-mark select {
    background-color: #ffffffc5
}

.check-mark:has(input[type=checkbox]:checked) {
    background-color: rgba(134, 134, 253, 0.1);
}


option[selected]:not([value="standard"]) {
    background-color: #07f;
}

.check-mark input {
    border-color: #07f;
}

.check-mark label {
    width: max-content;
    white-space: nowrap;
}

.under-text:last-child {
    margin-bottom: 0.5rem;
}

@media only screen and (max-width: 600px) {
    .under-text {
        flex-direction: column;
        width: max-content;
    }

    .under-text.settings {
        margin-bottom: 1rem;
    }

    .input-box input {
        margin: 0rem;
        padding: 0.5rem;
        width: 90%;
    }
}