html, body {
    height: auto;
    min-height: 100vh;
}

body {
    /* fix for collapsing margins */
    border: 1px solid transparent;
    box-sizing: border-box;
    display: flex;
}

#login {
    /* so we can set 100vh much easier and not be affected by padding */
    box-sizing: border-box;
    flex-basis: 320px;
    display: flex;
    flex-direction: column;
    overflow: visible !important;
    width: auto;
    margin-left: 0;
    margin-right: 0;
}

/* using class for login so it won't be that strong */
.login h1 a {
    --logo-ratio: 3;
    --logo-size: 240px;
    background-size: var(--logo-size);
    background-position: center;
    width: var(--logo-size);
    height: calc(var(--logo-size) / var(--logo-ratio));
}

#login input[type="checkbox"], #login input[type="radio"] {
    width: 1rem;
    height: 1rem;
}

.thrv_wrapper {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}
