body {
	margin: 0;
	font-family: 'Lato', sans-serif;
	font-family: 'Open Sans', sans-serif;
	width:100%;
	overflow-x:hidden;
}


.container {
	margin-right: 405px;
	margin-left: 405px;
	/*margin: 0px 415px; */
	/*отступ от левого края в контейнере*/
}

.header {
	background-image: url('../img/bg.jpg');
	height: 100vh; /*//фоновая картинка по рахмеру экрана любого*/
	background-repeat: no-repeat; /*//картина не повторяется, если не хватает размера*/
	background-size: cover; /*//картинка на весь экран равномерно*/
}

.header-line {
	width: 1110px;
	padding-top: 50px; /*меню от края верха отодвинули*/
	display: flex; /*все элементы меню располог в линию*/
	align-items: center; /*теперь все ровно в линию по середине линии главного элемента*/
	justify-content: space-between;  /*добавили после всех манипуляций с элементами, меню и элементы на небольшом рассятонии друг от друга*/
}

.nav-item {
	color: #fff;
	text-decoration: none;  /*убираем цвет ссылок синий*/
	font-weight: 700;
	font-size: 14px;
	margin-right: 25px;  /*пунтк меню толкают друг друга в право*/
	transition: color 0.35s linear; /*плавность при наведении мыши при смене цвета ховер*/
}

/*делаем смену цвета при наведении мыши на пункт меню*/
.nav-item:hover {
	color: #d81d1d;
}

.nav {
	margin-left: 197px;
}
.cart {
	position: relative; /*родитель корзинки*/
	border-right: 1px solid #FFF;  /*полоска справа корзины*/
	/*padding-right: -69px; *//*отступ полоски от корзины*/
	height: 50px; /*высота полоски*/
	margin-right: -3px;
}

.cart-img {
	position: absolute; /*корзинка не зависимая*/
	top: 18px; /*отступ сверху */
	right: 20px;
}

.num {
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	transition: color 0.35s linear;
}

.num:hover {
	color: #d81d1d;
}

.phone-text {
	font-weight: 400;
	font-size: 14px;
	color: #fff;
}

.phone-holder {
	display: flex;
	align-items: center;

}

.button {
	background-color: #FF7400;
	color: #fff;
	text-decoration: none;
	padding: 14px 18px;
	font-weight: 700;
	transition: background-color 0.2s linear;
}

.button:hover {
	background-color: #894b17;
}

.header-down {
	position: relative;  /*стал родителем тайтла*/
}

.header-title {
	color: #D67E35;
	font-family: 'Lato', sans-serif;
	font-family: 'Open Sans', sans-serif;
	font-family: 'Tinos', serif;
	font-size: 50px;
	font-weight: 400;
	text-align: center;
	position: absolute;
	left: 0;
	margin-top: 322px;
	margin-bottom: 12px;

}

.header-subtitle {

}

.header-suptitle {
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
}

/*создаем полоски до/после дом еды*/

.header-suptitle:after {
	position: absolute;
	content: " ";
	height: 2px;
	width: 61px;
	background-color: #fff;
	top: 127px;
	left: 57px;
}

.header-suptitle:before {
	position: absolute;
	content: " ";
	height: 2px;
	width: 61px;
	background-color: #fff;
	top: 127px;
	left: 310px;
}


.header-button {
	background-color: #FF7400;
	padding: 14px 28px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	font-family: 'Open Sans', sans-serif;
	text-decoration: none;
	transition: background-color 0.3s linear;
}

.header-button:hover {
	background-color: #AF5C16;
}

/*сперва делаем одну карточку, 
нося содержимое в хтмл и выравниваем все по центру 
дисплей и джасти*/

.card-image {
	display: flex;
	justify-content: center;
	padding-top: 31px;
}


.card-title {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
	font-family: 'Tinos', serif;
	font-size: 26px;
	font-weight: 400;
}

