body {
    background-color: #222322;
    color: #CCCCCC;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    inset-inline: auto;
    display: flex;
    justify-content: center;
}

h1 {
    font-variant: small-caps;
}

h2 {
    padding-left: 5%;
    margin-top: 0%;
}

button, input {
    color: #EEEEEE;
    background-color: #555655;
    padding: 5px;
    inset-inline: 0px;
    border: 1px double black;
}

input {
    background-color: #171817;
}

#input-div {
    display: block;
    height: 30px;
    align-items: end;
}

#result {
    visibility: hidden;
}

a, a:visited {
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    color: #eeeeee;
    opacity: 50%;
}

a:hover {
    opacity: 100%;
    transition: opacity 0.2s ease-in-out;
}

#wrapper {
    width: 60%;
}

#flex-container {
    display: flex;
    width: 100%;
}

#tool-container {
    margin-left: 5%;
    min-width: 400px;
}

#tool-container p {
    padding-left: 5%;
}

#tool-container p span {
    font-size: 1.5em;
    font-weight: bold;
}

#tool-container button {
    margin-top: 5%;
}

#tool-container button:hover {
    background-color: #777877;
    transition: background-color 0.2s ease-in-out;
}

input#startlevel-input {
    display: flex;
    height: 60%;
    width: 50px;
    text-align: center;
}

th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: #333433;
}

fieldset {
    width: 50%;
    border: #333433 dotted 2px;
}

fieldset#calculation-input {
    width: 100%;
    border: #333433 dotted 2px;
}

fieldset#calculation-input input {
    width: 55%;
}

fieldset#enable-disable-checkboxes {
    visibility: hidden;
}

input[type="checkbox"] {
    background-color: #171817;
    margin: 0;
    transform: translateY(0.15em);
    margin-left: 25%;
}

input[type="checkbox"]:first-of-type {
    margin-left: 10%;
}

div#starting-point-for-level input {
    width: 25%;
}

table {
    background-color: #343534;
    min-width: 400px;
    width: 100%;
}

td {
    text-align: center;
    padding: 0.5em 1em;
    margin: 0;
    border-left: #282928 dotted 2px;
}

td:first-of-type {
    font-weight: bold;
    font-size: 1.1em;
    background-color: rgba(255,255,255,0.05);
}

tr:nth-of-type(even) {
    background-color: rgba(0,0,0,0.3);
}

footer {
    position: fixed;
    bottom: 0px;
    right: 50px;
}