:root {
    --bg-color: white;
    --page-bg-color: white;
    --header-bg-color: #00abe8;
    --main-bg-color: white;
    --footer-bg-color: #00abe8;

    --default-anchor-color: #007bff;

    --min-width: 480px;
}

* {
    box-sizing: border-box;
    margin: 0;
    border: 0;
    padding: 0;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif, "Aptos";
    font-size: 12pt;
    color: black;
}

body {
    background-color: var(--bg-color);
}

div#page.page {
    background-color: var(--page-bg-color);
    width: 100%;
    height: 100vhs;
    min-width: var(--min-width);
}

header {
    background-color: var(--header-bg-color);
    padding: 10px;
    text-align: center;
}

header div#headlineContainer h1 {
    font-size: 32pt;
    font-weight: bolder;
    text-decoration: underline;
}

main {
    background-color: var(--main-bg-color);
}

main article#vererbungsQuadrat {
    padding: 10px;
    width: fit-content;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main article#vererbungsQuadrat form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

main article#vererbungsQuadrat form label {
    margin: 5px;
    font-size: 14pt;
}

main article#vererbungsQuadrat form input {
    padding: 5px;
    border-radius: 5px;
    border-color: black;
    border-style: solid;
    border-width: 2px;
}

main article#vererbungsQuadrat form button {
    padding: 10px;
    border-radius: 10px;
    border-color: black;
    border-style: solid;
    border-width: 2px;
    background-color: var(--header-bg-color);
    color: white;
    font-size: 14pt;
    text-decoration: underline;
    margin-top: 10px;
    cursor: pointer;
}

main article#vererbungsQuadrat form button:hover {
    background-color: white;
    color: var(--header-bg-color);
}

main article#vererbungsQuadrat form button:active {
    background-color: orange;
    color: white;
}

main article#vererbungsQuadrat div#resultContainer {
    margin-top: 20px;
    max-width: 95vw;
    max-height: calc(100vh - 300px);
    overflow: auto;
}

main article#vererbungsQuadrat div#resultContainer table {
    padding: 10px;
    border-radius: 10px;
    border-color: black;
    border-style: solid;
    border-width: 3px;
}

main article#vererbungsQuadrat div#resultContainer table tr th,
main article#vererbungsQuadrat div#resultContainer table tr td {
    border-color: black;
    border-style: solid;
    border-width: 2px;
    padding: 5px;
    margin: 0px;

    white-space: nowrap;
}

main article#vererbungsQuadrat div#resultContainer table tr th:first-child,
main article#vererbungsQuadrat div#resultContainer table tr td:first-child {
    border-left: none;
}

main article#vererbungsQuadrat div#resultContainer table tr th:last-child,
main article#vererbungsQuadrat div#resultContainer table tr td:last-child {
    border-right: none;
}

main article#vererbungsQuadrat div#resultContainer table tr:first-child th,
main article#vererbungsQuadrat div#resultContainer table tr:first-child td {
    border-top: none;
}

main article#vererbungsQuadrat div#resultContainer table tr:last-child th,
main article#vererbungsQuadrat div#resultContainer table tr:last-child td {
    border-bottom: none;
}

footer {
    background-color: var(--footer-bg-color);
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: right;
    padding: 10px;
}

footer div#footerContainer p {
    color: black;
    margin-right: 20px;
}

footer div#footerContainer p a {
    color: white;
}


a{
    color: var(--default-anchor-color);
}