@import url(./fonts.css);
@import url(./lib.css);

#first{
    background: linear-gradient(101.55deg, #654DF5 11.46%, #757BF7 95.14%);
    color: #fff;
}
.header{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}
.header-logo{
    font-family: Lato;
    font-size: 28px;
    display: block;
    height: 35px;
    object-fit: contain;
}
.logo{
    margin-bottom: 10px;
}
.addons{
    margin-bottom: 32px;
    opacity: .5;
    display: flex;
    justify-content: center;
}
.addons li{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 20px;
}
.addons li:last-child{
    margin-right: 0;
}
.addons span{
    font-size: 10px;
    font-weight: 600;
    line-height: 10px;
    text-align: left;
    margin-left: 3px;
    color: #fff;
}
.heading{
    font-size: 34px;
    font-weight: 800;
    line-height: 34px;
    text-align: left;
    color: #fff;
    max-width: 250px;
}
.after_heading{
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    text-align: left;
    color: #fff;
    margin-top: 20px;
}
.preform{
    background: #11B72D;
    padding: 10px 20px 10px 20px;
    border-radius: 10px 10px 0 0;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    text-align: left;
}
.preform span{
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
    text-align: left;
}
form{

    padding: 15px 10px 15px 10px;
    border-radius: 0 20px 20px 20px;
    box-shadow: 0px 18.47px 46.25px 0px #21119180;
}
.pre{
    color: #0C0151;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    text-align: left;

}
form h2{
    color: #6854F6;
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: -0.05em;
    text-align: left;

}

input {
    width: 218px;
    height: 4px;
    -webkit-appearance :none;
    -moz-appearance :none;
    appearance :none;
    background: none;
    cursor: pointer;
    overflow: hidden;
}
input:focus-visible,
input:hover{
    --p: 25%;
}
.total{
    font-size: 30px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: -0.05em;
    text-align: left;
    color: #0C0151;
}
.send_req{
    font-size: 16px;
    font-weight: 700;
    line-height: 19.2px;
    letter-spacing: -0.05em;
    text-align: left;
    color: #fff;
    background: linear-gradient(0deg, #1645D4, #1645D4), linear-gradient(180deg, #1047EF 0%, #4270FF 100%);

}

#first p{
    opacity: .6;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    text-align: center;
    margin-bottom: 20px;
}
#first h2{
    font-family: Lato, sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
    margin-bottom: 20px;
}
#first h3{
    font-family: Lato, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    margin-bottom: 20px;
}
#first .time_offer{
    font-family: Lato, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.all_offers{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); /* Минимальная ширина 150px, заполняем всю ширину */
    gap: 10px;

}
.offer_item{
    padding: 5px;
    box-shadow: 0px 10px 14px 0px #090F4440, 0px 20px 30px 0px #090F4426;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    max-width: 275px;
}
.best{
    border: 2px solid #11B72D;
    position: relative;
}
.best_latam{
    border: 2px solid #11B72D;
    position: relative;
}
.best:before{
    content: 'Высокий % одобрения';
    background: #11B72D;
    min-width: 90px;
    border-radius: 20px;
    padding: 5px 10px;
    font-family: Inter, sans-serif;
    font-size: 8px;
    font-weight: 400;
    line-height: 8.8px;
    text-align: left;
    display: block;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translate(-50%);
    color: #fff;
}
.best_latam:before{
    content: 'Alto % de aprobación';
    background: #11B72D;
    min-width: 90px;
    border-radius: 20px;
    padding: 5px 10px;
    font-family: Inter, sans-serif;
    font-size: 8px;
    font-weight: 400;
    line-height: 8.8px;
    text-align: left;
    display: block;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translate(-50%);
    color: #fff;
}
.offer_logo{
    height: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.offer_logo img{
    max-width: 100%;
    max-height: 60px;
}
.offer_logo:after{
    display: block;
    content: '';
    width: 100%;
    height: 1px;
    background: #9D9EA6;
    position: absolute;
    left: 0;
    bottom: -5px;
}
.offer_body{
    padding-top: 15px;
    display: flex;
    flex-direction: column;
}
.offer_body .text{
    margin-bottom: 5px;
    font-family: Inter, sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 10px;
    text-align: left;
}
.offer_body .sum{
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    text-align: left;
    color: #11B72D;
    margin-bottom: 5px;
}
.offer_body .term{
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    text-align: left;
    color: #030D25;
    margin-bottom: 10px;
}
.get{
    background: linear-gradient(0deg, #1645D4, #1645D4),
    linear-gradient(180deg, #1047EF 0%, #4270FF 100%);
    border-radius: 10px;
    padding: 16px 12px;
    font-family: Lato, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 16.8px;
    letter-spacing: -0.05em;
    text-align: center;
    margin-bottom: 5px;
    color: #fff;
    text-decoration: none;
}
.offer_credentials{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.provider{
    position: relative;
    font-family: Inter, sans-serif;
    font-size: 8px;
    font-weight: 400;
    line-height: 8.8px;
    text-align: left;
    padding-left: 15px;
    color: #030D25;
}
.erid{
    font-family: Inter, sans-serif;
    font-size: 8px;
    font-weight: 400;
    line-height: 8.8px;
    text-align: left;
    color: #030D25;
}
.credentials{
    font-family: Inter, sans-serif;
    font-size: 8px;
    margin-top: 5px;
    font-weight: 400;
    line-height: 8.8px;
    text-align: left;
    color: #030D25;
    opacity: .5;
}
#security{
    padding-top: 50px;
    padding-bottom: 50px;
}

#security h2{
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    text-align: left;
    color: #0C0151;
    margin-bottom: 20px;
}
#security p{
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.8px;
    text-align: left;
    color: #0C0151;
    margin-bottom: 20px;
}
#security .op{
    opacity: .5;
}
#security .link{
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.8px;
    text-align: left;
    color: #6854F6;
}
#security .image{
    max-width: 100%;
}
#security .image img{
    max-width: 100%;
}
#timer{
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
#timer p{
    font-size: 20px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.05em;
    text-align: left;
    color: #0C0151;
}
.time_go{
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: -0.05em;
    text-align: left;
    color: #6854F6;
    margin-left: 10px;
}
#footer{
    background: #373737;
    padding: 50px 20px;
    color: #FFF;
}
#footer .op5{
    opacity: .5;
}
#footer .operator{
    font-size: 12px;
    font-weight: 400;
    line-height: 14.4px;
    text-align: left;
    margin-bottom: 20px;
}
#footer .email .title{
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 400;
    line-height: 14.4px;
    text-align: left;
}
#footer .email a{
    display: inline-block;
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    text-align: left;
    margin-bottom: 20px;
    color: #fff;
    text-decoration: none;
}
.social .title{
    font-size: 12px;
    font-weight: 400;
    line-height: 14.4px;
    text-align: left;
    margin-bottom: 5px;
}
.social a{
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    text-align: left;
    margin-bottom: 50px;
    display: inline-block;
    color: #fff;
    text-decoration: none;
}
.who .title{
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    text-align: left;
    margin-bottom: 5px;
}
#footer .who .credentials{
    font-size: 12px;
    font-weight: 400;
    line-height: 14.4px;
    text-align: left;
    margin-bottom: 50px;
    color: #fff;
}
#footer .partners .title{
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    text-align: left;
    margin-bottom: 5px;
}
#footer .partners p{
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 400;
    line-height: 14.4px;
    text-align: left;
}

