:root {
	--duration--: 500ms ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	scrollbar-width: none;
	scroll-behavior: smooth;
}

input {
	outline: none;
}

html,
body {
	height: 100%;
	line-height: normal;
}

a {
	text-decoration: none;
	color: inherit;
	display: inline-block;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: 'Poppins', sans-serif;
	overflow-x: hidden;
	background: #3a414b;
	color: #ffe2c0;
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
}

.close {
	font-weight: 600;
	font-size: 25px;
	position: absolute;
	color: #ffe2c0;
	top: 5%;
	right: 5%;
	cursor: pointer;
}

.overlay,
.overlay-burger,
.overlay_btn {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: rgba(35, 32, 32, 0.753);
	backdrop-filter: blur(5px);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 99;
	transition: 300ms ease;
}

.container {
	max-width: 90%;
	margin: 0 auto;
}

.wrapper {
	overflow-x: hidden;
	background: #3a414b;
}

.flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

section {
	padding: 60px 0;
}

/* header styles */

.header {
	padding: 20px;
}

.line {
	height: 1vh;
	background: #ffe2c0;
	border-top: 2px solid #2b1702;
	border-bottom: 2px solid #2b1702;
}

.logo img {
	width: 120px;
}

.header_ul {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}
.header_li {
	font-size: 20px;
	font-weight: 600;
	text-transform: uppercase;
	transition: var(--duration--);
	padding-bottom: 2px;
	border-bottom: 1px solid transparent;
}

.header_li:hover {
	border-bottom: 1px solid #ffe2c0;
}
.header_btns {
	display: flex;
	align-items: center;
	gap: 25px;
}
.header_btn,
.header_btn-mob {
	font-size: 20px;
	padding: 5px 10px;
	border: 1px solid #ffe2c0;
	background: transparent;
	color: #ffe2c0;
	border-radius: 10px;
	transition: var(--duration--);
	cursor: pointer;
}

.header_btn:hover {
	background-color: #ffe2c0;
	color: #3a414b;
}
.header_btn-second {
	font-size: 20px;
	padding: 5px 15px;
	background-color: #ffe2c0;
	border: 1px solid #ffe2c0;
	color: #3a414b;
	border-radius: 10px 20px 20px 10px;
	transition: var(--duration--);
	cursor: pointer;
}

.header_btn-second:hover {
	background-color: transparent;
	color: #ffe2c0;
}

/* header styles */

/* main styles */

.main {
	background: url('./img/main/main_bg.webp');
	background-size: cover;
	background-position: top;
	background-repeat: no-repeat;
	position: relative;
	padding: 120px 0;
}

.left_img {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 3;
}

.right_img {
	position: absolute;
	bottom: 0;
	right: -80px;
	z-index: 3;
}

.main_center {
	margin: 0 auto;
	background: #3a414b;
	max-width: 650px;
	position: relative;
	padding: 50px 10px 20px;
}

.main_center img {
	width: 250px;
	position: absolute;
	top: -100px;
	left: -20px;
	z-index: 3;
}

.main_center-top--name {
	font-size: 30px;
	background: #ffe2c0;
	border-radius: 10px 20px 20px 10px;
	color: #3a414b;
	padding: 10px 20px 10px 60px;
	margin-left: -35px;
	position: absolute;
	z-index: 2;
	top: -25px;
	right: -25px;
	text-transform: uppercase;
}

.lozung {
	max-width: 45%;
	margin-left: auto;
	font-size: 22px;
	color: #fff;
	padding-bottom: 15px;
	border-bottom: 1px solid #ffe2c0;
	text-align: justify;
}

.main_center-content--left {
	padding: 35px 10px 0;
}

.main_center-h2 {
	text-align: center;
	font-size: 46px;
	text-transform: uppercase;
}

.main_center-p {
	font-size: 18px;
	text-align: justify;
}

.main_nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 10px 20px 10px 20px;
	max-width: 85vw;
	margin: 0 auto;
	background: #3a414b;
	border-radius: 20px;
	text-align: center;
}

