/*!
  * Item: IT Photographer Theme
  * Description: Personal Portfolio Website Template for Photographer
  * Author/Developer: Ihor Tryhuk
  * Version: v1.0.0
  */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
	--main-color: #ffc700;
	--dark-color: #181818;
	--light-color: #ffffff;
}

body {
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	line-height: 1.5;
	background: #e9e9e9;
	color: var(--dark-color);
}
body.hidden {
	overflow: hidden;
}
img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}
a, a:hover {
	color: var(--dark-color);
	text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
	position: relative;
	font-weight: 700;
	margin-bottom: 15px;
}
h1 {
	font-size: 32px;
}
h2 {
	font-size: 28px;
}
h3 {
	font-size: 24px;
}
h4 {
	font-size: 21px;
}
h5 {
	font-size: 18px;
}
h6 {
	font-size: 16px;
}
p {
	margin-bottom: 15px;
}
h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child, p:last-child {
	margin-bottom: 0;
}

ul li::marker {
	color: var(--main-color);
}

form {
  position: relative;
  padding: 0 30px;
}
.input-line {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

input,
textarea {
	background: #f7f7f7;
  color: var(--dark-color);
  padding: 10px 20px;
  border: 1px solid #f7f7f7;
  width: 100%;
  margin-bottom: 10px;
  outline: none;
  border-radius: 0;
}
.input-line input {
	width: calc(50% - 5px);
}
textarea {
	height: 80px;
}

.btn-main,
a.btn-main,
button.btn-main {
	display: inline-block;
	background: var(--main-color);
	padding: 12px 45px;
	color: var(--dark-color);
	border: 2px solid var(--main-color);
	font-weight: bold;
	outline: none !important;
	transition: .25s;
}
.btn-main:hover,
a.btn-main:hover,
button.btn-main:hover {
	color: var(--main-color);
	background: none;
}


.heading {
	display: inline-block;
	font-weight: 700;
  color: var(--main-color);
  margin-bottom: 50px;
  position: relative;
  padding-left: 110px;
}
.heading:before {
  content: '';
  background: var(--main-color);
  width: 95px;
  height: 1px;
  position: absolute;
  bottom: 5px;
  left: 0;
}


.wrapper {
	position: relative;
}

.header {
	position: sticky;
	width: 100%;
	border-bottom-color: var(--light-color);
	background: var(--light-color);
	z-index: 3;
	padding: 20px 0;
	top: 0;
	transition: .25s;
}
.header__inner {
	display: flex;
	align-items: center;
}
.header__logo {
	flex: 0 0 150px;
	max-width: 150px;
}


.main-menu {
	flex: 0 0 calc(100% - 150px - 200px);
	max-width: calc(100% - 150px - 200px);
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin: 0;
	padding: 0 60px;
	list-style: none;
}
.main-menu li {
	position: relative;
	margin-right: 60px;
}
.main-menu li:last-child {
	margin-right: 0;
}
.main-menu li a {
	color: var(--dark-color);
	transition: .25s;
}
.main-menu li a:after {
	content: '';
  background: var(--main-color);
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: .25s;
}
.main-menu li a.active:after,
.main-menu a:hover:after {
	width: 100%;
	opacity: 1;
}
.menu-toggled {
	position: relative;
	display: flex;
	align-items: center;
}
.menu-toggled button {
	-webkit-mask-image: url(../images/menu.svg);
  mask-image: url(../images/menu.svg);
	-webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  background-color: var(--dark-color);
  width: 36px;
  height: 36px;
  border: none;
  outline: none !important;
  transition: .25s;
}
.menu-toggled button:hover {
	background-color: var(--main-color);
}


.soc-links {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 0 0 200px;
	max-width: 200px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.soc-links li {
	position: relative;
	margin-right: 10px;
}
.soc-links li:last-child {
	margin-right: 0;
}
.soc-links li a {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--main-color);
	width: 32px;
	height: 32px;
	padding: 7px;
	transition: .25s;
}
.soc-links li a:before {
	content: '';
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  background-color: var(--dark-color);
  flex: 0 0 100%;
  max-width: 100%;
  height: 100%;
	transition: .25s;
}
li.soc-links__facebook a:before {
	-webkit-mask-image: url(../images/facebook.svg);
  mask-image: url(../images/facebook.svg);
}
li.soc-links__instagram a:before {
	-webkit-mask-image: url(../images/instagram.svg);
  mask-image: url(../images/instagram.svg);
}
li.soc-links__twitter a:before {
	-webkit-mask-image: url(../images/twitter.svg);
  mask-image: url(../images/twitter.svg);
}
li.soc-links__pinterest a:before {
	-webkit-mask-image: url(../images/pinterest.svg);
  mask-image: url(../images/pinterest.svg);
}
li.soc-links__linkedin a:before {
	-webkit-mask-image: url(../images/linkedin.svg);
  mask-image: url(../images/linkedin.svg);
}
.soc-links li a:hover {
	background: var(--light-color);
}




.main-block {
	position: relative;
	z-index: 1;
	background-image:url(../images/main-block-bg.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 720px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.main-block:before {
	content: '';
	/*background: rgba(11, 10, 14, 0.7);*/
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
}
.main-block > * {
	flex: 0 0 100%;
	max-width: 100%;
}
.main-block__content {
	position: relative;
	color: var(--light-color);
	max-width: 720px;
	text-align: center;
	margin: 0 auto 65px;
}
.main-block__content h1 {
	font-size: 48px;
	margin-bottom: 45px;
	text-shadow: 3px 3px 3px black;
}
.main-block__content p {
	font-weight: 500;
}
.main-block__button {
	text-align: center;
}






.about-us {
	position: relative;
	padding: 90px 0;
	z-index: 2;
}
.about-us__content {
  position: relative;
  background: var(--light-color);
  padding: 60px 80px;
  max-width: 800px;
  margin: 60px 0 60px auto;
}
.about-us__content h3,
.about-us__content h4,
.about-us__content h5,
.about-us__content h6 {
	font-weight: 500;
}
.about-us__img {
  height: calc(100% - 180px);
  position: absolute;
  width: 50%;
  left: 0;
  top: 90px;
}
.about-us__img img {
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 100%;
}
.about-us__button {
	position: relative;
}








.portfolio {
	position: relative;
  background: var(--light-color);
  padding: 90px 80px;
}
.portfolio__items {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: -30px;
}
.portfolio__item {
	display: none;
	margin-right: 30px;
	margin-bottom: 30px;
	height: 300px;
	flex: 0 0 calc((100% / 3) - (2 * 30px / 3));
  max-width: calc((100% / 3) - (2 * 30px / 3));
	transition: .25s;
}
.portfolio__item.show {
	display: block;
}
.portfolio__item:hover {
	cursor: pointer;
	transform: scale(1.05);
}
.portfolio__item:nth-child(3n) {
	margin-right: 0;
}
.portfolio__item a {
	width: 100%;
	height: 100%;
	display: block;
}
.portfolio__item img {
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 100%;
}
.portfolio__more {
	text-align: center;
	margin-top: 30px;
}





.offer {
	position: relative;
	padding: 90px 0;
}
.price-plan {
	background: var(--light-color)
}
.price-plan__item {
	position: relative;
	padding: 25px 0;
}
.price-plan__item-standart {
	background: #f9f9f9;
}
.price-plan__item h3 {
	padding: 0 15px;
	font-size: 21px;
	margin-bottom: 10px;
	text-align: center;
	font-weight: 600;
}
.price-plan__item-price {
	font-size: 42px;
  font-weight: bold;
  color: var(--main-color);
  padding: 0 15px;
  text-align: center;
  margin-bottom: 10px;
}
.price-plan__item-features {
	text-align: center;
  margin-bottom: 20px;
  padding: 0;
  list-style: none;
}
.price-plan__item-features li {
	padding: 8px 15px;
	border-bottom: 1px solid #efefef;
}
.price-plan__item-features li:last-child {
	border-bottom: none;
}
.price-plan__item-button {
	text-align: center;
}






.contacts {
	position: relative;
	background-image: url(../images/contacts-bg.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
	padding: 90px 0;
}
.contacts:before {
	content: '';
	/*background: rgba(11, 10, 14, 0.7);*/
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
}
.contacts__content .heading {
	color: var(--light-color);
}
.contacts__content .heading:before {
	background: var(--light-color);
}
.contacts__item {
  background: var(--main-color);
  padding-top: 50px;
  min-height: 450px;
}
.contacts__item-feedback {
	background: var(--dark-color);
}
.contacts__item p {
	color: var(--dark-color);
}
.contacts__item-name {
	position: relative;
	margin-bottom: 30px;
	font-size: 20px;
	font-weight: 700;
	padding-left: 145px;
	z-index: 1;
}
.contacts__item-feedback .contacts__item-name {
	color: var(--light-color);
}
.contacts__item-name:before {
	content: '';
	width: 220px;
	height: 47px;
	background: var(--light-color);
	position: absolute;
	left: 0;
	top: -7px;
	z-index: -1;
}
.contacts__item-feedback .contacts__item-name:before {
	background: var(--main-color);
}
.contacts__item-name:after {
	content: '';
  background: var(--dark-color);
  width: 30px;
  height: 1px;
  position: absolute;
  left: 100px;
  top: 16px;
}
.contacts__item-feedback .contacts__item-name:after {
	background: var(--light-color);
}
.contacts__item-phone,
.contacts__item-email,
.contacts__item-address {
	position: relative;
	font-size: 18px;
	padding-left: 145px;
	padding-right: 30px;
}
.contacts__item-phone a,
.contacts__item-email a,
.contacts__item-address span {
	position: relative;
}
.contacts__item-phone a:before,
.contacts__item-email a:before,
.contacts__item-address span:before {
  content: '';
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  background-color: var(--dark-color);
  width: 21px;
  height: 21px;
  position: absolute;
  left: -40px;
  top: 0px;
}
.contacts__item-phone a:before {
	-webkit-mask-image: url(../images/phone.svg);
  mask-image: url(../images/phone.svg);
}
.contacts__item-email a:before {
	-webkit-mask-image: url(../images/envelope.svg);
  mask-image: url(../images/envelope.svg);
}
.contacts__item-address span:before {
	-webkit-mask-image: url(../images/address.svg);
  mask-image: url(../images/address.svg);
}
.contacts__item-map {
	position: relative;
	padding: 0 15px;
}
.contacts__item-map iframe {
  width: 100%;
  height: 185px;
}
.formFeedback-result > div {
  margin-top: 30px;
  border: 2px solid #fff;
  color: #fff;
  padding: 10px;
}
.formFeedback-result > div.success {
	border-color: #298b00;
}




.footer {
	position: relative;
	background: var(--dark-color);
	color: var(--light-color);
	font-size: 14px;
	padding: 15px 0;
	z-index: 9;
}


.soc-fixed {
	position: sticky;
  bottom: 0;
  z-index: 9;
  background-color: var(--dark-color);
  padding: 15px 0;
}


.mobileMenu {
	position: fixed;
	overflow: hidden;
	opacity: 0;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: -99;
	transition: .25s;
}
.mobileMenu.show {
	opacity: 1;
	z-index: 99;
}
.mobileMenu-backdrop {
	position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgb(0 0 0 / 65%);
  z-index: 1;
}
.mobileMenu-container {
	background: #fff;
  position: absolute;
  z-index: 2;
  top: 0;
  right: -320px;
  max-width: 320px;
  width: calc(100% - 50px);
  height: 100%;
  overflow: auto;
  display: flex;
  align-items: center;
  transition: .25s;
}
.mobileMenu.show .mobileMenu-container {
	right: 0;
}
.mobileMenu-close {
	-webkit-mask-image: url(../images/close.svg);
  mask-image: url(../images/close.svg);
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  background-color: #fff;
  width: 28px;
  height: 28px;
  z-index: 3;
  outline: none !important;
  border: none;
  padding: 0;
  position: absolute;
  right: -28px;
  top: 12px;
  transition: .25s;
}
.mobileMenu-close:hover {
	background-color: var(--main-color);
}
.mobileMenu.show .mobileMenu-close {
	right: 332px;
}





@media (max-width: 1199px) {
	body {
		font-size: 15px;
	}
	h1 {
		font-size: 36px;
	}
	h2 {
		font-size: 28px;
	}
	.header__logo {
    flex: 0 0 120px;
    max-width: 120px;
	}
	.main-menu {
		padding: 0 40px;
	}
	.main-menu li {
		margin-right: 40px;
	}
	.main-block__content {
		margin-bottom: 40px;
	}
	.main-block__content h1 {
		margin-bottom: 3px;
	}
	.contacts__item-name {
		font-size: 18px;
		margin-bottom: 25px;
	}
	.contacts__item-name:before {
		height: 42px;
	}
}



@media (max-width: 991px) {
	h1 {
    font-size: 28px;
	}
	h2 {
		font-size: 24px;
	}
	h3 {
		font-size: 21px;
	}
	h4 {
		font-size: 18px;
	}
	h5 {
		font-size: 16px;
	}
	h6 {
		font-size: 15px;
	}
	.input-line input {
    width: 100%;
	}
	.main-menu {
		flex: 0 0 calc(100% - 120px - 180px);
    max-width: calc(100% - 120px - 180px);
    padding: 0 15px;
	}
	.main-menu li {
    margin-right: 15px;
	}
	.soc-links {
		flex: 0 0 180px;
		max-width: 180px;
	}
	.soc-links li {
		margin-right: 5px;
	}


	.heading {
		margin-bottom: 35px;
	}


	.main-block {
		min-height: 480px;
	}
	.main-block__content {
		margin-bottom: 20px;
	}
	.main-block__content h1 {
		font-size: 32px;
    margin-bottom: 15px;
	}


	.about-us {
		padding: 15px 0 60px;
	}
	.about-us__img {
		height: 480px;
    width: calc(100% - 30px);
    margin: auto;
    position: relative;
    top: 0;
	}
	.about-us__content {
		margin: -250px 0 0;
		padding: 60px;
	}


	.portfolio {
		padding: 60px 15px;
	}
	.portfolio__item {
		height: 220px;
	}


	.offer {
		padding: 60px 0;
	}
	.price-plan {
		margin-bottom: -30px;
		background: none;
	}
	.price-plan__item {
		margin-bottom: 30px;
		background: var(--light-color);
	}

	

	.contacts {
		padding: 60px 0;
	}
	.contacts__item {
    height: auto;
    min-height: auto;
    padding: 40px 0;
    margin: 0 auto 30px;
	}
	.contacts .row > .col-lg-6:last-child .contacts__item {
		margin-bottom: 0;
	}
	.contacts__item-name {
    padding-left: 100px;
	}
	.contacts__item-name:before {
    height: 36px;
    width: 150px;
	}
	.contacts__item-name:after {
		left: 65px;
		top: 11px;
		width: 25px;
	}
	.contacts__item-phone,
	.contacts__item-email,
	.contacts__item-address {
		padding-left: 100px;
	}
	.contacts__item-map {
		padding: 0 40px;
	}
}



@media (max-width: 767px) {
	.header {
		padding: 15px 0;
	}
	.header__inner {
		justify-content: space-between;
	}
	.header__logo {
    flex: 0 0 150px;
    max-width: 150px;
	}
	.main-menu {
		display: block;
		flex: 0 0 100%;
		max-width: 100%;
		padding: 30px;
	}
	.main-menu li {
		margin-right: 0;
		margin-bottom: 10px;
	}
	.main-menu li:last-child {
		margin-bottom: 0;
	}
	.main-menu li a {
		font-size: 18px;
		display: block;
	}

	.about-us__content {
		padding: 40px;
	}

	.portfolio__item {
		height: 180px;
		flex: 0 0 calc(50% - (1 * 30px / 2));
    max-width: calc(50% - (1 * 30px / 2));
	}
	.portfolio__item:nth-child(3n) {
		margin-right: 30px;
	}
	.portfolio__item:nth-child(2n) {
		margin-right: 0;
	}

	.soc-links {
		flex: 0 0 100%;
		max-width: 100%;
		justify-content: space-evenly;
	}
	.soc-links li {
    margin-right: 0;
	}
	.soc-links li a {
		width: 40px;
    height: 40px;
	}
	.footer {
		padding-top: 0;
	}
}


@media (max-width: 575px) {
	body {
		font-size: 14px;
	}
	h1 {
    font-size: 24px;
	}
	h2 {
		font-size: 21px;
	}
	h3 {
		font-size: 18px;
	}
	p {
		margin-bottom: 10px;
	}

	.heading {
		font-size: 21px;
		padding-left: 65px;
		margin-bottom: 20px;
	}
	.heading:before {
		width: 55px;
	}

	.main-block__content h1 {
		font-size: 28px;
	}

	.about-us__img {
		height: 360px;
	}
	.about-us__content {
    padding: 30px;
    margin: -100px 30px 0;
	}
}



@media (max-width: 480px) {
	.main-block__content h1 {
		font-size: 24px;
	}

	.portfolio__item {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}
	.contacts__item-name,
	.contacts__item-phone,
	.contacts__item-email,
	.contacts__item-address {
		padding-left: 35px;
		font-size: 16px;
	}
	.contacts__item-phone a:before,
	.contacts__item-email a:before,
	.contacts__item-address span:before {
		left: -25px;
		width: 17px;
    height: 17px;
	}
	.contacts__item-name:before {
		width: 100px;
	}
	.contacts__item-name:after {
		left: 10px;
		width: 15px;
	}
	.contacts__item-map {
    padding: 0 15px;
	}
}