@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://rsms.me/inter/inter.css');

@property --primary-bg {
    syntax: "<color>";
    inherits: false;
    initial-value: #082f49;
}

@property --primary-fg {
    syntax: "<color>";
    inherits: false;
    initial-value: #fff;
}

@property --secondary-bg {
    syntax: "<color>";
    inherits: false;
    initial-value: #1B1725;
}

@property --secondary-fg {
    syntax: "<color>";
    inherits: false;
    initial-value: #99DDFF;
}

i[class^="icon-"].circled {
    border-radius: 100%;
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.5);
    margin-right: 1rem;
}

body {
    font-size: 16px;
}

footer *,
col-row *,
header * {
    font-family: Inter, sans-serif;
    /* font-weight: 400; */
    color: black;
    font-style: normal;
    user-select: none;
}

.small-stuff {
    font-size: .75em;
    line-height: .95;
}

.floater p {
    font-size: .9rem;
}

.floater {
    padding: 2rem;
}

.floater h3 {
    font-size: 1.1rem;
}

/* .gradient-bg { */
/* background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(100, 200, 250, 1) 50%); */
/* } */

#home-lander {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(100, 200, 250, 1) 90%);
    /* background: linear-gradient(90deg, rgba(107, 191, 255, 1) 0%, rgba(173, 255, 207, 1) 50%); */
    padding-top: 3rem;
    /* background-image: url('/finansbuddy_com/bg_rev.png'); */
    /* background-size: cover; */
}

header {
    background-color: var(--secondary-bg);
}

body>col-row:nth-of-type(odd) {
    background-color: var(--primary-bg);
}

body>col-row:nth-of-type(even) {
    background-color: var(--secondary-bg);
}

h1 {
    font-size: 3rem;
}

h1,
h2,
h3 {
    font-family: "Jost", sans-serif;
    font-weight: 500;
}

col-row.fh {
    min-height: 100vh;
}

.third_party_logo {
    max-width: 7rem;
    min-width: none;
    margin: 0 .5rem;
}

#gather_loan_text_box h3 {
    margin-bottom: .2rem;
}

#timer-container {
    display: none;
}

.hidden {
    display: none;
}

input[type="range"] {
    cursor: pointer;
}

.gather_loan_elem {
    display: none;
}

.logo_table tr:first-child {
    text-align: right;
}

.logo_table>tbody>tr:last-child {
    text-align: left;
}

.logo_table * {
    border: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select,
input:not([type="checkbox"]),
button {
    /* background: var(--primary-fg); */
    /* color: var(--primary-bg); */
    width: 100%;
    padding: .7rem;
    border-radius: 5px;
    font-size: 1.2rem;
    border: 2px solid var(--primary-fg);
}

label {
    color: var(--primary-fg);
}

div.checkbox label {
    padding-top: 7px;
}

form>label {
    /* font-style: italic; */
    font-weight: 500;
    margin-bottom: -.5rem;
    color: var(--primary-fg);
}

input.invalid {
    border: 2px solid red;
}

input[type="range"] {
    background: none;
    border: none;
    padding: 0 0 .5rem 0;
}

a {
    color: var(--secondary-fg);
}

.form-container *:not(input, select) {
    color: var(--primary-fg);
}

.form-container {
    color: var(--primary-fg);
    background: var(--primary-bg);
    border: 1px solid var(--color2);
    border-radius: 1rem;
    padding: 2rem;
}

label:first-of-type {
    margin-top: 0;
}

form>label,
form>label>*,
form button {
    /* font-weight: 500; */
    margin-top: 1rem;
    margin-bottom: .5rem;
}

.checkbox,
form {
    text-align: left;
}

.checkbox>input {
    margin-top: 5px !important;
}

label {
    /* padding-bottom: 2px; */
}

label input[type="range"] {
    cursor: pointer;
}

button {
    font-weight: 500;
    width: 100%;
    transition: background .1s, color .1s;
    border: 3px solid var(--primary-bg);
    padding: 1rem;
    color: var(--primary-bg) !important;
    /* background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(100, 200, 250, 1) 90%); */
    background: var(--secondary-fg);
}

button:hover {
    color: var(--primary-bg);
    background: var(--primary-fg);
}

div:has(.third_party_logo) {
    margin-top: 2rem;
}

#burger-menu {
    float: right;
}

