* {
    margin: 0;
    padding: 0;
}
h1,h2,h3 {
    font-family: 'Exo 2', sans-serif;
}
p {
    font-family: 'Roboto', sans-serif;
}
.head-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/money-2724245_1920.jpg') no-repeat;
    background-size: cover;
    background-position-y: -249px;
}
.logo-img img {
    width:40%;
}
 .button-checkout {
    align-self: center;
}
.button-checkout a {
    color: #fff;
    background: #510c97;
    padding: 8px 30px;
    border-radius: 10px;
}
.button-checkout a:hover {
    text-decoration: none;
    color: #fff;
}
.section-header {
    display: flex;
    justify-content: space-between;
    padding: 25px 0;
}
.title-first {
    display: flex;
    justify-content: space-between;
    padding: 5% 0;
}
.first-block {
    color: #fff;
    width: 50%;
    font-size: 18px;
    align-self: center;
}
.first-block h1 {
    font-weight: bold;
    font-size: 5rem;
    margin-bottom: 20px;
    line-height: 70px;
}
span.percent {
    font-size: 24px;
    font-weight: bold;
    color: #d9a100;
}
.int-window {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 480px;
    height:480px;
    background: #e8e9e9;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
}
.int-window h3 {
    font-weight: 800;
    font-size: 30px;
    margin: 0px;
}
.int-button {
    padding: 30px 0;
}
.article-credit {
    padding: 45px 40px;
    text-align: center;
    line-height: 34px;
}
.article-credit>h2 {
    font-weight: bold;
    color: #000;
    margin: 0 0 30px;
}

.wrapp_amount,
.wrapp_term{
    text-align: left;
    margin: 25px 0;
 }

h2.bottom-chert {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.article-credit h2:after {
    display: block;
    width: 330px;
    content: '';
    border-bottom: 3px solid #510c97;
    margin-top: 25px;
}
.block-card {
    display: flex;
    text-align: center;
    justify-content: space-around;
    line-height: 25px;
}
.text-cont h3 {
    font-size: 16px;
    font-weight: bold;
}
.card-content {
    width: 25%;
}
.card-content img {
    width: 30%;
}
.checkout-article {
    margin: 50px 0;
}
.checkout-article a {
    color: #000;
    padding: 12px 90px;
    border: 2px solid #510c97;
    border-radius: 10px;
    letter-spacing: 2px;
    font-size: 18px;
}
.checkout-article a:hover {
    text-decoration: none;
    color: #510c97;
}
.wrapp-cont {
    padding: 50px 0;
    text-align: center;
}
.foot-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/15383.jpg);
    background-size: cover;
    background-position-y: -160px;
}
.foot-title {
    color: #fff;
}
.foot-title h2 {
    font-size: 36px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 2;
}
.foot-title p {
    font-size: 32px;
    letter-spacing: 2px;
}
.advantages {
    display: flex;
    justify-content: center;
    padding: 50px 0px;
}
.card-advant {
    width: 16%;
    background: #e1e1e1a8;
    padding: 15px;
    margin: 0 15px 0;
    border-radius: 15px;
    line-height: 2;
    font-size: 18px;
}
.foot-button>a {
    padding: 12px 90px;
    letter-spacing: 4px;
}
.article-end {
    padding: 50px 0;
    color: #848080;
}
.company-text {
    padding: 0 50px;
}
.rate-text {
    padding: 0 50px;
    padding-top: 50px;
}
.section-footer {
    background: #b8b8b8;
}
.position-foot {
    display: flex;
    justify-content: space-between;
    padding: 25px 0;
}
.logotype {
    width: 30%;
    display: flex;
    align-self: center; 
}
.designed {
    width: 30%;
    align-self: center;
    text-align: center;
}
.copyright p {
    margin: 0;
}
.copyright {
    width: 30%;
    align-self: center;
    text-align: end;
}

@media screen and (max-width: 1440px) {
    .head-banner {
    background-position-y: -150px;
    }
}

@media screen and (max-width: 1024px) {
    .card-advant {
    width: 21%;
    font-size: 16px;
    }
    .head-banner {
    background-position-y: 0px;
    }
    .foot-banner {
    background-position-y: 0px;
    }
}

