body {
    background-color: #fdf8ee;
}

.dz_page {
    max-width: 800px;
    min-height: calc(100vh - 8rem);
    margin: auto;
    display: flex;
    flex-direction: column;
}

.dz_footer {
    max-width: 800px;
    margin: auto;
}

.dz_msg {
    display: flex;
    justify-content: space-between;
    border-color: green;
    border-width: 2px;
    margin: 2px;
    border-radius: 0.4rem;
    border-style: solid;
    background-color: #dcf8d0;
}

.dz_msg_text {
    margin: 0.5rem;
}
.dz_number {
    font-family: monospace;
    font-size: clamp(1vmin, 0.8rem, 2vmax);
    padding: 0.1rem;
}

.dz_header {
    padding: 0.5rem;
    font-size: 1.5rem;
    color: #1a1a1a;
    text-align: center;
}

.dz_input_container {
    display: flex;
    align-items: center;
    padding: 0.5rem;
}

.dz_hidden {
    display: none;
}

.dz_input {
    height: 2.0rem;
    background-color: #fdf8ee;
    font-size: 1.25rem;
    font-family: 'Roboto Serif';
    font-weight: 500;
    color: #1a1a1a;
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 2px solid #1a1a1a;
    margin-right: 0.5rem;
    width: 80%;
}
.dz_input:focus-visible {
    outline: none;
    border-bottom: 3px solid #1a1a1a;
}

.dz_margin {
    margin: 0.25rem;
}

.dz_half_width {
    width: 50%;
}

.dz_text {
    text-indent: 1.5rem;
    margin: 0;
}

.dz_info_image {
    max-width: 300px;
    width: 50%;
}

.dz_button {
    width: 10rem;
    height: 2.5rem;
    color: #1a1a1a;
    background-color: white;
    border: 2px solid #1a1a1a;
    border-radius: 0.5rem;
    font-size: 1.25rem;
}
.dz_button:hover {
    border: 3px solid black;
}
.dz_button:active {
    font-size: 1.2rem;
}
.dz_button:disabled {
    color: gray;
    border: 2px solid gray;
}

.dz_minibutton {
    width: 2rem;
    height: 1.5rem;
    color: #1a1a1a;
    background-color: white;
    border: 1px solid #1a1a1a;
    border-radius: 0.25rem;
}
.dz_minibutton:hover {
    border: 2px solid black;
}
.dz_minibutton:active {
    font-size: 1.2rem;
}
.dz_minibutton:disabled {
    color: gray;
    border: 1px solid gray;
}

.dz_output {
    min-height: 5rem;
    flex: 1 1 auto;
}
.dz_centered_panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.dz_panel_item1 {
    display: flex;
    justify-content: center;
    align-items: center;    
    margin-left: 6%;
    margin-right: 6%;
    height: 2.1rem;
    width: 2.1rem;
}

.dz_icon1 {
    max-width: 60px;
    width: 2.0rem;
    cursor: default;
}
.dz_icon1:hover {
    width: 2.1rem;
}

.dz_panel_item2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 6%;
    margin-right: 6%;
    height: 2.6rem;
    width: 2.6rem;
}

.dz_icon2 {
    max-width: 60px;
    width: 2.5rem;
}
.dz_icon2:hover {
    width: 2.6rem;
}

.dz_coin_icon {
    width: 2.5rem;
    margin: 0.25rem;
}

.dz_about {
    font-size: 0.8rem;
    text-align: center;
    color: dimgray;
}

.dz_info_item {
    display: inline-block;
    vertical-align: top;
    padding: 0.5rem;
}

.dz_close_button {
    width: 1.7rem;
    height: 1.6rem;
    font-size: 1.2rem;
    border: 0;
    border-radius: 1rem;
    background-color: white;
    margin-top: 0.05rem;
    margin-right: 0.05rem;
}

.dz_close_button:hover {
    width: 1.8rem;
    height: 1.7rem;
    font-size: 1.3rem;
    margin-top: 0;
    margin-right: 0;
}

.err_msg {
    text-align: center;
    color: maroon;
}

.inactive_img {
    opacity: 0.25;
}

.active_img {
    opacity: 1.0;
}

textarea {
    font-size: 1rem;
    resize: none;
}

.r_block {
    margin: 1rem;
    font-style: normal;
    font-family: 'Roboto Serif';
    font-size: 1rem;
    line-height: 1.3;
}
.r_verb_pair {
    margin-left: 1.5rem;
}
.r_num_block {
    padding-top: 0.75rem;
}
.r_exam_cont {
    margin-left: 1.5rem;
}
.r_idm_block {
    padding-top: 0.75rem;
}
.r_idm_cont {
    margin-left: 0;
}
.r_idmsym {
    font-size: 1.25rem;
}
.r_badsym {
    color: red;
}
.r_link {
    font-weight: 600;
    text-decoration: underline;
}
.r_key {
    font-weight: 700;
    font-family: 'Roboto Serif';
}
.r_ref {
    font-weight: 700;
    font-family: serif;
}
.r_attr {
    line-height: 0.9;
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    font-family: 'Cormorant';
}
.r_gen {
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    font-family: 'Cormorant';
}
.r_type {
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    font-family: 'Cormorant';
}
.r_exam {
    font-weight: 600;
    font-family: 'Roboto Serif';
}
.r_note {
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    font-family: 'Cormorant';
}
.r_mean {
    font-style: normal;
    font-family: 'Roboto Serif';
}
.r_form_expl {
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    font-family: 'Cormorant';
}

.r_form_btn {
    width: 1.8rem;
    height: 1.2rem;
    letter-spacing: 0.1em;
    line-height: 1.0;
    background-color: white;
    border: 1px solid;
    border-radius: 4px;
    font-weight: 700;
}
.r_form_btn:hover {
    border: 2px solid;
}
.r_form_btn:active {
    border: 2px solid;
}
.r_clicked_btn {
    background-color: #f8f200;
}
.r_form {
    display: none;
    flex-wrap: wrap;
}
.r_form_tbl {
    margin: 1rem;
    border: 1px solid;
    border-collapse: collapse;
}
.r_form_tbl td {
    border: 1px solid;
    padding: 0.25rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: left;
}
.r_form_tbl th {
    padding: 0.5rem;
    text-align: center;
    background-color: #cdc5c1;
}

.block_delim {
    max-width: 4rem;
    margin: auto;
    color: dimgray;
}
