@import url('https://fonts.googleapis.com/css?family=Kaushan+Script|Montserrat|Roboto');

/*common styles*/

.wrap {
	font-family: 'Montserrat', sans-serif;
}

a, 
a:hover,
a:focus {
	text-decoration: none;
}

ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

p {
	margin: 0;
}

blockquote {
	border: none;
}

.color--white {
	color: #ffffff;
}

.txt--up {
	text-transform: uppercase;
}

.font--kaushan {
	font-family: 'Kaushan Script';
}

.font--robotto {
	font-family: 'Roboto';
}

.section {
	max-width: 1920px;
}

.container {
	max-width: 1160px;
	margin: 0 auto;
}

.header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding-top: 110px;
	margin-bottom: 90px;
}

.header__title {
	font-weight: 300;
}

.header__sub {
	font-size: 30px;
	position: relative;
}

.header__sub:after {
	content: '';
	display: block;
	width: 60px;
	height: 4px;
	position: absolute;
	left: 50%;
	margin-top: 40px;
	background-color: #f38181;
	transform: translate(-50%, 0);
}

.header__text {
	color: #999999;
	font-size: 15px;
	line-height: 1.5;
	width: 90%;	
	margin-top: 90px;
}

/*end common styles*/

/*HERO*/

.hero {
	background-image: linear-gradient(to bottom, rgba(234, 131, 132, 0.9) 0%, rgba(241, 217, 139, 0.9) 100%), url(../img/banner-eagle.png);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 100%;
}

.hero .container {
	height: 100vh;
	min-height: 500px;
	position: relative;
}

.header__hero {
	display: flex;
	justify-content: space-between;
}

.hero__logo {
	font-size: 30px;
	padding-top: 2rem;
}

.hero__logo:hover{
	color: #fce48b;
}

.nav__container {
	display: flex;
}

.nav__menu {
	display: flex;
	justify-content: flex-end;
	padding-top: 38px;
}

.nav__item,
.icon__item {
	margin-right: 50px;
	font-size: 14px;
}

.nav__link:hover,
.nav__link:focus,
.icon__link:hover {
	color: #fce48b;
	padding-bottom: 12px;
  border-bottom: 4px solid #fce48b;
}

.nav__icon {
	display: flex;
	padding-top: 38px;	
}

.welcome__logo {
	text-align: center;
	position: absolute;
	top: 20%;
	left: 50%;
	transform: translate(-50%, 0);
}

.logo__title {
	font-size: 40px;
}

.logo__desc {
	font-size: 80px;
	margin-bottom: 40px;
}

.logo__btn {
	width: 160px;
	height: 40px;
	background: none;
	border: 4px solid #ffffff;
	position: relative;
}

.logo__btn:before {
	content: '';
	width: 60px;
	height: 4px;
	position: absolute;
	margin-top: -50px;
	background-color: #ffffff;
	transform: translate(25%, 0);
}

.logo__btn:hover {
	border-color: #f38181;
	color: #f38181;
}

.welcome__slider {
	position: absolute;
	bottom: 28px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: space-between;
}

.slider__item {
	position: relative;
	width: 20%;
	padding: 10px 0 0 0;
	border-top: 4px solid #ffffff;
}

.slider__numb {
	font-size: 20px;
}

/*END HERO*/

/*ABOut*/

.about__header {
	padding-top: 90px;
}

.gallery {
	display: flex;
}

.gallery__block {
	width: 33.33%;
	margin-right: 30px;
	margin-bottom: 110px;
}

.gallery__block:last-child {
	margin-right: 0;
}

.gallery__img {
	position: relative;
	font-size: 0;
	display: flex;
	flex-direction: column;
}

.gallery__back {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: #95e1d3;
  top: 0;
  left: 0;
  z-index: -1;
}

.gallery__item:hover .about__img {
  transform: translate(-10px,-10px);
}

.gallery__item:hover .gallery__front {
  transform: scale(1);
  transform: translate(-10px,-10px);
}

.gallery__front {
  font-size: 18px;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: -webkit-linear-gradient(top, rgba(243,129,129,0.9), rgba(252,227,138,0.9));
  z-index: 3;
  transform: scale(0);
  transform-origin: 50% 50%; 
  transition-delay: .2s;
}

.about__img {
	width: 100%;
	transition: transform .3s;
}

.front__icon--team {
	background: url(../img/users.png);
	width: 32px;
	height: 22px;
	margin-bottom: 10px;
}

