@font-face {
    font-family:bebas;
    src: url(BEBAS.TTF); 
}
@font-face {
    font-family:Ubuntu;
    src: url(UbuntuLight/UbuntuLight.ttf);
    src: url(UbuntuLight/UbuntuLight.eot);
    src: url(UbuntuLight/UbuntuLight.woff); 
 }
@font-face {
    font-family:BebasNeue;
    src: url(BEBASNEUE BOLD.TTF); 
}
@font-face {
    font-family: BreeSerif;
    src: url(BreeSerif-Regular.ttf); 
}
p,h1,h2,h3 {
	margin:0;
}
body {
	margin:0;
	font-family: 'Ubuntu', sans-serif;
	background-color:#f4f4f4;
	background-size: cover;
}
header {
	height: 70px;
	background-color:#f4f4f4;
	background-size: cover;
}
 .clearfix:after{
	content: '';
	display: table;
	clear: both;
}

a {
	text-decoration: none;
}
.center_block{
	max-width:910px;
	width: 100%;
	margin:0 auto;
	position: relative;
}
.logo {
	left: 0;
	margin-top: 27px;
	font-size: 16px;
	color: #606060;
	padding-left: 48px;
	font-family: Ubuntu;
}

.logo,
.search {
	position: absolute;
	font-family: Ubuntu;
}

.logo:before {
	left: 0;
	background-color: #f98561;
	background-size: cover;
	border-radius: 50%;
}

.logo:before,
.logo:after {
	content: "";
	position: absolute;
	top: -2px;
	width: 20px;
	height: 20px;
	transition: 0.24s;
}

.logo:after {
	left: 23px;
	background-color: #23afc8;
	background-size: cover;
}
.logo:hover:after {
	border-radius: 50%;
}
.logo:hover:before {
	border-radius: 0;
}
.search {
	right: 0;
	color: #515862;
	font-size: 12px;
	margin-top: 29px;
	padding-right: 43px;
}
.search:after {
	content: "";
	position: absolute;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #f98561 url("../img/search.png") no-repeat center;
	background-size: 20px auto ;
	top:-12px;
	right:0;
	transition: .24s;
}

nav {
	display: inline-block;
	vertical-align: top;
}
header .center_block {
	text-align: center;
}
nav a {
	display: inline-block;
	line-height: 70px;
	margin:0 7px;
	padding: 0 15px;
	color:#515862;
	font-size: 14px;
	position: relative;
	transition: .24s;
	overflow: hidden;
	vertical-align: middle;
	transition: .24s
}
nav .active,
nav a:hover {
	background-color: #12a3d6;
	color:white;
}

nav a:before,
nav a:after {
	transition: .24s
}

nav a:before {
	content: "";
	position: absolute;
	height: 10px;
	width: 100%;
	left: 0;
	bottom:-20px;
	background-color: #0080b7;
}
nav a:after {
	content:"";
	border-width: 7px;
	border-style:solid;
	border-color:transparent transparent #0080b7 transparent;
	position: absolute;
	left: 50%;
	margin-left: -7px;
	bottom: -10px;
}

