@font-face{
    font-family:'Poppins';
    src:url('../fonts/Poppins/Poppins-Bold.ttf') format('truetype');
    font-weight:bold;
    font-style:normal;
    font-display:swap;}
@font-face{
    font-family:'Poppins';
    src:url('../fonts/Poppins/Poppins-Regular.ttf') format('truetype');
    font-weight:normal;
    font-style:normal;
    font-display:swap;}
@font-face{
    font-family:'Poppins';
    src:url('../fonts/Poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight:600;
    font-style:normal;
    font-display:swap;}
@font-face{
    font-family:'ZenDots';
    src:url('../fonts/ZenDots-Regular.ttf') format('truetype');
    font-weight:normal;
    font-style:normal;
    font-display:swap;}
@font-face{
    font-family:'RacingSansOne';
    src:url('../fonts/RacingSansOne-Regular.ttf') format('truetype');
    font-weight:normal;
    font-style:normal;
    font-display:swap;}
:root {
    --main-color: #14185F;
    --header-color:#EDF0F4;
    --italic-color:#EEEEEE;
    --main-colorWhite: #fff;
    --chat-color:#0F133A;
    --logo-color:#4CFCFA;
    --back-color:#EDF0F4;
    --back-colorBlue:#2129CC;
    --back-colorBlack:#000;
}

article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {
    display: block;
}
html, body, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
*,*:before, *:after{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
ol, ul {
    list-style: none;
}
a{
    -webkit-transition: none;
    transition: none;
}
img{    max-width: 100%;}
body{
    font:16px/1.5 Poppins,sans-serif;
    font-weight: normal;
    background: var(--back-color);
    color: var(--main-color);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    /*-webkit-font-smoothing: antialiased;*/
    /*-moz-osx-font-smoothing: grayscale;*/
}
.header{      position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 28px 0;
    text-align: center;
}
.logo{
    font-family: ZenDots;
    color: var(--logo-color);
    font-size: 22px;
    text-decoration: none;
    display: block;
    text-transform: uppercase;
    line-height: 1.2;
}
.text-center{
    text-align: center;
}
h1,h2,h3{
    font-family: ZenDots;
    margin: 0 auto;
}
h1{
    font-size: 32px;
    text-transform: uppercase;
    line-height: 1.19;
}
h2{
    font-size: 28px;
    text-transform: uppercase;
    line-height: 1.22;
    margin-bottom: 20px;
}
h3{
    font-size: 24px;
    margin-bottom: 21px;
    line-height: 1.2;
}
.blue-back{
    background: var(--back-colorBlue);
}
.blue-back h1,.blue-back h2,.blue-back h3{
    color: var(--header-color);
}
.jambo-bottom{
    color: var(--main-colorWhite);
    padding-bottom: 60px;
}
.jambotron{
    position: relative;
    padding: 90px 0 60px;
    text-align: center;
    background-image: url(../img/back.png),radial-gradient(#3A43F1, #2129CC);
    background-position: top -5px center, center center;
    background-repeat: no-repeat;
}
.jambotron:before{
    content: '';
    position: absolute;
    height: 200px;
    width: 100%;
    background: linear-gradient(180deg, rgba(33, 41, 204, 0) 0%, #2129CC 100%);
    bottom: 0;
    left: 0;
}
.jambo-chat{
    margin: 21px 0 24px;
    position: relative;
}
.container{
    padding: 0 15px;
    width: 100%;
}
.chat-item{
    display: flex;
    align-items: flex-end;
    margin-bottom: 12px;
}
.chat-author{
    color: var(--italic-color);
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 50%;
    font-family: 'RacingSansOne';
    background: var(--main-color);
    line-height: 40px;
    flex: none;
    margin-right: 13px;
}
.chat-msg{
    color: var(--chat-color);
    font-size: 14px;
    text-align: left;
    padding: 12px 25px 16px 20px;
    background: var(--main-colorWhite);
    border-radius: 12px 12px 12px 2px;
    line-height: 1.5;
}
.btn-default{
    position: relative;
    display: flex;
    margin: auto;
    color: var(--main-colorWhite);
    text-decoration: none;
    width: 162px;
    height: 62px;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 20px;
    border: 2px solid transparent;
    border-radius: 100px;
    background: linear-gradient(to right, black, black) padding-box,linear-gradient(135deg, white 25%,#00A2E8 50%, #0738E5 75%,#14185F 100%) border-box;
    font-family: 'Poppins';
    cursor: pointer;
    transition: background .5s ease;
}
.btn-default:hover,.btn-default:focus,.btn-default:active{
    background: linear-gradient(to right, black, black) padding-box,linear-gradient(135deg, #14185F 25%,#0738E5 50%, #00A2E8 75%,white 100%) border-box;

}
.why-choose{
    padding: 60px 0 8px;
}
.why-list{
    margin: 50px 0 0;
}
.why-pic img{
    display: block;
    border: 1px solid var(--main-colorWhite);
}
.why-pic{
    position: relative;
    margin-bottom: 40px;
}
.why-pic:after{
    content: '';
    background: transparent;
    border:20px solid var(--main-colorWhite);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0px 64px 96px -40px rgba(15, 19, 58, 0.5);
}
.why-txt h3{
    border-bottom: 0.5px solid rgba(20,24,95,.3);
    padding-bottom: 24px;
    margin-bottom: 25px;
}
.why-item{
    padding-bottom: 51px;
}
.why-item+.why-item {
    border-top: 0.5px solid var(--main-color);
    padding-top: 50px;
}
.why-txt{
    padding-right: 2px;
}
.footer{
    padding: 60px 0 10px;
    color: var(--back-color);
    position: relative;
    background: radial-gradient(#3A43F1, #2129CC);

}
.footer:before{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top:122px;
    bottom: 0;
    background: url("../img/back3.png") top center no-repeat;
}
.footer h2{
    margin-bottom: 32px;
}
.footer p{
    padding-right: 2px;
    opacity: .7;
}
.form-control{
    font-family: Poppins;
    outline:none;
    box-shadow:none;
    border:none;
    background: var(--back-color);
    border-radius: 12px!important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 12px 20px;
    font-size: 16px;
    color: var(--chat-color);
    margin-bottom: 20px;
    width: 100%;
}
input.form-control:focus, input.form-control:active {
    background: var(--back-color)!important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 24px var(--back-color) inset !important;
    -webkit-text-fill-color: var(--chat-color) !important;
    transition: background-color 5000s ease-in-out 0s;
    background-color: var(--back-color)!important;
}
:-moz-placeholder{color: var(--chat-color);}
:-ms-input-placeholder{color: var(--chat-color);}
::-moz-placeholder{color: var(--chat-color);}
::-webkit-input-placeholder{color: var(--chat-color);}

.form-header{
    font-weight: 600;
    font-size: 32px;
    color: var(--main-colorWhite);
    text-align: center;
    width: 100%;
    margin-bottom: 32px;
}
.form-control.form-control_full{
    width:100%;
}
.footer-form{
    margin: 40px 0;
    border: 2px solid transparent;
    padding: 45px 30px 39px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, #373ecd,#373ecd) padding-box,linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,0)) border-box;
    border-radius: 40px;
}
.submit-btn {
    margin: 10px auto;
    width: 100%;
}
.bottom-f{
    text-align: center;
    padding: 20px 0;
    position: relative;
}
.footer-flex{
    position: relative;
}
.jambo-bottom p{
    opacity: .7;
}
.chat-item{
    opacity: 0;
    -webkit-animation: fromOpacity .5s forwards;
    -webkit-animation-delay:1s ;
    animation: fromOpacity .5s forwards;
    animation-delay:1s ;
    position: relative;
    top:20px;
}
.chat-item:nth-child(2){
    -webkit-animation-delay:2s ;
    animation-delay:2s ;
}
.chat-item:nth-child(3){
    -webkit-animation-delay:3s ;
    animation-delay:3s ;
}
@-webkit-keyframes fromOpacity {
    from{opacity: 0;top:20px;}
    to{opacity: 1;top:0}

}
@keyframes fromOpacity {
    from{opacity: 0;top:20px;}
    to{opacity: 1;top:0}

}
@media (min-width:480px) {

    .logo {
        font-size: 27px;
    }

    .jambotron {
        padding: 92px 0 80px;
        background-position: top -63px center, center center;
    }

    .jambo-chat {
        margin: 23px 0 24px;
        padding-right: 5px;
    }
    .jambo-bottom {
        padding-bottom: 80px;
    }
    .why-choose {
        padding: 80px 0 27px;
    }
    .submit-btn {
        margin: 13px auto 10px;
    }
    .footer {
        padding: 80px 0 10px;
    }
    .footer-form{
        margin-bottom: 57px;
    }
    .form-control {
        width: 47.5%;
    }
    .footer:before {
        top: 65px;
    }

}
@media (min-width:768px) {
    h1 {
        font-size: 52px;
        max-width: 700px;
    }
    h2 {
        font-size: 32px;
        line-height: 1.2;
    }
    .jambotron {
        padding: 124px 0 80px;
        background-position: top -10px center, center center;
    }
    .chat-author {
        margin-right: 12px;
    }
    .chat-msg {
        font-size: 16px;
        padding: 16px 25px 20px 24px;
    }
    .jambo-chat{
        margin: 40px auto 40px;
        max-width: 630px;
    }
    .jambo-flex{
        display: flex;
        justify-content: space-between;
    }
    .flex-item{
        width: 48.5%;
    }
    .why-choose {
        padding: 80px 0 0px;
    }
    .why-list {
        margin: 64px 0 0;
    }
    .why-item {
        padding-bottom: 79px;
        display: flex;
        flex-flow: row-reverse;
        align-items: center;
        justify-content: space-between;
    }
    .why-item+.why-item {
        padding-top: 80px;
    }
    .why-txt {
        padding-right: 0;
        width: 44.5%;
    }
    .why-pic {
        margin-bottom: 0px;
        width: 44.5%;
    }
    .why-txt h3 {
        margin-bottom: 33px;
    }
    .form-control {
        width: 48%;
    }
    .footer-form {
        max-width: 560px;
        margin: 40px auto 55px;
    }
    .footer:before {
        top: 26px;
        background-size: 100% auto;
    }
}
@media (min-width:1024px) {
    .container {
        padding: 0 20px;
    }
    h2 {
        font-size: 40px;
    }
    h3 {
        font-size: 32px;
        margin-bottom: 18px;
    }
    .jambotron {
        background-position: top center, center center;
    }
    .jambotron,.jambo-bottom {
        padding-bottom: 100px;
    }
    .flex-item {
        width: 47%;
    }
    .why-choose {
        padding: 100px 0 18px;
    }
    .why-pic,.why-txt {
        width: 46%;
    }
    .footer-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 78px;
    }
    .footer-flex__item{
        width: 46.5%;
    }
    .footer-flex__item+.footer-flex__item{
        width: 46%;
    }
    .footer-form {
        margin: 0px auto 0px;
    }
    .footer {
        padding: 100px 0 10px;
    }
    .form-control {
        width: 47.5%;
    }
    .footer:before {
        top: 0;
        background-image: url(../img/back2.png);
        background-size: auto;
    }
}
@media (min-width:1200px) {
    .container {
        padding: 0;
        max-width: 1200px;
        margin: auto;
    }
    .flex-item {
        width: 47.5%;
    }
    .why-pic, .why-txt {
        width: 46.7%;
    }
    .why-choose {
        padding-bottom: 20px;
    }
    .footer-flex__item {
        width: 47%;
    }
    .footer-flex__item+.footer-flex__item {
        width: auto;
        flex: none;
    }
    .form-control {
        width: 48%;
    }
    .jambotron,.footer:before {
        background-size: 100% auto,auto;
    }
}
.btn-close__msg{
    position: absolute;
    width: 30px;
    height: 30px;
    top: 10px;
    right: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    box-shadow: none;
    outline: none;
    padding: 0;
    margin: 0;
    background: url(../img/close.svg) center center no-repeat;
    background-size: contain;
    cursor: pointer;
}
.success-msg{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--main-color);
    background: var(--back-color);
    width: 90%;
    max-width: 360px;
    height: 200px;
    display: none;
    flex-flow: column;
    text-align: center;
    align-items: center;
    padding: 20px;
    justify-content: center;
    z-index: 1;
    color: var(--main-color);
    border-radius: 40px;
}
form.sent .success-msg,form.error .success-msg{
    display: flex!important;
}
body.shaded{
    overflow: hidden;
}
body.shaded:before{
    content: '';
    position: fixed;
    top:0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(33,41,204,.7);
    z-index: 1;
}
.error-option{
    display: none;
}
form.error .success-option{
    display: none;
}
form.error .error-option{
    display: block;
}