*,
*: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%;
}

/* 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;
}
header,
main,
footer{
	padding: 43px 6% 50px;
	color:  rgba(96, 96, 110, 0.9);
	font-family: 'Montserrat', sans-serif;
}
.flex{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}


/*---------HEADER----------*/
.top{
	width: 100%;
	height: 500px;
	background: url("../assets/header-bg.jpg");
	background-size: cover;
	text-transform: uppercase;
	position: relative;
}
.top__logo{
	font-size: 18px;
	text-align: left;
}
.top__hamburger{
	position: absolute;
	top: 43px;
	right: 80px;
}
.top__hamburger:hover{
	cursor: pointer;
}
.top-title{
	font-size: 36px;
	text-align: center;
	margin: 210px 0 10px;
}
.top-nav{
	width: 100%;
	text-align: center;
}
.top-nav__links{
	font-size: 14px;
	color:  rgba(96, 96, 110, 0.9);
	margin: 0 4px;
}
.top-nav__links:hover{
	color: #000;
	border-bottom: 2px solid #000;
}


/*---------MAIN----------*/
.middle{
	padding: 100px 3.7% 10px;
}
.title{
	background: url("../assets/text-bg.png") no-repeat 0 100%;
	font-size: 30px;
	font-weight: 700;
	line-height: 40px;
	text-transform: uppercase;
	padding-left: 2px;
}
.small-title{
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 16px 0;
}
.text{
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 30px;
}
.description-flex-element{
	padding: 20px 30px;
	width: 50%;
	min-width: 350px;
	flex-grow: 1;
}
.benefits{
	padding: 130px 0 0;
}
.benefits .title{
	max-width: 252px;
	margin: auto;
}
.team .title{
	max-width: 284px;
	margin: 100px auto 0;
}
.benefits .text,
.team .text{
	max-width: 719px;
	margin: 15px 0 0;
}
.benefits > .text,
.team > .text{
	text-align: center;
	margin: 15px auto 100px;
}
.benefits .small-title{
	font-size: 18px;
	margin: 0;
	display: inline-block;
	vertical-align: 13%;
}
.benefits .flex{
	padding: 0 8px;
}
.benefits-flex-element{
	width: 33%;
	min-width: 300px;
	flex-grow: 2;
	padding: 0 22px 50px;
}
.benefits__icon{
	display: inline-block;
	width: 40px;
	height: 40px;
	background: #7beec7;
	font-size: 30px;
	color: #fff;
	margin: 0 15px 0 0;
	text-align: center;
}
.team .flex{
	padding: 0 15px;
}
.team-flex-element{
	padding: 15px;
}



/*---------FOOTER----------*/
.bottom{
	background-color:  #7beec7;
	padding: 45px 6%;
}
.bottom-flex-element{
	width: 48%;
	min-width: 300px;
	flex-grow: 1;
}
.bottom-flex-element:first-child{
	width: 52%;
	padding: 0 0 20px;
}
.bottom-flex-element:last-child{
	background: #fff;
	padding: 15px 20px;
	margin-top: 6px;
}
.bottom-flex-element:first-child .title{
	color: #fff;
	font-size: 27px;
	background: none;
	max-width: 487px;
}
.bottom-flex-element:last-child .title{
	font-size: 24px;
	background: none;
	max-width: 345px;
	line-height: 30px;
}
.bottom-flex-element:last-child .text{
	line-height: 21px;
	color: #999;
	margin: 8px 0 20px;
	max-width: 475px;
	font-size: 16px;
}
.bottom__btn{
	background-color:  #ffffff;
	width: 165px;
	height: 49px;
	color:  #7beec7;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	margin-top: 15px;
}
.bottom__btn:hover,
.bottom-form__submit:hover{
	background: rgba(96, 96, 110, 0.9);
	color: #fff;
}
.bottom-form__input{
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: none;
	width: 73.5%;
	min-width: 250px;
	height: 50px;
	flex-grow: 1;
	padding-left: 20px;
	font-size: 12px;
	text-transform: uppercase;
}
.bottom-form__submit{
	flex-grow: 1;
	background-color:  #7beec7;
	width: 26.5%;
	height: 50px;
	color:  #fff;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}
::-webkit-input-placeholder {color:#cdcdcd;}
::-moz-placeholder          {color:#cdcdcd;}
:-moz-placeholder           {color:#cdcdcd;}
:-ms-input-placeholder      {color:#cdcdcd;}