@media screen and (max-width: 768px) {
    .title-first {
    padding: 1% 0;
    }
    .first-block {
    width: 33%;
    font-size: 16px;
    }
    .first-block h1 {
    font-weight: bold;
    font-size: 3rem;
    margin-bottom: 14px;
    line-height: 40px;
    }
    .text-cont h3 {
    font-size: 16px;
    font-weight: bold;
    }
    .card-advant {
    width: 20%;
    font-size: 16px;
    }
    .head-banner {
    background-position-y: 0px;
    }
    .foot-banner {
    background-position-y: 0px;
    }
}

@media screen and (min-width: 320px) and (max-width: 568px) {
    .section-header {
    padding: 20px 0;
    }
    .title-first {
    flex-direction: column;
    }
    .int-window {
    text-align: center;
    width: 95%;
    margin: 0 auto;
    }
    .logo-img img {
    width: 100%;
    }
    .button-checkout a {
    padding: 10px 15px;
    margin-right: 6px;
    }
    .first-block {
    width: 90%;
    font-size: 16px;
    align-self: center;
    }
    .first-block h1 {
    font-weight: bold;
    font-size: 3rem;
    margin-bottom: 10px;
    line-height: 30px;
    }
    .article-credit {
    padding: 30px 10px;
    text-align: center;
    line-height: 25px;
    }
    .article-credit>h2 {
    font-size: 26px;
    }
    .article-credit h2:after {
    width: 210px;
    }
    .wrapp-cont {
    padding: 10px 0;
    }
    .block-card {
    flex-direction: column;
    line-height: 22px;
    }
    .card-content {
    width: 100%;
    padding: 10px;
    }
    .checkout-article a {
    color: #000;
    padding: 10px 10px;
    letter-spacing: 2px;
    }
    .advantages {
    flex-direction: column;
    padding: 10px 0px;
    }
    .foot-title h2 {
    font-size: 26px;
    line-height: 1;
    }
    .foot-title p {
    font-size: 26px;
    letter-spacing: 0px;
    }
    .card-advant {
    width: 65%;
    padding: 15px;
    margin: 15px 15px 0;
    font-size: 16px;
    align-self: center;
    }
    .logotype {
    width: 30%;
    display: flex;
    align-self: center; 
    }
    .designed {
    width: 30%;
    align-self: center;
    text-align: center;
    font-size: 12px;
    }
    .copyright {
    margin-right: 5px;
    font-size: 10px;
    }
}


/*modal*/

.modal__content{
    font-size: 20px;
    text-align: center;
}

.modal__close{
    background: #999;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    font-weight: bold;
    position: absolute;
    right: 5px;
    top: 5px;
    transform: rotate(45deg);
    outline: none;
}

.modal_polis p{
    text-align: left;
    font-size: 15px;
}

.wrapp_input{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.wrapp_input input#name,
.wrapp_input input#email,
.wrapp_input input#phone,
.wrapp_input .polis_conf{
    width: 100%;
    max-width: 400px;
}

.wrapp_input input#name,
.wrapp_input input#email,
.wrapp_input input#phone{
    border: 1px solid #999;
    border-radius: 6px;
    outline: none;
    padding: 5px;
    margin: 5px 0; 
}

.section_form .amount,
.section_form .term{
    display: inline-block;
    border: 1px solid #999;
    border-radius: 10px;
    background: #fff;
    color: #000;
    font-size: 17px;
    width: 120px;
    padding: 5px 0;
    text-align: center;
    font-weight: bold;
}

.wrapp_amount,
.wrapp_term{
    text-align: left;
    margin: 25px 0;
}

.ui-slider-horizontal .ui-slider-range-min{
    background: #d9a100;
}
.ui-widget.ui-widget-content{
    border: none !important;
}
.ui-slider .ui-slider-handle{
    width: 25px !important;
    height: 25px   !important;
    top: -7px !important;
    border-radius: 50%;
    outline: none;
    background: #0c1397 !important;
}

.total{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-around;
}

.form-on-title h3{
    text-align: center;
    font-size: 30px;
}

.form-on-title .wrapp_in_form{
    text-align: center;
}

.form-on-title .iti{
    width: 100%;
    max-width: 400px;
}

.form-on-title #phone{
    padding-left: 50px !important;
}
.polis_conf>p{
    display: inline;
} 

#send-ins{
    display: block;
    margin: 0 auto;
    color: #fff;
    background: #0c1397;
    padding: 8px 30px;
    border-radius: 10px;
    border: none;
}