@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
body{
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}
.main{

}
ul, li{
    list-style: none;
    padding: 0;
    margin: 0;
}

*,
*:focus{outline: none}

.form{
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-top: 5px;
}
.form-item{
    position: relative;
    padding: 7px 0;
}
.form-item input{
    display: block;
    transition: all .3s ease;
    padding: 15px 15px;
    border-radius: 10px;
    border: none;
    background: rgb(248, 249, 253);
    width: calc(100% - 30px);
}
.form-item input:focus{
    border-color: rgb(75, 68, 251);
}
.form-item label{
    position: absolute;
    cursor: text;
    z-index: 2;
    top: 18px;

    left: 0;
    font-size: 16px;
    padding: 3px 10px;
    color: #999;
    transition: all .3s ease
}
.form-item input:focus + label,
.form-item input:valid + label{
    font-size: 11px;
    top: -8px
}
.form-item input:focus + label{
    color: rgb(75, 68, 251);
}
.swiper {
    width: 100%;
}
.nexter{
    border-radius: 12px;
    background: rgb(75, 68, 251);
    color: rgb(255, 255, 255);
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    line-height: 21px;
    letter-spacing: 0;
    border: none;
    padding: 15px 70px;
    align-self: center;
}
.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 600px;
}
.logo{
    display: flex;
    align-items: center;
}
.logo .img{
    width: 48px;
    height: 48px;
}
.logo_text{
    margin-left: 3px;
    color: rgb(0, 0, 0);
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0;
    text-align: left;
}
.first_screen, .second_screen, .third_screen, .fourth_screen, .fifth_screen{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    min-height: 100%;
    background: linear-gradient(180.00deg, rgb(219, 226, 245),rgb(252, 253, 255) 100%);
    padding: 30px;
}
.fifth_screen{
    height: 100%;
}
.header.mini .logo .img{
    width: 21px;
    height: 21px;
}
.header.mini .logo_text{
    color: rgb(0, 0, 0);
    font-size: 12px;
    font-weight: 300;
    line-height: 14px;
    letter-spacing: 0;
    text-align: left;
}
.balance{
    display: flex;
    align-items: center;
}
.balance .img{
    width: 30px;
}
.balance_text{
    color: rgb(0, 0, 0);
    font-size: 18px;
    font-weight: 700;
    line-height: 21px;
    letter-spacing: 0;
    text-align: left;
    margin-left: 8px;
}
.img{
    max-width: 35vh;
}
.img img{
    width: 100%;
}
.first_screen{
    height: 100vh;
}
.title{
    color: rgb(0, 0, 0);
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0;
    text-align: center;
    margin-top: 23px;
    margin-bottom: 58px;
}
.mini_title{
    color: rgb(0, 0, 0);
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
    letter-spacing: 0;
    margin-bottom: 17px;
    text-align: center;
}
.text{
    color: rgb(0, 0, 0);
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 23px;
}
ul{
    width: 100%;
}
.value{
    color: rgb(75, 68, 251);
    font-size: 18px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0;
    text-align: left;
    position: absolute;
    left: 14px;
    top: 21px;
}
.canvas{
    position: relative;
}
.parent_li{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 46px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.parent_li.show {
    opacity: 1;
}
.parent_li.btn{
    justify-content: center;
}
.next_result{
    opacity: 0;
    animation: ease 1s ;
}
.next_result.show{
    opacity: 1;
}
.parent_li:not(:last-child):after{
    content: '';
    position: absolute;
    width: 6px;
    height: 20px;
    background: rgb(75, 68, 251);
    right: 26px;
    top: 70px;
}
.name{
    color: rgb(0, 0, 0);
    font-size: 15px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0;
    text-align: left;
}

.loading-container {
    width: 100%;
    height: 8px;
    background-color: rgb(245, 245, 245);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.loading-bar {
    height: 100%;
    background-color: rgb(75, 68, 251);
    width:0;
    /*animation: loadingAnimation 6s linear;*/
}
@keyframes loadingAnimation {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.total_result{
    position: relative;
    width: 130px;
    height: 130px;
}
#total_value{
    color: rgb(75, 68, 251);
    font-size: 40px;
    font-weight: 400;
    line-height: 47px;
    letter-spacing: 0;
    position: absolute;
    top: 44px;
    left: 34px;
}

.d-none{
    display: none;
}
*:disabled{
    opacity: .5;
}
.top_offers{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
    align-items: center;
    justify-content: center;
}
.offer{
    box-shadow: 0 5px 14px 0 #090F4440, 0 0 30px 0 #090F4426;
    padding: 12px 10px;
    border-radius: 20px;
    margin: 10px 20px;
    list-style: none;
    background: #7769EC;
    width: 320px;
}
.offer:first-child{
    margin-top: 0;
}
.offer:last-child{
    margin-bottom: 0;
}
.provider{
    position: relative;
    color: #fff;
    padding-left: 14px;
    font-size: 10px;
    font-weight: 400;
    line-height: 11px;
    text-align: left;
}
.provider:before{
    background: #FAE64D;
    width: 11px;
    height: 11px;
    display: block;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
}
.logo_offer{
    position: relative;
    display: flex;
    justify-content: center;
    height: 61px;
}
.logo_offer:after{
    height: 2px;
    width: 100%;
    content: '';
    background: #E7E7E7;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 0;
}
.logo_offer img{
    max-width: 260px;
    padding: 5px 10px 15px 10px;
    margin-bottom: 10px;
}
.text_offer{
    margin-top: 10px;
    color: #3B7B9A;
    font-size: 12px;
    font-weight: 700;
    line-height: 14.4px;
    text-align: left;
    margin-bottom: 10px;
}
.term span{
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    text-align: left;
    color: #161233;
    opacity: .5;
}
.term .num{
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    text-align: left;
    color: #818692;
    margin-bottom: 10px;
}
.term .num span{
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    text-align: left;
    color: #818692;
}
.term .num b{
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    text-align: left;
    color: #312599;
}
.age{
    opacity: .5;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    text-align: left;
    color: #161233;
}
.sum span{
    color: #161233;
    margin-bottom: 3px;
    opacity: .5;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    text-align: left;
}
.sum .num{
    font-size: 40px;
    font-weight: 700;
    line-height: 40px;
    text-align: left;
    color: #312599;
    margin-bottom: 10px;
}
.offer_offer{
    margin-bottom: 10px;
}
.offer_prop{

}
.offer_top{
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, .05);
    background: #fff;
    padding: 10px;
    border-radius: 20px;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: space-between;
    width: calc(50% - 25px);
    margin: 5px;
    text-decoration: none;
    font-size: 12px;
    color: #000;
}
.offer_top:nth-child(odd){
    margin-left: 0;
}
.offer_top:nth-child(even){
    margin-right: 0;
}
.offer_top_heading{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
}
.offer_image{
    height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
}
.small{
    font-size: 10px;
}
.offer_image img{
    max-width: 80%;
    max-height: 100%;
    margin-bottom: 15px;
}
.offer_top_text{
    font-size: 24px;
    font-weight: 700;
    line-height: 33px;
    letter-spacing: -0.05em;
    text-align: left;
    color: #fff;
    margin-bottom: 10px;
    margin-top: 10px;
}
.hand{
    max-width: 100%;
}

.offer_top_desc{
    font-size: 14px;
    font-weight: 500;
    line-height: 14.4px;
    text-align: left;
    margin-top: 5px;
    margin-bottom: 5px;
    position: relative;
    box-sizing: border-box;
}
.offer_image:before{
    height: 1px;
    width: 100%;
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    background: #e0e0e0;
}
.offer_percent{
    font-size: 12px;
}
.offer_top .get{
    background: linear-gradient(0deg, #1645D4, #1645D4),
    linear-gradient(180deg, #1047EF 0%, #4270FF 100%);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 19.36px;
    text-decoration: none;
}
.offer_credentials{
    margin-top: 10px;
    font-size: 10px;
    font-weight: 400;
    line-height: 11px;
    text-align: left;
    color: #fff;
    opacity: .5;
}
.offer_summ, .offer_percent, .offer_time{
    display: flex;
    gap: 4px;
    align-items: center;
}
.heading_offer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.top__offer{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}
.white{
    background: #fff;
    border-radius: 10px;
    padding: 10px;
}
.supersmall{
    font-size: 8px;
}
.wallet{
    margin-right: 5px;
    color: #fff;
    font-size: 10px;
    font-weight: 400;
    line-height: 11px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px;
    opacity: .5;
}
.wallet img, .wallet svg{
    margin-right: 5px;
}
.left{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.right{
    color: #fff;
    font-size: 10px;
    font-weight: 400;
    line-height: 11px;
    text-align: left;
    opacity: .5;
}
.attention{
    font-size: 10px;
    margin-top: 20px;
}

/*checkbox*/

.checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 12px;
    line-height: 15px;
}
.suggestions{
    font-size: 12px;
}

/* Hide the browser's default checkbox */
.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#agree:checked + #starter {
    pointer-events: auto;
    opacity: 1;
}
.legal{
    margin-top: 20px;
    font-size: 10px;
}
.checkboxes{
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    align-items: flex-start;
    justify-content: center;
}