.main_nav-item {
	display: grid;
	flex-direction: column;
	align-items: center;
	justify-items: center;
	justify-content: space-between;
	height: 280px;
	text-align: justify;
}

.main_nav-item img {
	width: 100px;
	height: 100px;
}

.main_nav-item h5 {
	color: #ffe2c0;
	font-size: 24px;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.main_nav-item p {
	color: #fff;
	font-size: 14px;
	max-width: 350px;
	height: 120px;
}

/* main styles */

/* about */

/* video */

.shape {
	width: 30%;
	height: 130vh;
	border-top-left-radius: 50vw;
	border-top-right-radius: 50vw;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	position: relative;
	margin: 0 auto;
	transition: 2s ease;
	overflow: hidden;
	margin-bottom: 120px;
}

.background-video {
	z-index: 1;
	height: 100%;
	width: 100%;
	position: absolute;
	inset: 0;
}

.background-video video {
	object-fit: cover;
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
}

.shape.expanded {
	width: 100%;
}

/* video */

.promo_text {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: justify;
	gap: 20px;
	font-size: 22px;
}

/* about */

/* logos */

@keyframes slide {
	0% {
		transform: translateX(0%);
	}
	50% {
		transform: translateX(-50%);
	}
	100% {
		transform: translateX(-100%);
	}
}

.carousel-container {
	padding-top: 30px;
	padding-bottom: 30px;
	display: flex;
	overflow: hidden;
}

.new-client-logo {
	opacity: 1;
	object-fit: contain;
	width: 150px;
	min-height: 50%;
	max-height: 100px;
	margin-top: 20px;
	margin-bottom: 20px;
	display: inline-block;
	overflow: visible;
}

.new-logo-slider {
	justify-content: space-around;
	min-width: 100%;
	display: flex;
	animation: slide 10s linear infinite;
}

.new-logo-slider--second {
	animation: slide 12s linear infinite;
}

/* logos */

/* videography */

.videography {
	padding: 60px 0 120px;
}

.videography_flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.section_title {
	font-family: 'Forum', serif;
	text-transform: uppercase;
	margin-bottom: 32px;
	font-size: 98px;
	font-weight: 400;
	line-height: 90%;
}

.section_text {
	color: #ffffff;
	max-width: 600px;
	text-align: justify;
}

.videography_video video {
	max-width: 800px;
	border-radius: 10px;
}

/* videography */

/* reviews */

.reviews {
	position: relative;
}

.review {
	background-color: transparent;
	padding: 20px;
	border-radius: 10px;
	border: 1px solid #ffe2c0;
	color: #fff;
	display: flex;
	align-items: start;
	gap: 50px;
	text-align: justify;
}

.left_side {
	display: flex;
	flex-direction: column;
	gap: 25px;
	max-width: 40%;
}

.right_side {
	display: flex;
	flex-direction: column;
	gap: 25px;
	padding-top: 25px;
	max-width: 56%;
}

.user_block {
	display: flex;
	align-items: center;
	gap: 20px;
}

.user_block h4 {
	color: #ffe2c0;
	font-size: 22px;
}

.user_logo {
	width: 120px;
}

.right_side h5 {
	color: #ffe2c0;
	margin-bottom: 15px;
	font-size: 20px;
}

.stars {
	display: flex;
	align-items: center;
	gap: 5px;
}

.stars img {
	width: 20px;
}

.request {
	padding-bottom: 20px;
	border-bottom: 1px solid #ffe2c0;
}

.reviews_img-cont {
	display: flex;
	align-items: start;
	justify-content: center;
	gap: 20px;
}

.reviews_img-cont img {
	max-width: 300px;
}

.swiper-container {
	width: 90%;
	margin: 60px auto 0;
	overflow: hidden;
}

.swiper-slide {
	display: flex;
	justify-content: center;
	align-items: center;
}

.swiper-button-next,
.swiper-button-prev {
	color: #ffe2c0;
	top: 65% !important;
	padding: 0 30px;
}

.slider-dots {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

.dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #ccc;
	margin: 0 5px;
	cursor: pointer;
}

.dot.active {
	background-color: #333;
}

/* reviews */

/* services */

.services_grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	justify-content: space-between;
	gap: 30px;
}

