@font-face {
	font-family: Appetite;
	src: url(../../founts/Appetite.ttf);
	font-display: fallback;
}

@font-face {
	font-family: 'Comfortaa';
	src: url(../../founts/Comfortaa-VariableFont.ttf);
	font-display: fallback;
}

html {
	scroll-behavior: smooth;
}

/* HTML5 display-role reset start */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1;
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* HTML5 display-role reset end */

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-size: 16px;
	text-decoration: none;
	list-style: none;
}

/* HEADER desktop*/

.header {
	position: sticky;
	top: 0;
	display: flex;
	justify-content: center;
	box-shadow: 0px 3px 10px 6px rgba(0, 0, 0, 0.74);
	width: 100%;
	height: 100px;
	background: url(../../images/brown-board.png) 100% 100% no-repeat;
	background-size: cover;
	z-index: 1;
}

nav {
	display: flex;
	padding-top: 1em;
	margin-right: 3%;
	width: 40%;
}

.nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.products {
	color: #f37b03;
	cursor: pointer;
	font-family: Appetite;
	letter-spacing: 0.1em;
	line-height: 35px;
	padding-left: 10px;
	padding-right: 10px;
	margin-bottom: 30px;
	margin-top: 17px;
}

.main,
.about,
.contacts {
	color: #cc9933;
	font-family: Appetite;
	letter-spacing: 0.1em;
	line-height: 35px;
	padding-left: 10px;
	padding-right: 10px;
	margin-bottom: 30px;
	margin-top: 17px;
	border-radius: 30px;
}

.main:hover,
.about:hover,
.contacts:hover {
	cursor: pointer;
	background-color: rgba(252, 252, 252, 0.212);
	color: #f37b03;
	transition: 0.2s;
}

.logo-cont {
	margin-top: 10px;
}

.logo {
	filter: drop-shadow(0px 4px 2px rgba(0, 0, 0, 0.8));
	width: 125px;
	transition: 1s;
}

.push {
	display: flex;
	justify-content: space-evenly;
	width: 40%;
	margin-left: 3%;
}

.contackt-namber,
.time-to-work {
	display: flex;
	align-items: center;
	justify-content: center;
}

.phone {
	width: 25px;
}

.namber {
	color: #cc9933;
	font-family: Appetite;
	letter-spacing: 0.1em;
	padding-left: 2em;
}

.clock {
	width: 25px;
}

.working-time {
	color: #cc9933;
	font-family: Appetite;
	padding-left: 2em;
	letter-spacing: 0.1em;
	text-align: center;
	font-size: 0.8em;
	line-height: 13px;
}

/* js add class*/

.little-had {
	height: 70px;
	position: fixed;
	/* for bag trimm on firefox */
}

.little-logo {
	width: 100px;
	transition: 1s;
}

/* HEADER mobile menu*/

#check {
	display: none;
}

.checkbtn {
	display: none;
}

.ham {
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: transform 400ms;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.hamRotate.active {
	transform: rotate(45deg);
}

.hamRotate180.active {
	transform: rotate(180deg);
}

.ham7 .top {
	stroke-dasharray: 40 82;
}

.ham7 .middle {
	stroke-dasharray: 40 111;
}

.ham7 .bottom {
	stroke-dasharray: 40 161;
}

.ham7.active .top {
	stroke-dasharray: 17 82;
	stroke-dashoffset: -62px;
}

.ham7.active .middle {
	stroke-dashoffset: 23px;
}

.ham7.active .bottom {
	stroke-dashoffset: -83px;
}

.line {
	fill: none;
	transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
	stroke: #cc9933;
	stroke-width: 5.5;
	stroke-linecap: round;
}

.social-icons-header {
	display: none;
}

.i-tel {
	width: 25px;
	height: 25px;
}

.call-tel {
	fill: #cc9933;
	transform-origin: 50% 50%;
	animation: call 6s infinite;
}

@keyframes call {
	39%,
	50%,
	100% {
		transform: rotate(0deg);
	}

	40% {
		transform: rotate(8deg);
	}

	42%,
	44%,
	46% {
		transform: rotate(-10deg);
	}

	43%,
	45%,
	47% {
		transform: rotate(10deg);
	}

	48% {
		transform: rotate(-8deg);
	}

	49% {
		transform: rotate(8deg);
	}
}

/* MAIN section - 1*/

.product-navigation {
	height: 85vh;
	background: url(../../images/catalog/back-min.png) no-repeat;
	background-size: 100% 100%;
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
}

.navigation-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #f37b03;
	font-family: Appetite;
	font-size: 1.9em;
	letter-spacing: 0.2em;
	font-weight: bold;
}

.img-bread {
	margin-top: 2rem;
	width: 400px;
	height: 55px;
}

.smoke {
	fill: #cc9933;
	transform-origin: 0% 45%;
	animation: smoke 0.7s infinite;
}

.smoke2 {
	fill: #cc9933;
	transform-origin: 0% 45%;
	animation: smoke 0.7s infinite;
	animation-delay: 0.4s;
}

.smoke3 {
	fill: #cc9933;
	transform-origin: 0% 45%;
	animation: smoke 0.7s infinite;
	animation-delay: 0.2s;
}

