html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
}

.content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;    
    min-width: 120px; 
    max-width: 100%;
    max-height: 100%;
}

.svg-container {
    width: 45%;
}

.form-container {
    width: 50%; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: flex-start; 
}

.form-container input,
.form-container select,
.form-container button {
    margin: 5px 0; 
    width: 100%;
    height: 30px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 3px solid black
}

.form-container select:invalid {
    color: grey;
}

.form-checkbox {
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    font-size: small;
    text-wrap: nowrap; 
}

.form-checkbox input {
    width: 10%;
    accent-color: grey;
    height: 20px;
    margin-right: 4px;
    margin-left: 0;
    padding-left: 0;
}


.svg {
    width: 100%;
    height: 100%;
    display: block; 
}

.link-container {
    text-align: center;
    width: 100%;
    position: fixed; 
    bottom: 0; 
    background-color: inherit;
    padding: 20px 0;
}

a {
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    font-family: Arial, Helvetica, sans-serif;
}

@media (prefers-color-scheme: light) {
    body {
        background-color: white;
        color: black;
    }
    a {
        color: black;
    }
    img {
        filter: none;
    }
    .form-container input,
    .form-container select,
    .form-container button {
        background-color: white;
    }
    .form-container button:disabled,
    .form-container button[disabled] {
        color: lightgray;
    }
    .form-container select:invalid {
        color: grey;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #303030;
        color: white;
    }
    a {
        color: white;
    }
    img {
        filter: invert(1);
    }
    .form-container input,
    .form-container select,
    .form-container {
        background-color: #303030;
        color: white;
    }
    .form-container button {
        background-color: #303030;
        color: white;
    }
    .form-container button:disabled,
    .form-container button[disabled] {
        color: black
    }
    .form-container select:invalid {
        color: gray;
    }
    .form-container input::placeholder {
        color: lightgray;
    }
}

@media screen and (max-width: 500px) {
    .content-container {
        flex-direction: column;
        margin-bottom: 3px;
        width: 100%;
    }
}

@media screen and (min-width: 501px) {
    .content-container {
        flex-direction: row;
        width: 65vw; 
        height: 70vh;
    }
    .svg-container {
        height: 100%;
    }
}