.services_img-cont {
	border-radius: 10px;
	width: 100%;
	transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	overflow: hidden;
}

.services_img-cont:hover {
	box-shadow: 0 60px 80px -10px #3a414b7a;
}

.services_item img {
	height: 300px;
	width: 100%;
	object-fit: cover;
	transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services_item img:hover {
	scale: 1.07;
}

.services_item-title {
	text-transform: uppercase;
	font-size: 25px;
	font-family: 'Forum', sans-serif;
	line-height: 104%;
	text-align: center;
	margin: 25px 0;
}

.services_item-desc {
	color: #fff;
	text-align: justify;
}

/* services */

/* contact */

form {
	max-width: 50vw;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
}

input {
	width: 48%;
	background: transparent;
	color: #ffe2c0;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	border: 1px solid #0000;
	border-radius: 80px;
	height: 60px;
	margin-bottom: 0;
	padding: 14px 28px;
	font-size: 12px;
	line-height: 130%;
	transition: border-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	border: 1px solid #ffe2c0;
	outline: none;
}

input::placeholder {
	color: #ffe2c0;
}
.tell_us {
	width: 100%;
}

form button {
	font-size: 20px;
	padding: 5px 15px;
	background-color: #ffe2c0;
	border: 1px solid #ffe2c0;
	color: #3a414b;
	border-radius: 80px;
	height: 60px;
	width: 50%;
	margin: 20px auto 0;
	transition: var(--duration--);
	cursor: pointer;
	font-weight: 600;
}

form button:hover {
	background-color: transparent;
	color: #ffe2c0;
}

.info_contacts {
	max-width: 50vw;
	margin: 50px auto 0px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.info_contacts-item {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 10px;
}

.info_contacts-item p {
	text-align: center;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	font-size: 10px;
	font-weight: 600;
	line-height: 130%;
}

.info_contacts-item a {
	text-transform: uppercase;
	font-family: 'Forum', sans-serif;
	text-decoration: underline;
	font-weight: 500;
	font-size: 30px;
}

/* contact */

/* footer */

.footer {
	padding: 120px 0 60px;
}

.grid-footer {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: start;
	justify-items: center;
}

footer h3 {
	font-family: 'Forum', sans-serif;
	font-size: 25px;
	margin-bottom: 25px;
	text-align: center;
}

.footer_ul {
	display: flex;
	gap: 15px;
	font-size: 18px;
	color: #fff;
	padding-top: 12px;
}

.footer_li {
	color: #fff;
	transition: var(--duration--);
	text-transform: uppercase;
	text-align: center;
}

.footer_li:hover {
	color: #ffe2c0;
}

.socials {
	display: flex;
	align-items: center;
	gap: 60px;
}

.socials img {
	transition: 300ms ease;
}

.socials img:hover {
	scale: 1.1;
}
/* footer */

.swiper_main {
	display: none;
}

main .swiper-button-next,
main .swiper-button-prev {
	top: 70% !important;
	padding: 0 85px;
}

main .swiper-button-next:after,
main .swiper-button-prev:after {
	font-size: 22px !important;
}

.burger-menu {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 24px;
	cursor: pointer;
	z-index: 1000;
}

.burger-menu span {
	display: block;
	width: 100%;
	height: 4px;
	background-color: #ffe2c0;
	transition: all 0.3s ease;
}

.burger-menu.open span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.open span:nth-child(2) {
	opacity: 0;
}

.burger-menu.open span:nth-child(3) {
	transform: rotate(-45deg) translate(9px, -9px);
}

.show {
	display: flex;
}

#scrollToTopBtn,
#openFormBTN {
	position: fixed;
	bottom: 20px;
	right: 20px;
	align-items: center;
	justify-content: center;
	background-color: #ffe2c0;
	color: white;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: none;
	z-index: 99;
	transition: 300ms ease;
}

#openFormBTN {
	bottom: 80px;
}