.card-title span {
	color: #BC9060;
	margin-left: 2px;

}

.card-desc {
	text-align: center;
	justify-content: center;
	font-family: 'Tinos', serif;
	font-size: 26px;
	font-weight: 400;
	color: #656363;
}


.card {
	width: 350px;  /* размер карточки*/
	box-shadow: 10px 10px 40px 20px rgba(0, 0, 0, 0.1);
	background-color: #fff;
	margin-top: -80px;
	padding: 10px 10px;
}
.mag {
	margin-right: 31px;
}
/*добавили обертку трем карточкам и внутри нее выровняли их в ряд*/

.cards-holder {
	display: flex;
	justify-content: center;
	
}

.history-title {
	font-family: 'Tinos', serif;
	font-size: 54px;
	font-weight: 400;
	width: 444px;
	text-align: center;
	margin-bottom: 21px;
}

.history-title span {
	color: #BC9060;	
}

.history-desc {
	color: #656363;
	font-size: 16px;
	width: 444px;
	text-align: center;
}

.history {
	margin-top: 166px;
	padding-bottom: 200px;
}

.history-number {
	display: flex;
	width: 444px;
	justify-content: center;
	margin-top: 40px;
	margin-left: 65px;
}

.number-item {
	margin-right: 60px;
	text-align: center;
	font-size: 40px;
	color: #BC9060;
}

.number-item span {
	display: block;
	color: #000;
}

/*добавили как родителю позицию после холдера, но сверху*/

.history-images {
	position: relative;
}


.history-holder {
	display: flex;
	
}

.images-1 {
	position: absolute;
	z-index: 999;
	top: 40px;
	left: 60px;
	box-shadow: 20px 0px 30px 3px rgba(0, 0, 0, 0.5);
}

.images-2 {
	position: absolute;
	z-index: 0;
	top: -20px;
	left: 250px;
}

