*,
*:before,
*:after{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
html{
    width: 100%;
    height: 100%;
}
body{
    width: 100%;
    height: 100%;
    background-color: #bdc3d9;
    padding: 120px 0;
}

/* Layout */
.ba-container{
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1200px;
}
/* Typography */
a,
input[type="submit"],
input[type="button"],
button{
    -webkit-transition: color .3s ease-in, border-color .3s ease-in, background-color .3s ease-in, opacity .3s ease-in;
    -moz-transition: color .3s ease-in, border-color .3s ease-in, background-color .3s ease-in, opacity .3s ease-in;
    transition: color .3s ease-in, border-color .3s ease-in, background-color .3s ease-in, opacity .3s ease-in;
}
input[type="submit"],
input[type="button"],
button,
.ba-button{
    display: inline-block;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {

    -webkit-transition: color .3s ease-in, border-color .3s ease-in, background-color .3s ease-in, opacity .3s ease-in;
    -moz-transition: color .3s ease-in, border-color .3s ease-in, background-color .3s ease-in, opacity .3s ease-in;
    transition: color .3s ease-in, border-color .3s ease-in, background-color .3s ease-in, opacity .3s ease-in;
}
.container{
    font-family: 'Lato', sans-serif;
    position: relative;
    border-radius: 24px;
    background-color:  #353a45;
    box-shadow: 13px 23px 49px 0 rgba(35, 70, 133, 0.28);
    max-width: 666px;
    min-height: 383px;
    margin: auto;
    text-align: center;
    padding: 45px 0 30px;
    z-index: 1;
}
.logo{
    background: url('../assets/letter.png') no-repeat 50%, linear-gradient(59deg, #47aae6 4%, #9372bf 96%);
    box-shadow: 1px 3px 0 0 rgba(0, 0, 0, 0.13);
    width: 92px;
    height: 92px;
    border-radius: 50%;
    position: absolute;
    top: -48px;
    left: 43%;
}
.close-btn{
    position: absolute;
    right: 11px;
    top: 11px;
}
.close-btn:hover{
    transform: scale(1.1);
}
.title{
    color:  #538fff;
    font-size: 48px;
    font-weight: 700;
    line-height: 80px;
}
.description{
    color:  #fff;
    font-size: 22px;
    margin-top: 5px;
}
.flex-form{
    max-width: 560px;
    margin: 35px auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.flex-container{
    width: 385px;
    height: 66px;
    padding: 7px;
    flex-grow: 1;
}
.flex-container:nth-child(2){
    width: 175px;
}
.flex-form__input{
    border-radius: 10px;
    border: 1px solid #c4c4c4;
    background-color:  #fff;
    width: 100%;
    height: 52px;
    color:  #a9a9a9;
    font-size: 20px;
    padding-left: 16px;
    flex-grow: 1;
}
.flex-form__submit{
    border-radius: 10px;
    background-color:  #538fff;
    width: 100%;
    height: 52px;
    color:  #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
    letter-spacing: 0.13em;
}
.flex-form__submit:hover{
    background: linear-gradient(59deg, #47aae6 4%, #9372bf 96%);
    color: #d1abff;
}
.footer-description{
    color:  #787d87;
    font-size: 20px;
    font-style: italic;
}