/* BASIC SETTINGS */

body, h1, h2, h3, div, p, a {
	margin: 0;
	padding: 0;
}
body {
	overflow-x: hidden;
}
.container {
	width: 1170px;
	margin: 0 auto;
}

/* HEADER */

.header {
	background: url(../img/header-bg.png) no-repeat;
	background-size: 100%;
	padding-top: 80px;
	padding-bottom: 215px;
}
.header-nav {
	display: flex;
	justify-content: space-between;
	width: 450px;
	margin-bottom: 290px;
	margin-left: auto;
}
.header-nav-burger {
	display: none;
}
.header-nav-exit {
	display: none;
	text-align: right;
	margin-right: auto;
}
.header-nav-item {
	background-image: linear-gradient(#4CAF50, #4CAF50);
	background-repeat: no-repeat;
	background-position: 100% 100%;
	background-size: 17px 2px; 
	transition: background-size .4s;
}
.header-nav-item a {
	text-decoration: none;
	text-transform: uppercase;
	font-family: Oswald;
	font-style: normal;
	font-weight: normal;
	font-size: 14px;
	line-height: 21px;
	letter-spacing: 1.94px;
	color: #FFFFFF;
	padding: 5px 0px;
}
.header-nav-item:hover {
	background-size: 100% 2px;
}
.header-title {
	text-transform: uppercase;
	font-family: Oswald;
	font-style: normal;
	font-weight: 500;
	font-size: 72px;
	line-height: 107px;
	text-align: center;
	letter-spacing: 4.608px;
	color: #FFFFFF;
	margin-bottom: 25px;
}
.header-text {
	font-family: Open Sans;
	font-style: normal;
	font-weight: normal;
	font-size: 20px;
	line-height: 27px;
	text-align: center;
	letter-spacing: 1.28px;
	color: #FFFFFF;
	mix-blend-mode: normal;
	opacity: 0.8;
}

/* SQUAD */

.squad {
	padding-top: 130px;
	padding-bottom: 115px;
}
.squad-content {
	background-image: url(../img/squad-bg.png);
	background-repeat: no-repeat;
	background-position: 50% 0%; 
	padding-top: 90px;
	padding-bottom: 80px;
}
.squad-title {
	text-transform: uppercase;
	font-family: Open Sans;
	font-style: normal;
	font-weight: 300;
	font-size: 42px;
	line-height: 57px;
	letter-spacing: 2.688px;
	color: #504E4E;
	margin-bottom: 35px;
}
.squad-title span {
	font-family: Oswald;
	font-style: normal;
	font-weight: bold;
	font-size: 36px;
	line-height: 53px;
	letter-spacing: 2.304px;
	color: #333333;
}
.squad-text-box {
	display: flex;
	justify-content: space-between;
	height: 260px;
}
.squad-text {
	width: 280px;
	font-family: Open Sans;
	font-style: normal;
	font-weight: 300;
	font-size: 15px;
	line-height: 25px;
	letter-spacing: 1.26px;
	color: #5B5858;
}
.squad-text-down {
	margin-top: auto;
}

/* OUR SERVICES */

.services {
	padding-top: 130px;
	padding-bottom: 135px;
	background-color: #FBFBFB;
}
.services-title {
	font-family: Oswald;
	font-style: normal;
	font-weight: bold;
	font-size: 48px;
	line-height: 71px;
	display: flex;
	align-items: flex-end;
	letter-spacing: 3.072px;
	color: #252525;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 0% 100%;
	background-size: 45px 2px;
	margin-bottom: 85px;
}
.services-content {
	display: flex;
	justify-content: space-between;
	width: 100%;
}
.services-content-item {
	padding: 50px 50px 35px 45px;
	background-image: linear-gradient(#70BF73, #70BF73);
	background-repeat: no-repeat;
	background-position: 100% 100%;
	background-size: 0% 3px;
	transition: background-size 0.4s;
	background-color: #fff;
}
.services-content-item:hover {
	background-size: 100% 3px;
}
.services-content-wrapper {
	display: flex;
	justify-content: space-between;
}
.services-content-item-title {
	font-family: Oswald;
	font-style: normal;
	font-weight: 300;
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 1.28px;
	text-transform: uppercase;
	color: #252525;
	padding-bottom: 15px;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 0% 100%;
	background-size: 35px 2px;
}
.services-content-item-text {
	font-family: Open Sans;
	font-style: normal;
	font-weight: normal;
	font-size: 12px;
	line-height: 25px;
	letter-spacing: 1.008px;
	color: #777;
	width: 280px;
	margin-top: 20px;
}
.services-content-item-img-box {
	width: 50px;
	height: 50px;
	border-radius: 100%;
	box-shadow: 0px 0px 20px #DBDBDB;
	display: flex;
	justify-content: center;
	align-items: center;
}
.services-content-item-read-more {
	font-family: Oswald;
	font-style: normal;
	font-weight: 300;
	font-size: 10px;
	line-height: 15px;
	letter-spacing: 0.64px;
	text-transform: uppercase;
	color: #777;
	mix-blend-mode: normal;
	opacity: 0.5;
	text-transform: uppercase;
	margin-top: 20px;
}
.services-content-item-read-more:hover {
	color: #252525;
	cursor: pointer;
}

/* LATEST WORKS */

.works {
	padding-top: 150px;
}
.works-content {
	display: flex;
	justify-content: space-between;
}
.works-content-mobile {
	display: none;
}
.works-content-half {
	width: 100%;
	display: flex;
	flex-direction: column;
}
.works-menu {
	margin-bottom: 160px;
}
.works-title {
	font-family: Oswald;
	font-style: normal;
	font-weight: bold;
	font-size: 48px;
	line-height: 71px;
	display: flex;
	align-items: flex-end;
	letter-spacing: 3.072px;
	color: #252525;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 0% 100%;
	background-size: 45px 2px;
	margin-bottom: 85px;
}
.works-menu-wrapper {
	display: flex;
	justify-content: space-between;
	width: 100%;
}
.works-menu-item a {
	font-family: Open Sans;
	font-style: normal;
	font-weight: normal;
	font-size: 13px;
	line-height: 18px;
	letter-spacing: 0.832px;
	color: #252525;
	mix-blend-mode: normal;
	opacity: 0.3;
	text-decoration: none;
	text-transform: uppercase;
	display: flex;
}
.works-menu-item a:hover {
	font-weight: 600;
}
.works-item {
	padding-top: 270px;
	background-repeat: no-repeat;
	padding-bottom: 175px;
}
.works-item-title-left {
	font-family: Open Sans;
	font-style: normal;
	font-weight: 300;
	font-size: 18px;
	line-height: 25px;
	display: flex;
	align-items: flex-end;
	letter-spacing: 1.152px;
	color: #252525;
	padding-top: 200px;
}
.works-item-text-left {
	font-family: Open Sans;
	font-style: normal;
	font-weight: 300;
	font-size: 13px;
	line-height: 23px;
	display: flex;
	align-items: center;
	letter-spacing: 0.832px;
	color: #C2C2C2;
	width: 335px;
	margin-top: 20px;
}
.works-item-title-right {
	font-family: Open Sans;
	font-style: normal;
	font-weight: 300;
	font-size: 18px;
	line-height: 25px;
	letter-spacing: 1.152px;
	color: #252525;
	padding-top: 200px;
	text-align: right;
	margin-left: auto;
}
.works-item-text-right {
	font-family: Open Sans;
	font-style: normal;
	font-weight: 300;
	font-size: 13px;
	line-height: 23px;
	display: flex;
	letter-spacing: 0.832px;
	color: #C2C2C2;
	width: 335px;
	margin-top: 20px;
	text-align: right;
	margin-left: auto;
}
.works-item-category-left {
	font-family: Oswald;
	font-style: normal;
	font-weight: 300;
	font-size: 48px;
	line-height: 71px;
	letter-spacing: 3.072px;
	text-transform: uppercase;
	color: #252525;
	float: right;
	width: 100%;
	text-align: right;
}
.works-item-category-right {
	font-family: Oswald;
	font-style: normal;
	font-weight: 300;
	font-size: 48px;
	line-height: 71px;
	letter-spacing: 3.072px;
	text-transform: uppercase;
	color: #252525;
	float: left;
	width: 100%
}
.works-cat {
	background-image: url(../img/works-cat.png);
	background-position: 0% 0%;
}
.works-macbook {
	background-image: url(../img/works-macbook.png);
	background-position: 0% 0%;
}
.works-photo {
	background-image: url(../img/works-photo.png);
	background-position: 100% 0%;
}
.works-imac {
	background-image: url(../img/works-imac.png);
	background-position: 100% 0%;
}

/* TEAM */

.team {
	padding-top: 130px;
	background-color: #FBFBFB;
}
.team-title {
	font-family: Oswald;
	font-style: normal;
	font-weight: bold;
	font-size: 48px;
	line-height: 71px;
	display: flex;
	align-items: flex-end;
	letter-spacing: 3.072px;
	color: #252525;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 0% 100%;
	background-size: 45px 2px;
	margin-bottom: 70px;
}
.team-content {
	width: 100%;
	display: flex;
	justify-content: space-between;
	margin-bottom: 167px;
}
.team-person {
	width: 370px;
	height: 398px;
	overflow-y: hidden;
}
.team-person-1 {
	background: url(../img/team-person-1.png) no-repeat;
	background-size: 100%;
}
.team-person-2 {
	background: url(../img/team-person-2.png) no-repeat;
	background-size: 100%;
}
.team-person-3 {
	background: url(../img/team-person-3.png) no-repeat;
	background-size: 100%;
}
.team-person-info {
	height: 37px;
	overflow-y: hidden;
	background: #FFFFFF;
	mix-blend-mode: normal;
	opacity: 0.5;
	padding-top: 15px;
	transition: .4s;
	margin-top: 347px;
	float: bottom;
}
.team-person-name {
	font-family: Oswald;
	font-style: normal;
	font-weight: 300;
	font-size: 18px;
	line-height: 27px;
	letter-spacing: 1.152px;
	color: #252525;
	text-align: center;
	text-transform: uppercase;
	display: flex;
	justify-content: center;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 50% 100%;
	background-size: 45px 2px;
	padding-bottom: 11px;
}
.team-person-role {
	font-family: Oswald;
	font-style: normal;
	font-weight: 300;
	font-size: 18px;
	line-height: 27px;
	display: flex;
	letter-spacing: 1.152px;
	color: #252525;
	justify-content: center;
	margin-top: 17px;
}
.team-person-phrase {
	font-family: Open Sans;
	font-style: normal;
	font-weight: normal;
	font-size: 12px;
	line-height: 25px;
	display: flex;
	align-items: center;
	text-align: center;
	letter-spacing: 1.008px;
	color: #777777;
	justify-content: center;
	margin-top: 15px;
}
.team-person-info:hover {
	height: 150px;
	margin-top: 234px;
	background: #FFFFFF;
	mix-blend-mode: normal;
	opacity: 0.92;
}
.team-slider-box {
	background-color: #fff;
	display: flex;
	width: 100%;
	justify-content: center;
	flex-direction: column;
	padding: 117px 0px;
}
.team-slider-img {
	display: block;
	margin: 0 auto;
}
.team-slider-text {
	font-family: Open Sans;
	font-style: normal;
	font-weight: 300;
	font-size: 14px;
	line-height: 31px;
	display: flex;
	align-items: center;
	text-align: center;
	letter-spacing: 0.896px;
	color: #373737;
	margin: 0 auto;
	margin-bottom: 30px;
	width: 735px;
}
.team-slider-wrapper {
	margin-top: 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.team-slider {
	width: 510px;
	background-image: linear-gradient(#D8D8D8, #D8D8D8);
	background-repeat: no-repeat;
	background-size: 100% 1px;
	background-position: 0% 100%;
	overflow-x: hidden;
}
.team-slider-item-text {
	font-family: Oswald;
	font-style: normal;
	font-weight: normal;
	font-size: 18px;
	line-height: 27px;
	text-align: center;
	letter-spacing: 1.152px;
	color: #373737;
}
.team-slider-track {
	display: flex;
	transition: .3s;
}
.team-slider-item {
	display: flex;
	justify-content: center;
	flex-direction: column;
	min-width: 510px;
}
.team-slider-item-text span {
	font-weight: 300;
}
.team-slider-item-stars {
	display: flex;
	justify-content: space-between;
	width: 100px;
	margin: 0 auto;
	margin-top: 25px;
	margin-bottom: 30px;
}
.team-slider-button-next:hover {
	cursor: pointer;
}
.team-slider-button-prev:hover {
	cursor: pointer;
}

/* CONTACTS */

.contacts {
	background-color: #2E2E2E;
}
.contacts-wrapper {
	display: flex;
	justify-content: space-between;
}
.contacts-first {
	width: 100%;
	text-align: center;
	align-items: center;
	justify-content: center;
	padding-top: 70px;
	padding-bottom: 100px;
	background-color: #FBFBFB;
	flex-direction: column;
}
.contacts-second {
	width: 100%;
	text-align: center;
	align-items: center;
	justify-content: center;
	padding-top: 70px;
	padding-bottom: 100px;
	background-color: #70BD59;
	flex-direction: column;
}
.contacts-first-title {
	font-family: Oswald;
	font-style: normal;
	font-weight: normal;
	font-size: 24px;
	line-height: 36px;
	display: flex;
	text-align: center;
	letter-spacing: 2.66667px;
	color: #373737;
	justify-content: center;
	padding-top: 15px;
}
.contacts-second-title {
	font-family: Oswald;
	font-style: normal;
	font-weight: normal;
	font-size: 24px;
	line-height: 36px;
	display: flex;
	text-align: center;
	letter-spacing: 2.66667px;
	color: #FFFFFF;
	justify-content: center;
	padding-top: 15px;
}
.contacts-first-text {
	font-family: Open Sans;
	font-style: normal;
	font-weight: 300;
	font-size: 14px;
	line-height: 19px;
	display: flex;
	align-items: flex-end;
	text-align: center;
	letter-spacing: 1.55556px;
	color: #373737;
	mix-blend-mode: normal;
	opacity: 0.8;
	justify-content: center;
	padding-top: 22px;
}
.contacts-second-text {
	font-family: Open Sans;
	font-style: normal;
	font-weight: 300;
	font-size: 14px;
	line-height: 19px;
	display: flex;
	align-items: flex-end;
	text-align: center;
	letter-spacing: 1.55556px;
	color: #FFFFFF;
	mix-blend-mode: normal;
	opacity: 0.8;
	justify-content: center;
	padding-top: 22px;
}
.contacts-footer {
	display: flex;
	padding-top: 140px;
	padding-bottom: 80px;
	justify-content: center;
	flex-direction: column;
	text-align: center;
}
.contacts-footer-text {
	font-family: Oswald;
	font-style: normal;
	font-weight: 300;
	font-size: 13px;
	line-height: 19px;
	display: flex;
	align-items: flex-end;
	letter-spacing: 0.832px;
	color: #FFFFFF;
	mix-blend-mode: normal;
	opacity: 0.5;
	justify-content: center;
}
.contacts-footer-a-box {
	display: flex;
	justify-content: space-between;
	width: 140px;
	margin: 0 auto;
	margin-top: 40px;
}
.footer {
	background-color: #252525;
	padding: 20px 0px;
}
.footer p {
	font-family: Oswald;
	font-style: normal;
	font-weight: 300;
	font-size: 13px;
	line-height: 19px;
	display: flex;
	align-items: flex-end;
	letter-spacing: 0.832px;
	color: #FFFFFF;
	mix-blend-mode: normal;
	opacity: 0.5;
	justify-content: center;
}

/* MEDIA QUERIES */

@media screen and (max-width: 1200px) {
	.container {
		width: 960px;
	}
	.services-content-item {
		width: 20%;
	}
	.services-content-item-text {
		width: 80%;
	}
	.works-content {
		display: none;
	}
	.works-content-mobile {
		display: flex;
		justify-content: center;
		flex-direction: column;
	}
	.team-person {
		width: 20%;
		height: auto;
	}
	.team-person-info {
		margin-top: 80%;
	}
	.team-person-info:hover {
		margin-top: 22%;
	}
	.team-slider {
		width: 40%;
	}
	.team-slider-text {
		width: 60%;
	}
	.header-nav {
		margin-bottom: 100px;
	}
}
@media screen and (max-width: 992px) {
	.container {
		width: 720px;
	}
	.header-nav {
		margin: 0 auto;
		margin-bottom: 50px;
	}
	.header-title {
		font-size: 40px;
	}
	.services-content {
		flex-direction: column;
	}
	.services-content-item {
		width: 80%;
		margin-right: auto;
		margin-bottom: 20px;
	}
	.team-content {
		flex-direction: column;
	}
	.team-person {
		width: 80%;
		margin: 0 auto;
		margin-bottom: 60px;
	}
	.team-person-info:hover {
		margin-top: 60%;
	}
}
@media screen and (max-width: 768px) {
	.container {
		width: 540px;
	}
	.header-text {
		display: none;
	}
	.header {
		padding-bottom: 0;
		padding-top: 60px;
	}
	.services-title {
		justify-content: center;
		background-position: 50% 100%;
	}
	.team-title {
		justify-content: center;
		background-position: 50% 100%;
	}
	.works-title {
		justify-content: center;
		background-position: 50% 100%;
	}
	.header-nav {
		display: none;
		justify-content: center;
		flex-direction: column;
		width: auto;
		z-index: 10;
		border-radius: 10px;
		margin: 0;
		position: fixed;
		top: 50px;
		right: 30px;
		background-color: rgba(0, 0, 0, .4);
		padding: 40px;
	}
	.header-nav-item {
		margin: 20px 0px;
		width: auto;
		background-position: 0% 100%;
		padding-bottom: 5px;
		background-image: linear-gradient(#fff, #fff);
	}
	.header-nav-item a {
		font-size: 40px;
	}
	.header-nav-exit {
		display: flex;
		width: auto;
		padding-bottom: 5px;
	}
	.header-nav-exit a {
		margin-bottom: 5px;
	}
	.header-nav-burger {
		height: 60px;
		width: 60px;
		display: flex;
		position: fixed;
		top: 50px;
		right: 50px;
	}
}
@media screen and (max-width: 576px) {
	.container {
		width: 95%;
	}
	.team-person-info:hover {
		margin-top: 53.3%;
	}
	.team-slider-button-prev {
		margin-left: 20px;
	}
	.team-slider-button-next {
		margin-right: 20px;
	}
	.contacts-first-title, .contacts-second-title {
		font-size: 15px;
	}
	.works-item-category-right, .works-item-category-left {
		font-size: 30px;
	}
	.works-menu-wrapper {
		display: none;
	}
}
@media screen and (max-width: 490px) {
	.header {
		padding-top: 20px;
	}
	.header-title {
		font-size: 30px;
	}
	.squad-content {
		background-image: url(../img/squad-bg-mobile.png);
	}
	.team-slider {
		width: 100%;
	}
}
@media screen and (max-width: 410px) {
	.header-title {
		font-size: 25px;
		line-height: 55px;
	}
	.team-slider-item-text span {
		display: block;
	}
	.works-item-text-right {
		float: right;
	}
	.services-content-item {
		width: 300px;
		padding: 10px 0px 10px 10px;
	}
	.services-content-item-img-box {
		display: none;
	}
	.works-item {
		padding-top: 120px;
	}
	.works-item-title-right, .works-item-title-left {
		margin-top: 150px;
	}
	.works-item-text-left, .works-item-text-right {
		width: 90%;
	}
}