footer {
    border: none;
    position: static;
    background: #fff;
    padding: 1rem 0;
}

#logo {
    margin-top: 6px;
    height: 18px;
    width: auto;
}

.menu {
    text-align: right;
    /* display: flex; */
    /* justify-content: space-between; */
}

.menu * {
    font-weight: 600;
    text-decoration: none;
    margin-left: 2rem;
}

#mobile-menu {
    background-color: var(--secondary-bg);
    height: 100vh;
    width: 100vw;
    z-index: 1;
}

#mobile-menu>div {
    height: 50vh;
    padding: 5rem;
    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: center; */
    /* justify-content: space-between; */
}

#mobile-menu.hidden {
    display: none;
}

.mobile-menu * {
    margin-top: 3rem;
}

.mobile-show {
    display: none;
}

#key-points {
    font-size: .9rem;
    /* line-height: 1; */
}

#key-points p i[class^="icon-"] {
    font-size: 1.8rem !important;
}

#overview {
    padding-right: 5rem;
    /* padding-left: 3rem; */
}

@media (max-width: 850px) {
    #stars {
        font-size: .8rem;
        width: 100%;
        text-align: center;
    }

    #overview {
        padding: 1rem;
        /* padding: initial; */
    }

    #key-points {
        line-height: 1;
    }

    .mobile-show {
        display: initial;
    }

    body {
        padding: 0;
    }

    h1 {
        text-align: center;
        font-size: 1.5rem;
        line-height: 1.3;
    }

    h2 {
        text-align: center;
        font-size: 1.3rem;
    }

    h3 {
        text-align: center;
        font-size: 1.1rem;
    }

    header {
        padding: 1rem;
    }

    #key-points {
        text-align: center !important;
    }

    #key-points p {
        white-space: nowrap;
        display: inline;
        font-size: .8rem;
        font-weight: 500;
        margin: 0 .2rem;
    }
}

input[type=range]::-webkit-slider-runnable-track {
    margin-top: .5rem;
    width: 100%;
    height: 10px;
    border-radius: 3px;
    cursor: pointer;
    background: var(--secondary-fg);
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    margin-top: -10px;
    height: 30px;
    width: 30px;
    background: var(--primary-fg);
    cursor: pointer;
    border: 1px solid #77BFA3;
    border-radius: 15px;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 10px;
    border-radius: 3px;
    cursor: pointer;
    background: var(--secondary-fg);
}

input[type=range]::-moz-range-thumb {
    height: 30px;
    width: 30px;
    background: var(--primary-fg);
    cursor: pointer;
    border-radius: 15px;
    border: none;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 10px;
    border-radius: 3px;
    cursor: pointer;
    background: var(--secondary-fg);
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: var(--primary-bg);
}

input[type=range]::-ms-fill-upper {
    background: var(--primary-bg);
}

input[type=range]::-ms-thumb {
    height: 30px;
    width: 30px;
    background: var(--primary-fg);
    cursor: pointer;
    border: 1px solid #77BFA3;
}

html {
    font-family: sans-serif;
    height: 100%;
}

body {
    background-color: #111;
}



.radio_button {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    border-radius: 0.5rem;
    background-color: #EEE;
    box-sizing: border-box;
    padding: 0.25rem;
    width: 150px;
    font-size: 14px;
}

.radio_button label {
    flex: 1 1 auto;
    text-align: center;
}

.radio_button label input {
    display: none;
}

.radio_button label .name {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: none;
    padding: .5rem 0;
    color: var(--primary-bg);
    transition: all .15s ease-in-out;
}

.radio_button label input:checked+.name {
    background-color: var(--secondary-fg);
    font-weight: 600;
}

* {
    box-sizing: border-box;
}