#line,
#line2 {
	display: none;
	fill: none;
	stroke: #cc9933;
	stroke-width: 2;
	stroke-dashoffset: 300;
	stroke-dasharray: 300;
	animation: line-move-left 1s forwards 1;
}

#line3,
#line4 {
	display: none;
	fill: none;
	stroke: #cc9933;
	stroke-width: 2;
	stroke-dashoffset: 300;
	stroke-dasharray: 300;
	animation: line-move-right 1s forwards 1;
}

@keyframes smoke {
	to {
		transform: scale(1, 1.7);
		opacity: 0;
	}
}

@keyframes line-move-right {
	to {
		stroke-dashoffset: 600;
	}
}

@keyframes line-move-left {
	to {
		stroke-dashoffset: 0;
	}
}

.product-menu {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	padding: 0;
	margin-left: 1rem;
	margin-right: 1rem;
	margin-bottom: 1rem;
}

.menu {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-family: Appetite;
	font-size: 1.6em;
	min-width: 260px;
}

.bread-menu-link {
	width: 100%;
	margin-right: 4rem;
	margin-left: 2rem;
}

.link-style {
	color: #330000;
	transition: 0.2s;
}

.link-style:hover {
	color: #f37b03;
	cursor: pointer;
}

.link-style img {
	transition: 0.2s;
}

.link-style:hover img {
	filter: drop-shadow(0 0 3px rgba(100, 0, 0, 0.5));
	transition: 0.2s;
}

.menu-img-bun {
	width: 100px;
	height: 80px;
}

.menu-img {
	width: 80px;
	height: 80px;
}

.buns-link,
.bread-link,
.other-link {
	margin-top: 20px;
}

/* MAIN section - 2,3,4*/

.product-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 0.5rem;
}

.head-product {
	display: flex;
}

.bread,
.bun,
.other {
	color: #f37b03;
	font-family: Appetite;
	font-size: 1.7em;
	letter-spacing: 0.2em;
	font-weight: bold;
	margin: 0.5rem;
}

.colos-img {
	width: 35px;
	height: 35px;
}

#khlib,
#bulochni-vyroby,
#sneks,
#khlibobulochni-vyroby,
#sloyki {
	scroll-margin-top: 220px;
}

.prod-menu {
	margin-top: 2rem;
	display: flex;
	justify-content: center;
	flex-flow: row wrap;
	row-gap: 30px;
}

.svg-wrapper {
	height: 300px;
	width: 300px;
	margin: 0.7rem;
}

.svg-wrapper:hover {
	box-shadow: 0 0 20px -2px rgba(0, 0, 0, 0.75);
	transition: 0.5s;
}

.shape {
	stroke-dasharray: 300 900;
	stroke-dashoffset: -600;
	stroke-width: 5px;
	fill: transparent;
	stroke: #cc9933;
	transition: stroke-width 0.5s, stroke-dashoffset 0.5s, stroke-dasharray 0.5s;
}

.svg-wrapper:hover .shape {
	stroke-width: 3px;
	stroke-dashoffset: 0;
	stroke-dasharray: 1200;
}

.prod-box {
	color: #330000;
	font-family: 'Comfortaa', cursive;
	font-size: 0.8em;
	font-weight: bold;
	line-height: 1.2em;
	text-align: center;
	padding: 1rem;
	margin: 1rem;
	position: relative;
	top: -300px;
}

.img-style {
	width: 240px;
	height: 160px;
	object-fit: cover;
	object-position: center;
	border-radius: 5px;
	box-shadow: 0 0 15px -6px rgb(0, 0, 0);
}

.prod-name {
	color: #cc9933;
	margin-top: 0.7rem;
	font-size: 1.1em;
	margin-bottom: 0.5rem;
}

/* up button */

#topBtn {
	bottom: 12rem;
	display: none;
	cursor: pointer;
	left: 0.5rem;
	position: fixed;
}

.UpImg {
	height: 3rem;
}

/* FOOTER */

footer {
	display: flex;
	justify-content: center;
	width: 100%;
	height: 100px;
	background: url(../../images/brown-board.png) 100% 100% no-repeat;
	background-size: cover;
}

