html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    overflow-x: hidden;
    font-family: Dosis, Arial, sans-serif;
    font-size: 20pt;
    font-weight: 400;
    text-align: center;
    background-color: #0e2038;
    background-image: url("images/page-background.png");
    background-size: 100%;
    color: #BBB;
}

.hero {
    width: 100%;
    overflow: hidden;
    min-height: 200px;
    position: relative;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.container {
    margin: 0 auto;
    max-width: 1600px;
}

h1 {
    color: #DDD;
    font-size: 40pt;
    text-align: left;
}

h1.hero-h1 {
    text-align: center;
    font-weight: 700;
}

p {
    text-align: left;
    line-height: 1.45;
}

.bkg-screenshot-left, .bkg-screenshot-right {
    max-width: 500px;
    width: 30%;
}

.two-column-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.two-column-section .column {
    flex: 1;
}

.two-column-section .column ul {
    white-space: nowrap;
    display: block;
    width: fit-content;
    margin-top: 0;
    margin-right: 14pt;
}

.two-column-section .column li {
    white-space: normal;
    text-align: left;
}

.two-column-section .column img {
    max-width: 640px;
    width: 100%;
    height: auto;
}

.two-column-section .left-column {
    flex: 0 0 auto; /* Allow the left column to shrink and grow according to content */
}

.two-column-section .right-column {
    flex: 1; /* Take up remaining space */
}

hr {
    border: none;
    height: 1px;
    width: 90%;
    background-color: #f0f0f0;
}

.bkg-screenshot-left {
    padding: 0 20pt 0 40pt;
    float: left;
}

.bkg-screenshot-right {
    padding: 0 40pt 0 20pt;
    float: right;
}

.screenshot-50 {
    margin: auto;
    padding: 20pt;
    width: 40%;
    max-width: 800px;
}

.container > :not(img) {
    padding: 1pt 40pt;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

legend {
    color: #f0f0f0;
    padding: 0 12pt;
    text-align: center;
}

legend > img {
    width: auto;
    height: 20pt;
    vertical-align: bottom;
}

.form-overlay {
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: calc(100% - 44pt);
    left: 0;
    top: 0;
    z-index: 3;

    /*background-color: #4CAF50;*/
    justify-content: center;
    align-items: center;
    display: flex;

    transition: opacity 0.25s ease;
}

.form-overlay.hidden {
    opacity: 0;
}


.form-overlay > span {
    color: white;
    font-size: 40pt;
    text-align: center;
    transform: rotate(0deg) scale(0.2);
}

.form-overlay.animated > span {
    animation: show-up 0.8s forwards;
}

@keyframes show-up {
    0% {
        transform: rotate(0) scale(0.1);
    }
    60% {
        transform: rotate(-12deg) scale(2);
    }
    100% {
        transform: rotate(-12deg) scale(1.5);
    }
}

.form-questions-container {
    margin: 2pt auto;
}

form {
    position: relative;
}

form fieldset {
    opacity: 1;
    transition: opacity 0.25s ease;
    border: #f0f0f0 solid 1px;
}

form.fade-out fieldset {
    pointer-events: none;
    opacity: 0.1;
}

.round-box textarea {
    width: 100%;
    min-height: 4.2em;
    height: 8em;
    box-sizing: border-box;
    overflow: auto;

    outline: none;
    border: none;
    background-color: transparent;
    resize: none;
    margin: 0;
    font-size: 14pt;
    color: #f0f0f0;
    padding: 10pt;
}

.round-box textarea:hover {
    background-color: #172b47;
    outline: none;
}

.round-box textarea:active, .round-box textarea:focus {
    outline: none;
    background-color: #172b47;
}


form.form-disabled fieldset {
    opacity: 0.3 !important;
    border: #f0f0f0 solid 1px !important;
    color: #f0f0f0 !important;
    pointer-events: none;
}

.round-box {
    overflow: clip;
    border-radius: 10px;
    background-color: #1b3557;
    margin: 2pt auto;
    padding: 0 !important;
    max-width: 80%;
    text-align: left;
}

.round-box h4 {
    padding: 8pt 12pt;
    margin: 0 0 12pt;
    color: #f0f0f0;
    background-color: #284d80;
}

.round-box h4:not(.wrap) {
    white-space: nowrap;
}

.round-box .answers-counter {
    margin-left: 12pt;
}

.round-box .footer {
    color: #f0f0f0;
    margin-top: 10pt;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    vertical-align: middle;
}

.round-box .footer button[type="submit"] {
    /*place-self: flex-end;*/
    /*flex-wrap: nowrap;*/
}

.round-box .footer .left-column span:first-child {
    margin-right: 10pt;
}

.round-box .footer .left-column span {
    display: inline-block;
    min-width: 40pt;
}

.round-box form {
    padding: 0 12pt 10pt;
}

.round-box form button[type="submit"], button[type="submit"].big-btn {
    /*margin-top: 10pt;*/
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button[type="submit"].big-btn {
    min-width: 200pt;
    font-size: 20pt;
    padding: 14px 30px;
}

.round-box form label {
    display: block;
    min-width: 50px;
    text-align: left;
    vertical-align: middle;
    padding-bottom: 5pt;
    white-space: nowrap;
}

.round-box form label input[type="radio"] {
    margin-right: 10pt;
    vertical-align: middle;
}

.round-box form label span {
    display: inline-block;
    vertical-align: middle;
    padding-right: 16pt;
    white-space: normal;
}

.submit-disabled {
    pointer-events: none;
    opacity: 0.5;
    background-color: #9db29e !important;
}

.round-box form button[type="submit"]:hover {
    background-color: #45a049;
}

.round-box .icon {
    float: right;
    margin-top: -3pt;
    width: 81px;
    height: 42px;
}

.padding-0 {
    padding: 0 !important;
}

.margin-0 {
    margin: 0 !important;
}

.margin-top-1 {
    margin-top: 10pt;
}

.margin-top-2 {
    margin-top: 20pt;
}

.margin-bottom-2 {
    margin-bottom: 20pt;
}

.subscribe-box {
    overflow: clip;
    border-radius: 10px;
    margin: 8pt auto 2pt;
    padding: 0 !important;
    max-width: 80%;
    text-align: center;
}

.subscribe-box form fieldset {
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.subscribe-box h4 {
    margin: 0 10pt;
    color: #DDD;
}

.subscribe-box p {
    text-align: center;
    margin: 0;
}

.subscribe-box input[type=text], .subscribe-box input[type=email] {
    width: 17em;
    height: 1.4em;
    border: 1px solid #f0f0f0;
    background-color: transparent;
    margin: 0;
    font-size: 14pt;
    color: #f0f0f0;
    padding: 4pt;
}

.subscribe-box button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.subscribe-box input[type=text]:hover, .subscribe-box input[type=email]:hover,
.subscribe-box input[type=text]:active, .subscribe-box input[type=email]:active,
.subscribe-box input[type=text]:focus, .subscribe-box input[type=email]:focus {
    background-color: #172b47;
    outline: none;
}

.subscribe-box form.form-disabled fieldset {
    border: none !important;
}

.page-footer {
    font-size: 10pt;
    max-width: calc(min(80%, 790px));
    margin: 12pt auto 10pt;
}

.info-text {
    font-size: 15pt;
}

@media screen and (max-width: 1024px) {
    .two-column-section .column ul {
        font-size: 90%;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 30pt;
    }

    .container > :not(img) {
        padding: 1pt 7pt;
    }

    .bkg-screenshot-left, .bkg-screenshot-right {
        max-width: 500px;
        width: 50%;
    }

    .bkg-screenshot-left {
        padding: 1pt 7pt;
    }

    .bkg-screenshot-right {
        padding: 1pt 7pt;
    }

    .screenshot-50 {
        padding: 10pt 1pt;
        width: 90%;
    }

    .round-box {
        max-width: unset;
        width: 95%;
    }

    .round-box form label {
        font-size: 80%;
    }

    .two-column-section .column ul {
        font-size: 80%;
    }

    .round-box textarea {
        font-size: 12pt;
        padding: 8pt;
    }

    .round-box .footer {
        font-size: 80%;
    }

    .round-box .footer .left-column {
        padding-right: 8pt;
    }

    .subscribe-box input[type=text], .subscribe-box input[type=email] {
        width: 100%;
        font-size: 10pt;
    }

    .subscribe-box p {
        font-size: 14pt;
    }
}

@media screen and (max-width: 640px) {
    .round-box h4 {
        font-size: 80%;
    }

    .round-box .icon {
        margin-top: -4pt;
    }

    legend {
        font-size: 16pt;
    }

    .bkg-screenshot-left, .bkg-screenshot-right {
        padding: 2pt 5pt;
        float: none;
        width: 100%;
    }

    .form-overlay > span {
        font-size: 30pt;
    }

    .two-column-section {
        flex-direction: column; /* Stack columns vertically */
    }

    .two-column-section .left-column, .two-column-section .right-column {
        flex: 1; /* Both columns take up full width */
    }
}

@media screen and (max-width: 488px) {
    h1 {
        font-size: 24pt;
    }

    .round-box .icon {
        left: calc(100% - 100px);
        position: absolute;
    }

    .form-overlay > span {
        font-size: 20pt;
    }

    .round-box .footer {
        font-size: 70%;
    }
}

@media screen and (max-width: 388px) {
    .round-box .icon {
        display: none;
    }
}
