html {
    background-color: #bbbbbb;
    padding: 0px;
}

body {
    width: 80%;
    min-height: calc(100vh - 4em);
    margin: 0 auto;
    padding: 2em;
    background-color: #dddddd;
    border-color: #eeeeee;
    border-left-style: solid;
    border-right-style: solid;
    border-width: 20px;
}

#resultUrl {
    color: #0066cc;
    font-family: 'Roboto', sans-serif;
    font-size: 16pt;
    line-height: 1.5;
    margin: 20px auto;
    padding: 10px 10px;
    border: 1px solid #cccccc;
    background-color: #f0f8ff;
    width: fit-content;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    text-align: center;
    word-wrap: break-word;
    cursor: pointer;
    user-select: all;
}

p {
    color: #444444;
    font-family: 'Roboto', sans-serif;
    font-size: 16pt;
    line-height: 1;
    margin: 4pt;
}

a {
    color: #2222DD;
}

a:hover {
    color: #22DDDD;
}

p.value-description {
    text-indent: -16pt;
    margin-left: 20pt;
}

p.question {
    margin: 16pt auto;
    color: #333333;
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    width: 70%;
    min-width: 500pt;
    min-height: 144pt;
    background-color: #eeeeee;
    padding: 16pt;
    border-radius: 16pt;
    font-size: 36pt;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

}

h1 {
    color: #222222;
    font-family: 'Montserrat', sans-serif;
    font-size: 72pt;
    text-align: center;
    line-height: 72pt;
    margin-top: 0pt;
    margin-bottom: 0pt;
}

#svgHeader {
    display: none;
}

h2 {
    color: #333333;
    font-family: 'Montserrat', sans-serif;
    font-size: 36pt;
    line-height: 36pt;
    margin-top: 12pt;
    margin-bottom: 0pt;
}

li {
    font-size: 16pt;
    text-indent: 16pt;
}

a {
    font-family: inherit;
}

.selection {
    background-color: #4caf50;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: 8pt;
    color: white;
    padding: 8pt;
    width: 50%;
    min-width: 500pt;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 24pt;
    margin: -2px auto;
    cursor: pointer;
}

.num_input {
    background-color: #2196f3;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: 8pt;
    color: white;
    padding: 8pt;
    width: 50%;
    min-width: 500pt;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 24pt;
    margin: -2px auto;
    cursor: pointer;
}

.text_input {
    background-color: #2196f3;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: 8pt;
    color: white;
    padding: 8pt;
    width: 50%;
    min-width: 500pt;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 24pt;
    margin: -2px auto;
    cursor: pointer;
}

img.center {
    display: block;
    margin: 1em auto;
    width: 50%;
    min-width: 500pt;
}

.button {
    background-color: #2196f3;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: 8pt;
    color: white;
    padding: 8pt;
    width: 50%;
    min-width: 500pt;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 24pt;
    margin: -2px auto;
    cursor: pointer;
}

.green_button {
    background-color: #4caf50;
}

.small_button,
.small_button_off {
    background-color: #333;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: 8pt;
    color: white;
    padding: 8pt;
    width: 10%;
    min-width: 100pt;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 18pt;
    margin: -2px auto;
    cursor: pointer;
}

.small_button_off {
    background-color: #ddd;
    color: #888;
    border: 2px solid #888;
    cursor: not-allowed;
    margin: -4px auto;
}

.button:disabled {
    background-color: #ddd;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid #888;
    border-radius: 8pt;
    color: #888;
    padding: 8pt;
    width: 50%;
    min-width: 500pt;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 24pt;
    margin: -2px auto;
    cursor: not-allowed;
}

div.text-wrapper {
    font-family: 'Montserrat', sans-serif;
    font-size: 36pt;
    line-height: 36pt;
    color: #222222;
    display: inline-block;
}

span.weight-300 {
    font-weight: 300;
}

#banner {
    border-color: #444444;
    border-style: solid;
    border-width: 2px;
    border-radius: 8pt;
    display: block;
    margin: 8pt;
    margin-left: auto;
    margin-right: auto;
    max-width: 50%;
    min-width: 500pt;
}

@media screen and (orientation:portrait) {
    body {
        width: auto !important;
        border-width: 0px !important;
    }

    .title {
        display: none;
    }

    #svgHeader {
        display: block !important;
    }

    .svgHeader {
        color: #222222;
        font-family: 'Montserrat', sans-serif;
        text-align: center;
        margin-top: 0pt;
        margin-bottom: 0pt;
        font-weight: bold;
        text-anchor: middle;
    }

    #banner {
        min-width: 0px;
        max-width: 100%;
        border-width: 1px;
    }

    .button,
    .button:disabled,
    .text_input,
    .num_input,
    .selection {
        min-width: 0px;
        max-width: 100%;
        width: 100%;
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.5em;
        line-height: initial
    }

    p.question {
        min-height: 224px !important;
        min-width: 0px;
        max-width: 100%;
        width: auto;
        font-size: 1.75em;
    }
}