body {
    font: "cambria" serif;
    font-size: 100px;
    text-align: center;
}

.number_container, .number-container {
    position: absolute;
    top: 37%;
    left: 0;
    right: 0;
    padding: 0 20px 0;
}

#number {
    resize: none;
    width: 100%;
    font: inherit;
    font-size: inherit;
    text-align: inherit;
}

#pname, #qname, #rname-cont {
    position: absolute;
    top: 57%;
    left: 30px;
    right: 30px;
}

.about {
    position: absolute;
    top: 15%;
    left: 0%;
    right: 0%;
    text-align: center;
    font-size: 40pt;
}

.options-container {
    position: absolute;
    top: 10px;
    left: 10px;
    text-align: left;
    font-size: 25pt;
}

.option {
    display: block;
    margin: 15px;
    background-color: #ddd;
    padding: 10px;
}

.sub-option {
    display: block;
    font-size: 15pt;
    margin: 3px;
    background-color: #bbb;
    padding: 7px;
    width: max-content;
}

.sub-option input {
    width: 3em;
}

/* https://stackoverflow.com/a/32876109 */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

 input[type="checkbox"] + span:before {
    content: "N";
    display: inline-block;
    width: 30pt;
    height: 30pt;
    margin-right: 0.5em;
    background-color: #ed392d;
    text-align: center;
    border-radius: 6pt;
    color: #fff;
}

input[type="checkbox"]:checked + span:before {
    content: "Y"; /*'\002714';*/
    background-color: #34ed7b;
}

/* https://stackoverflow.com/a/6810937 */
input[type="checkbox"]:focus + span:before {
    box-shadow: 0 0 0 3px #72120b;
}

input[type="checkbox"]:focus:checked + span:before {
    box-shadow: 0 0 0 3px #056b2c;
}

.sub-option > label > input[type="number"] {
    font-size: 15pt; /* same as .sub-option */
}

#pname.error, #qname.error, .error {
    color: red;
    font-size: 80px;
    top: calc(57% + 13px);
}

.error.small {
    color: red;
    font-size: 64px;
    top: calc(57% + 13px);
}

.hide {
    display: none;
}