.images-3 {
	position: absolute;
	z-index: 999;
	top: 180px;
	left: 345px;
	filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.black-block {
	background-image: url('../img/black-bg.jpg');
	padding: 80px 0;
}

.left-title {
	color: #D67E34;
	font-family: 'Tinos', serif;
	font-size: 52px;
	font-weight: 400;
	margin-bottom: 20px;
}

.left-text {
	font-weight: 700;
	color: #fff;
	font-size: 24px;
}

.right-btn {
	background-color: #FF7400;
	color: #fff;
	text-decoration: none;
	padding: 14px 18px;
	font-weight: 700;
	transition: background-color 0.2s linear;
}

.block-holder {
	display: flex;
	justify-content: space-between;
	align-items: center;
}




.dishes-title {
	font-family: 'Tinos', serif;
	font-size: 54px;
	font-weight: 400;
	text-align: center;
	padding-top: 132px;
	margin-bottom: 139px;
}

.dishes-title span {
	color: #D67E34;
}

.burgers {
	display: flex;
	justify-content: space-between;
	margin-bottom: 150px;
}

.burger-item {
	display: flex;
	align-items: center;
	margin-bottom: 29px;
}

.burgers-image {
	margin-right: 30px;
}

.burger-text {
	font-family: 'Tinos', serif;
	font-size: 26px;
	font-weight: 400;
	margin-left: 20px;
}

.menu {
	background-image: url('../img/menu-bg.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	padding-bottom: 100px;
}

.menu-title {
	font-family: 'Tinos', serif;
	font-size: 54px;
	padding-top: 98px;
	color: #fff;
	text-align: center;
	padding-bottom: 138px;
}

.menu-item {
	background-color: #fff;
	text-align: center;
	width: 350px;
	padding-top: 88px;
	padding-bottom: 29px;
	/*margin-right: 30px;*/
}

.menu-text {
	font-family: 'Tinos', serif;
	font-size: 26px;
	padding-top: 16px;
	padding-bottom: 17px;
}

.menu-subtext {
	font-size: 16px;
}

.menu-btn {
	background-color: #D67E34;
	text-decoration: none;
	padding: 14px 67px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.25);

}

.menu-button {
	margin-top: 20px;
}

.price-img {
	position: absolute;
	bottom: 10px;
	right: 20px;
}

.menu-image {
	position: relative;
}

.price-420 {
	position: absolute;
	bottom: 44px;
	right: 50px;
	font-size: 30px;
	color: #fff;
	font-family: 'Cookie', cursive;
}

.menu-items {
	display: flex;
	justify-content: space-between;
}

.coment {
	background-color: #E5E5E5;
	padding-top: 134px;
	padding-bottom: 139px;
}

.coment-text {
	text-align: center;
	font-style: italic;
	margin-bottom: 20px;
	font-size: 20px;
}

.coment-image {
	text-align: center;
}

.coment-type {
	font-size: 20px;
	font-weight: 600;
	text-align: center;
}

.coment-name {
	padding-top: 9px;
	text-align: center;
	font-size: 20px;
	font-weight: 400;
}

.galery-title {
	font-family: 'Tinos', serif;
	font-size: 54px;
	text-align: center;
	padding-top: 100px;
	margin-bottom: 60px;

}

.galery-title span {
	color: #D67E34;
}

.galery-content {
	display: flex;
	justify-content: center;
}

.galery-left {
	margin-right: 20px;
}

.galery-down,
.galery-up {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
}

.cook {
	padding-bottom: 100px;
}

.cook-title {
	font-family: 'Tinos', serif;
	font-size: 54px;
	text-align: center;
	margin-top: 100px;
	margin-bottom: 100px;
}

.cook-title span {
	color: #D67E34;
}

.cook-content {
	display: flex;
	justify-content: space-between;

}

.footer {
	background-color: #000;
	padding: 50px 0px;
	color: #fff;
	text-align: center;
}

.menu-img {
	width: 90%;
}

.burger-menu {
	display: none;
}

.block {
	display: block;
}

.burger-slide {
	position: absolute;	
}

button {
	border: none;
	outline: none;
	background-color: transparent;
}

.disp {
	display: none;
}


@media (max-width: 1500px) {
	.galery-content {
		display: block;
	}
	.img-gal,
	.galery-up,
	.galery-down {
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	.img-gal {
		margin-bottom: 20px;
	}
	.galery-left {
		margin-right: 0px;
	}

}

@media (max-width: 1300px) {
	.menu-items {
		display: block;
		/*position: relative*/
	}
	.menu-item {
		margin: 20px auto;
		/*width: 600px;*/
	}
	.price {
		/*position: absolute;*/
	}

	.header-title {
		position: static;
	}

	.header-suptitle:before,
	.header-suptitle:after {
		content: none;
	}


	.cook-content {
		display: block;

	}

	.cook-content img {
		display: block;
		margin-right: auto;
		margin-left: auto;
		margin-bottom: 30px;
	}

	.block-holder {
		display: block;
	}
	.left-title,
	.left-text,
	.right-button {
		text-align: center;
	}
	.right-button {
		margin-top: 30px;
	}

	.history-images {
		display: none;
	}

	.history-title,
	.history-desc,
	.history-number {
		width: auto;
	}
}

@media (max-width: 1185px) {

	.burger-menu {
		display: block;
	}

	.nav,
	.cart,
	.phone,
	.btn {
		display: none;
	}

	.header-line {
		justify-content: space-between;
	}

	.burgers-image {
		display: none;
	}

}
@media (max-width: 1000px) {
	.cards-holder {
		display: block;
	}
	.card {
		width: 100%;
		margin-top: 30px;
		padding-bottom: 20px;
	}
}

@media (max-width: 780px) {
	.history-holder {
		display: block;
	}
	.menu-item {
		width: auto;
	}

	.hight {
		display: none;
	}
	.container {
		margin: auto 40px;
	}
	.number-item {
		font-size: 23px;
	}

}
