body {
    background-image: var(--main-bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

form#getStarted{
    width: 930px;
    height: fit-content;
    border-radius: 6px;
    margin: 50px auto;
    padding: 0;
}

form fieldset{
    background-color: #ffffff;
}

form legend{
    font-size: 1.3rem;
    margin-bottom: 25px;
}

fieldset > ul{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 0;
}

label{
    display: inline-block;
    font-size: 16px;
    line-height: 1.13;
    color: #575757;
    width: 100%;
    margin: 24px 0 5px;
}

label > abbr[title]{
    text-decoration: none;
}

fieldset#personal_info{
    padding: 50px 70px 45px 70px;
    margin-top: 48px;
    position: relative;
}

fieldset#personal_info > ul > li {
    display: inline-block;
    width: calc(49% - 5px);
    position: relative;
}

fieldset#personal_info p{
    position: relative;
    bottom: 12px;
    left:10px;
    font-size: 14px;
    font-style: italic;
    line-height: 1.29;
    color: #575757;
}

fieldset#plan_of_interest > ul{
    padding-left: 10px;
}

fieldset#plan_of_interest > ul > li {
    display: inline-block;
}



fieldset#plan_of_interest{
    font-size: 19px;
    font-weight: 600;
    line-height: 0;
    text-align: center;
    color: #000000;
    position: relative;
    padding: 0 70px 30px 70px;
}

fieldset#plan_of_interest input{
    width: 30px;
    height: 30px;
    object-fit: contain;
    background-color: #ece8e4;
    display: flex;
    justify-content: center;
    margin: 0;
}

fieldset#plan_of_interest label{
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
}

fieldset#personal_info label + div.invalid-feedback{
    bottom: -6px;
}

input{
    width: 100%;
    height: 45px;
    border-radius: 4px;
    border: solid 1px #979797;
    margin-top: 17px;
    padding: 0 14px;
}

form > .submit_btn {
    display: block;
    margin: 75px auto;
    width: 210px;
    height: 45px;
    border-radius: 4px;
    background-image: var(--gradient);
    border: 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
}

/*CUSTOM RADIO BUTTONS*/
[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    display: inline-block;
    font-size: 17px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000000;

}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    top: -3px;
    width: 27px;
    height: 27px;
    border: none;
    border-radius: 100%;
    background-color: #eeeeee;
    left: -8px;
}

[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: "✔";
    width: 26px;
    height: 26px;
    color: #ffffff;
    font-size: 15px;
    background-image: var(--gradient);
    position: absolute;
    left: -8px;
    top: -2px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

@media (max-width: 969px) {
    form#getStarted {
        width: 100%;
    }
}

@media (max-width: 749px) {
    fieldset#plan_of_interest > ul > li {
        width: 50%;
        display: flex;
        justify-content: center;
    }

    fieldset#personal_info p {
        left: 0;
    }

    fieldset#personal_info > ul > li {
        width: 100%;
    }

    fieldset#plan_of_interest label {
        width: 100%;
        justify-content: flex-start;
        padding-left: 55px;
    }

    fieldset > ul {
        justify-content: flex-start;
    }
}

@media (max-width: 479px) {

    form#getStarted{
        max-width: 370px;
    }

    label{
        font-size: 15px;
    }

    fieldset#plan_of_interest > ul > li {
        width: 50%;
        padding: 0;
    }

    fieldset#plan_of_interest label {
        padding-left: 40px;
        font-size: 14px;
    }

    fieldset#personal_info {
        padding: 50px 40px 45px 40px;
    }

    fieldset#plan_of_interest {
        padding: 0 40px 30px 40px;
    }
}


@media (max-width: 379px) {
    form#getStarted{
        max-width: 310px;
    }

    fieldset#plan_of_interest > ul {
        padding-left: 0;
    }

    fieldset#plan_of_interest label {
        padding-left: 32px;
        font-size: 13px;
    }
}