#footer .partners a{
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    line-height: 14.4px;
    text-align: left;
    color: #fff;
    margin-bottom: 50px;
    text-decoration: none;
}
#footer .texter p{
    font-size: 12px;
    font-weight: 400;
    line-height: 14.4px;
    text-align: left;
}
#footer .texter{
    margin-bottom: 10px;
}
#footer .linker{

}
#footer .linker a{
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 400;
    line-height: 14.4px;
    text-align: left;
    color: #fff;
    text-decoration: none;
}

@media (min-width: 480px){
    .all_offers{
        grid-template-columns: repeat(auto-fill, minmax(210px, 2fr));
        gap: 20px;
    }
}

@media (min-width: 992px){
    .all_offers{
        grid-template-columns: repeat(auto-fill, minmax(275px, 2fr));
    }
    .header{
        display: flex;
        justify-content: space-between;
    }
    .logo{
        display: initial;
    }
    #security .row{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    #security h2{
        margin-top: 54px;
    }
    #footer .container{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 250px;
        direction: rtl;
        text-align: left;
    }
}

.social_media {
    display: flex;
    justify-content: center;
    gap: 20px;
    /*margin-top: 100px;*/
    max-width: 800px;
}
.social_title {
    font-size: 24px;
    font-weight: 200;
    color: black;
    margin-bottom: 20px;
}
.social_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    height: 60px;
    width: 100%;

    border: none;
    border-radius: 10px;

    transition: opacity 0.3s;
    color: white;

    font: inherit;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.social_btn > span {
    margin-top: 5px;
}
.btn_tg {
    background: #26a2e0;
}

.btn_vk {
    background: #0177ff;
}
.social_btn:hover {
    cursor: pointer;
    opacity: 0.8;
}

@media (max-width: 440px) {
    .social_media {
        flex-direction: column;
    }
}