#scrollToTopBtn:hover,
#openFormBTN:hover {
	background-color: #f1c38e;
}

.slider {
	width: 500px;
	margin: 0 auto; /* Ширина контейнера */
	overflow: hidden; /* Скрываем элементы, выходящие за пределы */
	position: relative;
}

.slider-wrapper {
	display: flex;
	width: 100%;
	transition: transform 0.5s ease-in-out; /* Анимация при смене слайда */
}

.slider-item {
	min-width: 100%; /* Каждый слайд занимает 100% ширины контейнера */
}

.slider-item img {
	width: 100%; /* Изображения занимают всю ширину слайда */
	display: block;
	border-radius: 10px;
}

.formBtn {
	flex-wrap: nowrap;
	flex-direction: column;
}

.formBtn_contacts {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
}

.formBtn_btn {
	margin: 0;
}

.formBtn_bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
	width: 100%;
}

.formBtn_inputs {
	display: flex;
	flex-direction: column;
	gap: 25px;
	width: 65%;
}
.formBtn_inputs input {
	width: 100%;
}

@media screen and (max-width: 1600px) {
	.videography_video video {
		max-width: 100%;
	}

	.reviews_img-cont img {
		width: 220px;
	}
}

@media screen and (max-width: 1441px) {
	.lozung {
		max-width: 46%;
	}

	.main_nav-item img {
		width: 90px;
		height: 90px;
	}

	.main_nav-item h5 {
		margin-bottom: 0;
	}

	.main_nav-item {
		height: 310px;
	}
}

@media screen and (max-width: 1350px) {
	.main_nav-item {
		height: 350px;
	}

	.main_nav-item p {
		height: 150px;
	}

	.section_title {
		font-size: 80px;
	}

	.shape {
		height: 120vh;
		margin-bottom: 100px;
	}

	.review {
		gap: 25px;
	}
}

@media screen and (max-width: 1250px) {
	.swiper_main {
		display: block;
		background: #3a414b;
		border-radius: 10px;
		margin: 0 auto;
		padding: 25px 0;
		width: 95%;
	}
	.main_nav {
		display: none;
	}

	.main_nav-item {
		height: 250px;
	}

	.header .container {
		max-width: 100%;
	}

	.header_ul {
		gap: 20px;
	}

	.section_title {
		font-size: 60px;
	}

	.reviews_img-cont img:last-child {
		display: none;
	}

	.slider {
		width: 400px;
	}
}

@media screen and (max-width: 1050px) {
	.header_ul,
	.header_btns {
		gap: 15px;
	}
	.header_li {
		font-size: 18px;
	}

	.logo img {
		width: 100px;
	}

	.header_btn,
	.header_btn-second {
		font-size: 18px;
	}

	.carousel-container {
		min-width: 120px;
	}

	.new-logo-slider {
		min-width: 140%;
	}

	.new-client-logo {
		margin: 15px;
		width: 100px;
	}

	.videography_flex {
		flex-direction: column;
	}

	.section_title {
		text-align: center;
	}
	.section_text {
		max-width: 100%;
		font-size: 18px;
	}

	.videography {
		padding: 60px 0;
	}

	.services_grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.user_block h4 {
		font-size: 20px;
	}
	.right_side h5 {
		font-size: 18px;
	}
	.review p {
		font-size: 14px;
	}

	.user_block {
		flex-direction: column;
		align-items: start;
		gap: 0px;
	}

	.swiper-container {
		width: 85%;
	}

	.info_contacts {
		max-width: 90%;
	}

	.overlay form {
		max-width: 60vw;
	}

	form {
		max-width: 90%;
	}

	.socials {
		gap: 45px;
	}
}