.footer {
	width: 95%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.footer-logo {
	width: 95px;
	height: 95px;
	filter: drop-shadow(0px 4px 2px rgba(0, 0, 0, 0.8));
}

.address,
.schedule {
	margin-top: 0;
	font-size: 0.8em;
	text-align: center;
	font-family: 'Comfortaa', cursive;
	color: #cc9933;
	line-height: 1.1em;
}

.schedule {
	line-height: 1.5em;
}

.social-link {
	margin-right: 100px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.email-link {
	width: 90px;
	height: 25px;
	color: #cc9933;
	font-family: 'Comfortaa', cursive;
	font-size: 0.9em;
	border: solid 2px #cc6600;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.email-link:hover {
	background-color: #bbbbbb4b;
	cursor: pointer;
	transition: 0.2s;
}

.social-icons {
	margin-top: 10px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.cont-tel {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.contackt-link {
	color: #cc9933;
	font-family: 'Comfortaa', cursive;
	font-size: 0.8em;
	line-height: 1.2em;
}

.created-link {
	color: #cc9933;
	font-weight: bold;
	font-size: 14px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	margin-top: 6px;
}

@media all and (max-width: 1100px) {
	body {
		background-image: none;
		background-color: rgba(248, 248, 248, 0.753);
	}

	/* HEADER */

	.header {
		height: auto;
		justify-content: space-around;
		background: url(../../images/brown-board-small.png) 100% 100% no-repeat;
		background-size: cover;
	}

	nav {
		padding-top: 0;
		margin-right: 0;
		width: auto;
	}

	.nav {
		position: fixed;
		width: 100%;
		background-color: rgb(43, 24, 1);
		top: 84px;
		left: -100%;
		display: flex;
		justify-content: space-around;
		transition: all 0.5s;
		z-index: 99999;
	}

	.checkbtn {
		display: flex;
		align-items: center;
		cursor: pointer;
	}

	#check:checked ~ .nav {
		left: 0;
	}

	.main,
	.about,
	.products,
	.contacts {
		display: block;
		margin-top: 12px;
		margin-bottom: 12px;
		line-height: 25px;
	}

	.logo-cont {
		margin: 7px;
		padding-left: 1rem;
	}

	.logo {
		width: 70px;
	}

	.push {
		width: 80px;
		margin: 0;
	}

	.time-to-work {
		display: none;
	}

	.contackt-namber {
		display: none;
	}

	.social-icons-header {
		width: 100%;
		display: flex;
		flex-flow: row wrap;
		align-items: center;
		justify-content: space-around;
		padding-top: 3px;
		padding-bottom: 3px;
	}

	.social-icons-header a {
		margin: 3px;
	}

	/* MAIN section - 1*/
	#khlib,
	#bulochni-vyroby,
	#sneks,
	#khlibobulochni-vyroby,
	#sloyki {
		scroll-margin-top: 120px;
	}

	.product-navigation {
		height: auto;
		background-image: none;
		background-color: rgba(255, 249, 161, 0.37);
		box-shadow: 0 0 13px 0 rgba(0, 0, 0, 0.75);
		padding-bottom: 1rem;
		padding-top: 4rem;
		margin-bottom: 1.3rem;
	}

	.navigation-head {
		font-size: 1.6em;
	}

	.img-bread {
		margin-top: 1.5rem;
		width: 250px;
		height: auto;
	}

	.prod-menu {
		width: 100%;
		justify-content: space-evenly;
		gap: 30px;
		padding: 0 20px;
	}

	.menu {
		font-size: 1em;
		min-width: auto;
	}

	.menu-img {
		width: 40px;
		height: 40px;
	}

	.menu-img-bun {
		width: 50px;
		height: 40px;
	}

	.bread-menu-link {
		width: auto;
		margin-right: 2%;
		margin-left: 0;
	}

	.buns-link,
	.bread-link,
	.other-link {
		margin-top: 10px;
	}

	.bread,
	.bun,
	.other {
		font-size: 1.2em;
		padding-top: 0.2rem;
	}

	/* footer */

	footer {
		background-image: none;
		background-color: rgb(51, 33, 17);
		height: auto;
	}

	.footer {
		flex-direction: column;
		margin-top: 1rem;
		margin-bottom: 1rem;
		width: 100%;
	}

	.schedule {
		order: 1;
		margin-bottom: 0.5rem;
	}

	.social-link {
		margin: 0;
		order: 2;
	}

	.footer-logo-box {
		order: 3;
		margin-top: 0.5rem;
		margin-bottom: 0.5rem;
	}

	.footer-logo {
		width: 70px;
		height: 70px;
	}

	.address {
		order: 4;
		margin-bottom: 0.5rem;
	}

	.cont-tel {
		order: 5;
	}

	.contackt-link {
		display: none;
	}

	.order-footer {
		display: block;
	}
}

@media all and (max-width: 500px) {
	.main,
	.about,
	.products,
	.contacts {
		font-size: 0.7em;
	}

	.social-icons-header > a:not(:first-child) {
		display: none;
	}

	.i-tel {
		width: 30px;
		height: 30px;
	}

	.colos-img {
		width: 25px;
		height: 25px;
	}

	.bread,
	.bun,
	.other {
		font-size: 1.1em;
		padding-top: 0;
	}
}

@media all and (max-width: 350px) {
	* {
		font-size: 13px;
	}

	.main,
	.about,
	.products {
		padding-right: 0;
	}

	.svg-wrapper {
		margin: 0;
	}
}

@media only screen and (width: 414px) and (max-height: 896px) and (-webkit-min-device-pixel-ratio: 2) {
	.prod-box {
		font-size: 0.7em;
		line-height: 1.1em;
	}
}

/* ======================== SCROLL BAR ========================= */
@media screen and (min-width: 1025px) {
	*::-webkit-scrollbar {
		width: 8px;
	}

	*::-webkit-scrollbar-track {
		background: white;
	}

	*::-webkit-scrollbar-thumb {
		background-color: #0f0905;
		border: 1px solid #0f0905;
	}
}
