body {
    font-family: sans-serif;
    font-size: 16px;
    text-align: center;
    margin: 0;
    padding: 0 20px 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.menu {
    width: 100%;
    padding: 50px;
}

ul {
    display: flex;
    justify-content: center;
    border-width: 0 0 1px 0;
    border-style: solid;
    padding-bottom: 5px;
}

.submenu ul {
    margin-left: 25px;
    border-style: none;
}

li {
    font-weight: bold;
    list-style-type: none;
    margin-left: -32px;
    margin-right: 32px;
    padding: 8px;
}

.submenu li {
    border: solid 1px;
    cursor: pointer;
}

.submenu li a {
    display: block;
    padding: 20px 32px;
    text-decoration: none;
    color: inherit;
}

.submenu li:hover {
    opacity: 0.5;
    color: white;
    background-color: teal;
}

.submenu li.active {
    color: white;
    background-color: teal;
}

.submenu li.active a {
    pointer-events: none;
}

li a {
    text-decoration: none;
    color: inherit;
}

.menu li a:hover {
    opacity: 0.5;
    color: teal;
}

.menu li.active a {
    opacity: 0.7;
    color: teal;
    pointer-events: none;
}

.columns {
    display: flex;
}

.column {
    display: none;
    padding: 50px;
    border: solid 1px lightblue;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 200px;
    color: darkgray;
}

.set_checker input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-weight: bold;
}

.set_checker .result {
    font-weight: bold;
    font-size: 1.5em;
    margin: 20px 0;
}

.set_checker .set_checker-result {
    padding: 20px 20px;
    min-height: 50px;
    color: darkgray;
}

.result {
    font-weight: bold;
}

.result .sep {
    opacity: 0.5;
    color: black !important;
    font-size: 0.75em;
    font-weight: normal !important;
}

.result span:not(.sep) {
    font-size: 1.5em;
}

.grids_generator td {
    width: 15px;
    height: 15px;
}

.grids_generator td:not(.empty) {
    border: 1px solid;
    width: 25px;
    height: 25px;
}

footer {
    font-size: 0.5em;
    margin: 50px 0;
}

footer a {
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

/** Trials page */

.trials {
    font-size: 12px;
}

.trials table td {
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.5);
}

.trials table td:first-child {
    font-weight: bold;
}

.trials .nowrap {
    white-space: nowrap;
}