@media screen and (max-width: 850px) {
	.main_nav-item {
		height: auto;
	}

	.burger-menu {
		display: flex;
	}

	.main_nav-item p {
		height: auto;
		width: 100%;
	}

	.header nav,
	.header_btns {
		display: none;
	}

	.main_center img {
		width: 220px;
	}

	.main_center {
		max-width: 500px;
	}

	.main_center-top--name {
		font-size: 22px;
	}

	.main_center-content--left {
		padding: 20px 10px 0;
	}

	.main_center-h2 {
		font-size: 36px;
	}

	.main_center-p {
		font-size: 16px;
	}

	.lozung {
		font-size: 18px;
	}

	.header_nav-mob {
		display: flex;
	}

	.header_ul {
		flex-direction: column;
		gap: 25px;
	}

	.header_btns-mob {
		display: flex;
		align-items: center;
		gap: 20px;
	}

	.header_li {
		font-size: 20px;
	}

	.header_btn {
		height: 39px;
	}

	.promo_text {
		font-size: 20px;
	}
	.new-logo-slider {
		min-width: 230%;
	}

	.services_grid {
		grid-template-columns: 1fr;
	}

	.shape {
		height: 100vh;
		margin-bottom: 80px;
	}

	.review {
		flex-direction: column;
		gap: 10px;
	}

	.left_side,
	.right_side {
		max-width: 100%;
	}

	.right_side {
		flex-direction: row;
		flex-wrap: wrap;
	}
	.right_side div {
		width: 48%;
	}

	.right_side div {
		width: 100%;
	}

	.request {
		border-bottom: none;
	}

	.footer_ul {
		flex-direction: column;
		gap: 17px;
	}

	.right_side .slider {
		width: 300px;
	}
}

@media screen and (max-width: 785px) {
	.right_side div {
		width: 100%;
	}

	#reviews .swiper-button-next,
	#reviews .swiper-button-prev {
		padding: 0;
	}

	.info_contacts-item a {
		font-size: 24px;
	}
}

@media screen and (max-width: 650px) {
	main .swiper-button-next,
	main .swiper-button-prev {
		top: 75% !important;
		padding: 0 30px;
	}

	.swiper-button-next:after,
	.swiper-button-prev:after {
		font-size: 22px !important;
	}

	.main_nav-item h5 {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.swiper_main {
		width: 95%;
	}

	.main_center {
		max-width: 85vw;
	}

	.main_center-top--name {
		font-size: 20px;
		text-align: right;
		width: 100%;
		right: -12px;
	}

	.main_center img {
		width: 180px;
		top: -105px;
		left: -15px;
	}

	.lozung {
		max-width: 65%;
	}

	.main {
		padding: 100px 0 75px;
		background-position: center;
	}

	.section_title {
		font-size: 50px;
	}

	input,
	form button {
		width: 100%;
	}

	.info_contacts-item a {
		font-size: 26px;
	}

	.info_contacts {
		flex-direction: column;
	}

	.container,
	form,
	.info_contacts {
		max-width: 95%;
	}

	.promo_text {
		font-size: 18px;
	}

	.socials {
		flex-direction: column;
		gap: 25px;
	}
	.formBtn_bottom {
		flex-direction: column;
		gap: 25px;
	}
	.formBtn_inputs {
		display: flex;
		flex-direction: column;
		gap: 25px;
		width: 100%;
	}

	.formBtn_contacts {
		gap: 25px;
		flex-direction: column;
	}
}

@media screen and (max-width: 550px) {
	.main_center img {
		width: 150px;
		top: -80px;
	}

	.main_center-h2 {
		font-size: 28px;
	}

	.new-client-logo {
		width: 80px;
	}

	.shape {
		height: 80vh;
		margin-bottom: 60px;
	}

	.swiper-container {
		width: 90%;
	}

	.swiper-button-next,
	.swiper-button-prev {
		display: none;
	}
}

@media screen and (max-width: 470px) {
	.main_center img {
		width: 130px;
		top: -55px;
	}

	.main_center {
		max-width: 90vw;
	}

	.lozung {
		max-width: 70%;
	}

	.main_center-top--name {
		font-size: 18px;
	}

	.right_side div:last-child {
		display: none;
	}

	.info_contacts-item a {
		font-size: 22px;
	}
}