.front__text {
	font-size: 18px;
}

/*END ABOut*/

/*FACTS*/

.facts {
	background: #95e1d3;
}

.facts__list {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.facts__item {
	padding: 85px 0;
	border-right: 1px solid rgba(255,255,255,0.3);
	opacity: 30%;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 20%;
}

.facts__item:first-child {
	border-left: 1px solid rgba(255,255,255,0.3);
}

.facts__numb {
	font-size: 72px;
	font-weight: 600;
	padding-bottom: 28px;
}

.facts__text {
	font-size: 14px;
	text-align: center;
}

/*END FACTS*/

/*SERVICE*/

.service .container {
	position: relative;
}

.service .container:after {
	content: '';
	width: 100%;
	height: 2px;
	position: absolute;
	top: 62%;
	background-color: #e5e5e5;
}

.service__list {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 32px;
}

.service__item {
	display: flex;
	width: 33.33%;
}

.service__desc {
	padding: 0 30px 100px 30px;
}

.service__title {
	font-size: 14px;
	font-weight: 600;
	color: #333333;
	padding-bottom: 20px;
}

.service__text {
	font-size: 15px;
	line-height: 1.6;
	color: #999999;
}

.service__icon {
	width: 34px;
	height: 32px;
	padding-right: 30px;
	background-repeat: no-repeat;
}

.icon__clock {
	background-image: url(../img/photography-icon.png);
}

.icon__web-design {
	background-image: url(../img/web-design-icon.png);
}

.icon__computer {
	background-image: url(../img/creativity-icon.png);
}

.icon__book {
	background-image: url(../img/seo-icon.png);
}

.icon__home {
	background-image: url(../img/css-html-icon.png);
}

.icon__digital {
	background-image: url(../img/digital-icon.png);
}

/*END SERVICE*/

/*DESIGN*/

.design {
	background-image: linear-gradient(rgba(243, 243, 243, 0.8), rgba(243, 243, 243, 0.8)), url(../img/banner-hills.png);
	background-size: cover;
	background-repeat: no-repeat;
}

.design .container {
	position: relative;
}

.design__img {
	text-align: center;
	font-size: 0;
}

.device__img--big {
	position: relative;	
	bottom: 0;
}

.design__img--small {
	position: absolute;
	bottom: -11%;
  right: 16%;
  z-index: 1;
}

/*END DESIGN*/

/*JOB*/

.job__container {
	display: flex;
	padding-bottom: 120px;
}

.job__feature {
	margin-left: 32px;
}

.job__img,
.job__feature {
	width: 50%;
	height: 100%;
}

.panel-group .panel {
	margin-bottom: 10px;
}

.panel-default>.panel-heading {
	background: #ffffff;
}

.panel-title {
	font-size: 14px;
	font-weight: 600;
	display: flex;
}

.panel-body {
	overflow: auto;
	height: 130px;
}

.job__icon {
	width: 32px;
	height: 32px;
	background-repeat: no-repeat;
	margin-right: 18px;
}

.icon__pic {
	background-image: url(../img/icon-pic.png);
}

.icon__creative {
	background-image: url(../img/creativity-icon2.png);
}

.icon__design {
	background-image: url(../img/web-design-icon2.png);
}

.job__link {
	align-self: center;
	display: block;
}

.job__text {
	font-size: 15px;
	line-height: 1.5;
	color: #999999;
	font-style: italic;
}

/*END JOB*/

/*QUOTE, QUOTE-SECOND*/

.quote {
	background: #f8f8f8;
}

.quote-second {
	background: #ffffff;
}

.quote .container,
.quote-second .container {
	position: relative;
}

.quote__container {
	padding: 70px 0;
}

.quote__arrow {
	width: 28px;
	height: 28px;
	background-image: url(../img/arrow.png);
	background-repeat: no-repeat;
	position: absolute;
	top: 50%;
}

.arrow__left {
	left: 0;	
	transform: translate(-50%, -50%) rotate(90deg);
}

.arrow__right {
	right: 0;	
	transform: translate(-50%, -50%) rotate(-90deg);
}

.quote__block {
	display: flex;
	justify-content: center;
	padding: 0 70px;
}

.quote__img {
	margin: auto;
}

.quote__blockquote {
	border: none;
}

.blockquote__text {
	font-size: 24px;
	line-height: 1.5;
	color: #999999;
	font-style: italic;
}

.blockquote__cite {
	font-size: 24px;
	font-style: normal;
	padding-left: 70px;
	position: relative;
}

.blockquote__cite:before {
	content: '';
	display: block;
	width: 60px;
	height: 4px;
	position: absolute;
	left: 0%;
	margin-top: 20px;
	background-color: #f38181;
}

/*END QUOTE, QUOTE-SECOND*/

/*TEAM*/

.front__view {
	display: flex;
}

.front__link {
	border-right: 1px solid rgba(0,0,0,0);
}

.front__icon {
	display: block;
	width: 30px;
	height: 30px;
	background: #fce38a;
	padding: 24px;
	background-repeat: no-repeat;
	background-position: center;
}

.icon--fb {
	background-image: url(../img/photo-icons/facebook-r.png);
}

.icon--fb:hover {
	background-image: url(../img/photo-icons/facebook-w.png);
  background-color: #f38181;	
}

.icon--tw {
	background-image: url(../img/photo-icons/twitter-r.png);
}

.icon--tw:hover {
	background-image: url(../img/photo-icons/twitter-w.png);
  background-color: #f38181;	
}

.icon--pn {
	background-image: url(../img/photo-icons/pinterest-r.png);
}

.icon--pn:hover {
	background-image: url(../img/photo-icons/pinterest-w.png);
  background-color: #f38181;	
}

.icon--in {
	background-image: url(../img/photo-icons/instagram-r.png);
}

.icon--in:hover {
	background-image: url(../img/photo-icons/instagram-w.png);
  background-color: #f38181;	
}

.gallery__caption {
  text-align: center;
  margin-top: 30px;
}

.gallery__name,
.gallery__subname {
  display: block;
}

.gallery__name {
	font-weight: bold;
}

.gallery__subname {
	font-size: 15px;
	color: #999999;
	font-style: italic;
	padding-top: 16px;
}

/*END TEAM*/

/*BADGES*/

.badges {
	background: #f8f8f8;
}

.badges__container {
	display: flex;
	justify-content: space-between;
	padding: 70px 0;
}

/*END BADGES*/

/*WORK*/

.work__container {
	display: flex;
	flex-wrap: wrap;
}

.work__block {
	width: 25%;
}

.work__img {
	width: 100%;
}

.work__item {
	position: relative;
}

.work__item:after {
	visibility: hidden;
	position: absolute;
	top: 0;
	content: '';
	opacity: 0;
	height: 100%;
	width: 100%;
	background: -webkit-linear-gradient(top, rgba(243,129,129,0.9), rgba(252,227,138,0.9));
	transition: visibility 0s, opacity 0.5s linear;
}

.work__item:hover:after {
  visibility: visible;
  opacity: 1;
}

.work__trans {
	display: none;
	flex-direction: column;
	align-items: center;
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translate(0, -50%);
	z-index: 99;
}

.work__item:hover .work__trans {
  display: flex;
}

.work__icon {
	background-image: url(../img/work-icon.png);
	background-repeat: no-repeat;
	width: 30px;
	height: 30px;
}

.work__title {
	font-size: 14px;
	padding: 16px 0;
}

.work__sub {
	font-family: 'Roboto';
	font-size: 15px;
	font-style: italic;
}

/*END WORK*/

/*CLIENTS*/

.clients__container {
	display: flex;
	flex-wrap: wrap;
}

.clients__block {
	width: 50%;
}

.clients__item {
	display: flex;
	padding-bottom: 70px;
}

.clients__img {
	padding-right: 30px;
	height: 100%;
}

.clients__data {
	display: flex;
	flex-direction: column;
	padding-right: 90px;
}

.clients__name {
	font-size: 14px;
	font-weight: bold;
}

.clients__position {
	font-size: 15px;
	font-style: italic;
	padding: 15px 0 50px 0;
	position: relative;
}

.clients__position:after {
	content: '';
	display: block;
	width: 60px;
	height: 4px;
	position: absolute;
	left: 0;
	margin-top: 20px;
	background-color: #f38181;
}

.clients__comment {
	font-size: 15px;
	color: #999999;
}

/*END CLIENtS*/

/*BLOG*/

.blog__container {
	display: flex;
	justify-content: space-between;
}

.blog__block {
	width: 30%;	
	padding-bottom: 120px;	
}

.blog__photo {
	position: relative;
}

.blog__img {
	width: 100%;
}

.blog__date {
	width: 60px;
	height: 70px;
	position: absolute;
	bottom: 10px;
	z-index: 3;
	background: #95e1d3;
	text-align: center;
	transform: translate(-25%, 0);
}

.date__numb {
	display: block;
	font-size: 30px;
	font-weight: bold;
}

.date__month {
	display: block;
	font-size: 15px;
	font-family: 'Roboto';
	font-style: italic;
}

.blog__title {
	height: 70px;
	font-size: 14px;
	font-weight: bold;
	padding: 20px 0;
}

.blog__sub {
	height: 120px;
	font-size: 15px;
	color: #999999;
	padding-bottom: 42px;
	position: relative;
}

.blog__sub:after {
	content: '';
	width: 100%;
	height: 1px;
	position: absolute;
	left: 0;
	bottom: 0;
	margin-bottom: 24px;
	background-color: #e5e5e5;
}

.blog__icon {
	display: flex;
}

.icon__views,
.icon__comments
 {
 	display: inline-block;
	width: 20px;
	height: 15px;
	background-repeat: no-repeat;
	vertical-align: middle;
}

.icon__views:hover,
.icon__comments:hover {
	opacity: .7;
}

.icon__views {
	background-image: url(../img/blog-views.png);
	margin-right: 6px;
}

.icon__comments {
	background-image: url(../img/blog-comments.png);
}

.icon__numb {
	margin-right: 18px;
	font-size: 15px;
	font-style: italic;
	color: #999999;

}

/*END BLOG*/

/*MAP*/

.map {
	background-image: linear-gradient(rgba(243, 243, 243, 0.8), rgba(243, 243, 243, 0.8)), url(../img/banner-map.png);
}

.map__container {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 60px 0;
}

.map__icon {
	width: 20px;
	height: 26px;
	background-image: url(../img/map-img.png);
}

.map__text {
	font-size: 24px;
	font-weight: bold;
	color: #f38181;
	position: relative;
	margin-top: 20px;
}

.map__text:after {
	content: '';
	display: block;
	width: 60px;
	height: 4px;
	position: absolute;
	left: 50%;
	margin-top: 24px;
	background-color: #f38181;
	transform: translate(-50%, 0);
}

/*END MAP*/

/*FOOTER*/

.footer {
	background: #f8f8f8;
}

.footer__container {
	display: flex;
	justify-content: space-between;
	padding: 70px 0;
}

.footer__block {
	width: 30%;
}

.footer__logo {
	display: block;
	font-size: 46px;
	color: #cccccc;
}

.footer__text {
	padding: 40px 0;
	font-size: 15px;
	color: #999999;
}

.footer__followers {
	display: block;
	padding-bottom: 20px;
}

.footer__followers b {
	font-size: 18px;
}

.footer__social {
	padding: 20px 0 40px 0;
	border-top: 1px solid #e5e5e5;
}

.social__text {
	font-size: 15px;
	font-style: italic;
	color: #999999;
	display: inline-block;
	padding-right: 20px;
}

.social__item {
	display: inline-block;
	width: 16px;
	height: 18px;
	background-repeat: no-repeat;
	background-position: center;
	margin-right: 10px;
	transition: transform .3s ease;
}

.social__item:hover {
	transform: scale(1.2,1.2);
}

.item--fb {
	background-image: url(../img/footer-icons/fb.png);
}

.item--tw {
	background-image: url(../img/footer-icons/twitter.png);
}

.item--in{
	background-image: url(../img/footer-icons/instagram.png);
}

.item--pi {
	background-image: url(../img/footer-icons/pinterest.png);
}

.item--go {
	background-image: url(../img/footer-icons/google-plus.png);
}

.item--yo {
	background-image: url(../img/footer-icons/youtube.png);
}

.item--dr {
	background-image: url(../img/footer-icons/dribbble.png);
}

.item--tr {
	background-image: url(../img/footer-icons/tumblr.png);
}

.footer__input {
	height: 40px;
	font-size: 15px;
	font-style: italic;
	border: 1px solid #e7e7e7;
	border-right: none;
	padding: 0 10px;
}

::-webkit-input-placeholder {
	color: #e7e7e7;
}

.footer__btn {
	height: 40px;
	background: #95e1d3;
	padding: 0 24px;
	border: none;
	font-weight: 600;
}

.footer__heading {
	margin-bottom: 40px;
}

.footer-blog__item {
	display: flex;
	align-items: center;
	padding-bottom: 30px;
}

.footer-blog__img {
	height: 100%;
}

.footer-blog__desc {
	padding-left: 20px;
}

.footer-blog__head {
	font-size: 12px;
	color: #333333;
	padding-bottom: 10px;	
}

.footer-blog__date {
	font-size: 13px;
	font-style: italic;
	color: #999999;
}

.footer__insta {
	margin-bottom: 20px;
}

.insta__img-more {
	font-size: 13px;
	font-style: italic;
	color: #333333;
}

.insta__img {
	width: 33%;
	height: 33%;
  padding: 1px;
  transition: transform .3s ease;
  cursor: pointer;
}

.insta__img:hover {
	transform: scale(1.1,1.1);
}

.footer__insta {
	display: flex;
	flex-wrap: wrap;
}

.footer__sign {
	font-size: 14px;
	color: #333333;
	text-align: center;
	padding: 24px 0;
	border-top: 1px solid #e5e5e5;
}

.sign--style {
	color: #f38181;
}

/*END FOOTER*/

/*MEDIA*/

@media (max-width: 1199px) {
	.container {
		margin: 0 20px;
		width: auto;
	}

	.footer__container {
		flex-direction: column;
	}

	.footer__block {
		width: 100%;
		margin-bottom: 20px;
	}
	
	.footer__logo,
	.footer__heading {
		text-align: center;
	}
}

@media (max-width: 991px) {
	.nav__menu {
		display: none;
	}

	.facts__item {
		width: auto;
	}

	.clients__block {
		width: 100%;
	}

	.clients__item {
		padding-bottom: 20px;
	}
	
	.clients__data {
		padding-right: 0;
	}
}

@media (max-width: 767px) {
	.header {
		padding-top: 20px;
	}

	.job__container {
		padding-bottom: 0;
	}

	.facts__list {
		flex-wrap: wrap;
	}
	
	.facts__item {
		width: 50%;
		padding: 0;
		height: 150px;
	}

	.facts__item,
	.facts__item:first-child {
		border: none;
	}

	.facts__item:nth-child(3) {
		width: 100%;
		order: -1;
	}

	.facts__numb {
		font-size: 50px;
		padding: 0;
	}

	.facts__text {
		font-size: 18px;
	}
	
	.service .container:after {
		display: none;
	}

	.service__item {
		width: 100%;
	}

	.service__desc {
		padding-bottom: 50px;
	}
	
	.design {
		display: none;
	}
	
	.job__container {
		flex-direction: column;
	}

	.job__img,
	.job__feature {
		width: 100%;
	}
	
	.job__feature {
		margin: 20px 0 0 0;
	}
	
	.quote__container,
	.quote__block {
		padding: 0;
	}
	
	.quote__img {
		display: none;
	}

	.blockquote__text,
	.blockquote__cite {
		font-size: 16px;
	}
	
	.gallery {
		flex-direction: column;
	}
	
	.gallery__block {
		width: 100%;
		margin-right: 0;
		margin-bottom: 40px;
	}
	
	.gallery__item:hover .about__img,
	.gallery__item:hover .gallery__front {
  	transform: none;
	}

	.gallery__front {
		display: none;
	}

	.gallery__back {
		position: static;
	}
	
	.front__text,
	.gallery__name,
	.gallery__subname {
		color: #333;
	}

	.front__icon {
		background: inherit;
	}

	.badges__container {
		flex-wrap: wrap;
		justify-content: flex-start;
		padding: 20px 0;
	}
	
	.badges__item {
		width: 33%;
		padding: 20px 0;
	}

	.work__block {
		width: 50%;
	}
	
	.work__item:hover .work__trans {
		display: none;
	}

	.work__item:hover:after {
  	visibility: hidden;
	}
	
	.blog__container {
		flex-direction: column;
	}

	.blog__block {
		width: 100%;
		padding-bottom: 40px;
	}

	.blog__title,
	.blog__sub {
		height: auto;
	}
}

@media (max-width: 575px) {
	.slider__text {
		font-size: 12px;
	}

	.slider__numb {
		display: none;
	}

	.logo__title {
		font-size: 24px;
	}
	
	.logo__desc {
		font-size: 40px;
	}

	.work__block {
		width: 100%;
	}

	.badges__item {
		width: 50%;
	}
	
	.quote__blockquote {
		padding: 0;
	}

	.quote__arrow {
		display: none;
	}

	.clients__img {
		display: none;
	}

	.social__text,
	.social__block {
		padding-top: 10px;
		display: block;
		text-align: center;
	}
}	

/*END MEDIA*/