nav .active:before,
nav a:hover:before {
	bottom:0;
}
nav .active:after,
nav a:hover:after{
	bottom: 10px;
}
nav a:last-child:before,
nav a:last-child:after {
	display: none;
}
nav a:last-child {
	background-color: #f98561;
	border-radius: 6px;
	line-height: 25px;
	color:white;
}
.search:hover:after,
nav a:last-child:hover {
	background-color: #e87450;
}
.city {
	line-height: 295px;
	background: url("../img/city.png");
	text-align: center;
	opacity: 25%;
}
.city h1 {
	margin:0;
	color:white;
	font-size: 80px;
	text-transform: uppercase;
	text-align: center;
}
.h2 {
	text-align: center;
	margin-top: 34px;
	color: #2190c1;
	font-size: 50px;
	text-transform: uppercase;
	font-family: BebasNeue;
	
}
.who {
	text-align: center;
	margin-top: 34px;
}
/*Текст*/
.p1 {
	margin-top:27px;
	font-family: Ubuntu;
	font-size: 13px;
	font-weight: 700;
}
.p2 {
	font-family: Ubuntu;
	font-size: 13px;
	font-weight: 400;
}
/*Текст*/
.design {
	text-align: center;
	color: #515862;
	font-size: 70px;
	font-weight: 400;
	font-family: BebasNeue;
}
.others {
	width: 100%;
	border-bottom: 2px solid lightgray;
}
.border {
	border-bottom: 2px solid lightgray;
	border-top:1px solid lightgray;
	margin-top: 45px;
	
}
.info {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.info > div {
	border: 1px solid lightgray;
}
.block {
	max-width:227px;
	width: 100%;
	height: 290px;
	float:left;
	box-sizing: border-box;
	border-left:1px solid lightgray;
	padding-top: 135px;
}
.block:last-child {
	border-right: 1px solid lightgray;
}
.computer {
	background: url("../img/computer.png") no-repeat 50% 35px;
}
.phone {
	background: url("../img/phone.png") no-repeat 50% 20px;
}
.tv {
	background: url("../img/tv.png") no-repeat 50% 20px;
}
.month {
	background: url("../img/month.png") no-repeat 50% 35px;
}
.p1 {
	text-align:center;
	margin-top:45px; 
}
.p_log {
	text-align: center;
	color: #2190c1;
	font-family: BreeSerif;
	font-size: 20px;

}
.text {
	color: #515862;
	font-family: Ubuntu;
	font-size: 13px;
	padding:15px;
}
.content_border {
	border-left:1px solid lightgray;
	border-right:1px solid lightgray;
	
}
.user {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.team .center_block {
	max-width:888px;
	width: 100%;
	padding-bottom: 50px;
}
.team .h2 {
	margin-bottom: 50px;
}
.card {
	max-width: 382px;
	width: 100%;
	height: 290px;
	border:1px solid lightgray;
	padding:14px 13px;
	background: white;
	float:left;
	box-shadow: -10px -10px 0 #d3d3d3;
	margin-bottom: 55px;
}
.card:nth-child(odd) {
	margin-right:68px;
}
.card:nth-child(even) {
	box-shadow: 10px -10px 0 #d3d3d3;
}
.card .img {
	max-width: 105px;
	width: 100%;
	height: 118px;	
	background-color: #b5b5b5;
	float:left;
}
.img img {
	width: 105px;
	height: 118px;
}
.card_info p {
	text-align: center;
	color: #666;
	font-family: Ubuntu;
	font-size: 17px;
}
.card_log {
	font-family: BreeSerif;
}
.h3 {
	color: #2190c1;
	font-family: BebasNeue;
	text-align: center;
	text-transform: uppercase;	
	font-size:20px;
}
.mail {
	color: #94979b;
	font-family: BreeSerif;
	font-size: 13px;
	margin-top:2px;

}
.square_card {
	display: inline;
    float: right;
    margin-right: 70px;
    margin-top: 5px;	
}
.sky {
	background: #00a1e4;
	border-radius: 5px;
	width:25px;
	height: 24px;
	float:left;
	margin-left:10px;
}
.sky_blue {
	background: #29aecb;
	border-radius: 5px;
	width:25px;
	height: 24px;
	float:left;
	margin-left:10px;
}
.blue {
	background: #0481d9;
	border-radius: 5px;
	width:25px;
	height: 24px;
	float:left;
	margin-left:10px;
}
.orange {
	background: #f7941d;
	border-radius: 5px;
	width:25px;
	height: 24px;
	float:left;
	margin-left:10px;
}
.text_card {
	display: inline;
	font-family: BreeSerif;	
}
.card_text {
	display: inline-block;
	margin-top: 29px;
}
footer {
	background-color: #2e3e4f;
}
.foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
.twitter {
	max-width:195px;
	width: 100%;	
}
.footer_h3 {
	padding-top: 43px;
	padding-bottom: 25px;
	text-transform: uppercase;
	color: #f98561;
	font-family: BebasNeue;
	font-size: 20px;
}
.footer_p {
	color: #a3afb2;
	font-size: 12px;
    line-height: 1.5;
    font-family: Ubuntu;
}
footer .center_block a {
	color: #2190c1;
	font-size: 12px;

}
.newsletter {

	margin-left: 21px;
	max-width:247px;
	width: 100%;
}
input {
	max-width: 242px;
	width: 100%;
	line-height: 1.5;
}
.input_submit {
	margin-left: 186px;
    width: 60px;
    border-radius: 5px;
    background-color:#2190c1;
    color:#f4f4f4;
    border: none;
}
.line {
	line-height:2.5; 
}
.projects {

	margin-left: 37px;
	max-width: 210px;
	width: 100%;
	padding-left: 20px;
}
.white_square {
	width: 56px;
	height: 56px;
	background-color: #f4f4f4;
	float:left;
	margin-right:10px; 
} 	
.footer_p_p {
	color: #a3afb2;
	font-size: 12px;
    line-height: 1.5;
    float:right;
    font-family: Ubuntu;
}
.clearfix {
	clear: both;
}
.img {
	float:left;
}
.contact {
	margin-left: 34px;
	color:#a3afb2;
	font-size:12px;
	font-family: Ubuntu;
	max-width: 146px;
	width: 100%;
}
p {
	font-family: Ubuntu;
}
.text {
	text-align: center;
    color: #666;
    font-family: Ubuntu;
}
.style {
	color:#a3afb2;
	font-size:12px;
	font-family: Ubuntu;
	line-height: 1.5;
}
.footer_img_center {
	float:left;
	margin-right:8px;
}
hr {
	border-color: #556270;
}
.footer_number {
	padding: 5px 0 0 40px
}
.contact > div p {
	padding:5px 0 0 40px;
	line-height: 15px;
}
.contact > div:nth-of-type(2) p {
	padding:8px 0 0 40px;
}
.contact > div:nth-of-type(3) p {
	padding:0 0 0 40px;
}
.contact > div{
	margin-bottom: 15px;
}
.contact > div:nth-of-type(2){
	margin-bottom: 20px;
}
.contact > div:nth-of-type(3) img {
	margin-top: 3px;
}
.footer_img_top_left {
	float:left;
	margin-top:23px;
	margin-right:8px;
}
.footer_number_one {
	float:right;
	margin-top:23px;
	margin-right:8px;
}
.footer_img_sms {
	float:left;
	margin-top:31px;
	margin-right:7px;
	float:left;
}
.footer_mail_last {
	float:right;
	margin-top:23px;
	margin-right:8px;
}
.nav {
	list-style: none;
	padding: 0;
	margin:0;
}
.nav a {
color: white;
}

.nav-btn {
	display:none;
}
.adaptive {
	display: none;
	position: fixed;
	top:0;
	left: 0;
	z-index: 50;
	width:100%;
	height: 100%;
	background-color: #2e3e4f;
}
.adaptive.show {
	display:block;
}
header .center_block nav {
	display:inline;
	max-width:400px;
	width: 100%;
}


.contact:after {
	content: "";
	display: table;
	position: relative;
}
.nav-btn {
	display: block;
}
@media screen and (max-width: 921px) {
	header > .center_block > nav {
		display: none;
	}
	.adapt-click {
		position: absolute;
		top: 25px;
		left: 50%;
		transform: translate(-50%,0);
		display: block;
	}
	.adapt-click > div {
		width: 25px;
		height: 5px;
		margin-top: 2px;
		background-color: gray;
	}
	.adaptive > ul {
		text-align: center;
	}
	.adaptive > ul > li {
		list-style: none;
	}
	.adaptive > ul > li > a {
		color: white;
	}
	.close_mob_menu {
		position: absolute;
		right: 0;
		text-align: center;
		line-height: 25px;
		width: 25px;
		height: 25px;
		background-color: red;
	}	
}
@media screen and (max-width: 887px) {
	.card {
		box-shadow: none;
	}
	.card:nth-child(odd) {
		margin-right:0;
	}
	.card:nth-child(even) {
		box-shadow: none;
	}
}
@media screen and (max-width: 729px) {
	.city h1 {
		font-size: 60px;
	}
	.h2 {
		font-size: 40px;
	}
	.foot > div {
		float: none;
		width: 250px;
		margin:0;
	}
	.projects {
		padding-left: 0;
	}
}
@media screen and (max-width: 729px) {
	.city h1 {
		font-size: 55px;
	}
	.p2 {
		text-align: center;
	}
	.user > div {
		height: 100%;
	}
}
@media screen and (max-width: 651px) {
	
}
@media screen and (max-width: 600px) {
	.foot > div {
		text-align: left;
		display: block;
		max-width: 600px;
		width: 100%;
		margin-left: 10%;
	}
}
@media screen and (max-width: 400px){
	.square_card {
		margin-right: 65px;
	}

}
@media screen and (max-width: 360px) {
	.square_card {
		margin-right: 50px;
	}
}
@media screen and (max-width: 320px) {
	.square_card {
		margin-right: 25px;
	}
}	
}