@font-face {
	font-family: Appetite;
	src: url(../../founts/Appetite.ttf);
}

@font-face {
	font-family: 'Comfortaa';
	src: url(../../founts/Comfortaa-VariableFont.ttf);
	font-display: fallback;
}

/* 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;
}

body {
	background: url(../../images/board-back.jpg) 100% 100% no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

/* 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%;
}

.main {
	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;
}

.about,
.products,
.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;
}

.about:hover,
.products: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*/

.first-block {
	width: 100%;
	height: 100vh;
	padding-top: 9%;
	color: #f37b03;
	font-family: Appetite;
	font-size: 1.9em;
	letter-spacing: 0.2em;
	font-weight: bold;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.first-block h1 {
	font-size: 1.2em;
}

.bread-line {
	width: 350px;
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

/*animate svg bread img in section*/

.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;
	}
}

.bread {
	width: 100%;
	display: flex;
	position: absolute;
	bottom: 0;
	opacity: 1;
	filter: drop-shadow(0 -1px 5px rgba(100, 0, 0, 0.5));
}

/* .bread opacity for js */

.display-none {
	opacity: 0;
}

.opacity {
	opacity: 0.5;
}

.botton-about {
	position: sticky;
	width: 224px;
	height: 40px;
	font-size: 0.5em;
	margin-top: 3rem;
	border: solid 2px #cc6600;
	border-radius: 30px;
	background: #ffffff73;
	font-family: 'Comfortaa', cursive;
	font-weight: bold;
	color: #330000;
	opacity: 1;
	letter-spacing: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.botton-about:hover {
	color: #cc6600;
	cursor: pointer;
	background-color: #cc66002d;
	box-shadow: 0 0 7px 0px rgba(0, 0, 0, 0.75);
	border: solid 2px #cc66002d;
	transition: 0.2s;
}

.baker-box {
	display: none;
}

/* MAIN section-2*/

.second {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.production {
	margin-top: 5rem;
	width: 800px;
	height: 400px;
	background: url(../../images/home/catalog-back.png) no-repeat;
	background-size: 100% 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	filter: drop-shadow(0 0 3px rgba(100, 0, 0, 0.5));
}

.prod-menu {
	display: flex;
}

.menu {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-family: Appetite;
	font-size: 1.6em;
}

.bread-menu-link {
	width: 100%;
	margin-right: 2rem;
	margin-left: 2rem;
}

.link-style {
	color: #330000;
}

.link-style:hover {
	color: #f37b03;
	cursor: pointer;
	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: 122px;
	height: 100px;
}

.menu-img {
	width: 97px;
	height: 99px;
}

.buns-link,
.bread-link,
.other-link {
	margin-top: 40px;
	font-size: 1em;
}

.botton-prod {
	width: 156px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 3rem;
	border: solid 2px #cc6600;
	border-radius: 30px;
	background: #ffffff73;
	font-family: 'Comfortaa', cursive;
	font-weight: bold;
	color: #330000;
}

.botton-prod:hover {
	color: #cc6600;
	cursor: pointer;
	background-color: #cc66002d;
	box-shadow: 0 0 7px 0px rgba(0, 0, 0, 0.75);
	border: solid 2px #cc66002d;
	transition: 0.2s;
}

.property {
	margin-top: 7rem;
	width: 85%;
	display: flex;
	justify-content: space-between;
}

.property-setup {
	font-family: 'Comfortaa', cursive;
	color: #330000;
	font-weight: bold;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.quality-img,
.care-img,
.natural-img,
.fresh-img {
	width: 130px;
	height: 130px;
}

.quality-text,
.care-text,
.natural-text,
.fresh-text {
	display: flex;
	justify-content: center;
	margin-top: 1rem;
	font-size: 1.1em;
	opacity: 0;
}

.natural-text {
	width: 153px;
}

.tracking-in-expand {
	-webkit-animation: tracking-in-expand 0.7s
		cubic-bezier(0.215, 0.61, 0.355, 1) both;
	animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}

@keyframes tracking-in-expand {
	0% {
		letter-spacing: -0.5em;
	}

	40% {
		opacity: 0.6;
	}

	100% {
		opacity: 1;
	}
}

/* FOOTER */

footer {
	display: flex;
	justify-content: center;
	margin-top: 3rem;
	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(255, 249, 161, 0.37);
	}

	/* 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*/

	.first-block {
		height: 83%;
		justify-content: center;
		padding-top: 0;
	}

	.bread {
		display: none;
	}

	.first-block h1 {
		font-size: 1em;
		padding-top: 4.5rem;
	}

	.bread-line {
		width: 275px;
		margin-bottom: 2rem;
	}

	.H-2-first {
		font-size: 0.7em;
		margin-top: 1rem;
	}

	.botton-about {
		width: 200px;
		height: 33px;
		font-size: 0.5em;
	}

	/* baker svg animat block */

	.baker-box {
		display: block;
		margin-top: 2rem;
		position: relative;
	}

	.baker-full {
		width: 375px;
		height: 325px;
		opacity: 0;
		animation: opacity-baker 2s linear forwards;
		animation-delay: 4s;
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
	}

	@keyframes opacity-baker {
		to {
			opacity: 1;
		}
	}

	.baker-anim {
		width: 375px;
		height: 325px;
	}

	.baker-line {
		fill: none;
		stroke: #403f40;
		stroke-width: 2;
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-miterlimit: 10;
		stroke-dasharray: 1000;
		stroke-dashoffset: 1000;
		animation: dash-baker 7s linear forwards;
		animation-delay: 1.4s;
	}

	@keyframes dash-baker {
		to {
			stroke-dashoffset: 0;
			opacity: 0;
		}
	}

	/* MAIN section - 2*/

	.production {
		margin-top: 1rem;
		width: 100%;
		height: 250px;
		box-shadow: 0 0 13px 0 rgba(0, 0, 0, 0.75);
		background-image: none;
		background-color: rgba(248, 248, 248, 0.753);
		filter: none;
	}

	.prod-menu {
		justify-content: space-evenly;
		margin-top: 1rem;
	}

	.prod-link {
		padding-bottom: 1rem;
	}

	.menu-img {
		width: 47px;
		height: 47px;
	}

	.menu-img-bun {
		width: 57px;
		height: 50px;
	}

	.buns-link,
	.bread-link,
	.other-link {
		margin-top: 10px;
		font-size: 0.6em;
	}

	.bread-menu-link {
		margin-right: 0.7rem;
		margin-left: 0.7rem;
	}

	.botton-prod {
		margin-top: 2.5rem;
		height: 33px;
		width: 127px;
		font-size: 0.9em;
	}

	.property {
		margin-top: 2rem;
		margin-bottom: 2rem;
		width: 100%;
		flex-flow: row wrap;
		font-size: 0.8em;
		justify-content: space-evenly;
	}

	.property-setup {
		width: 25%;
	}

	.quality-img,
	.care-img,
	.natural-img,
	.fresh-img {
		width: 60px;
		height: 60px;
	}

	.natural-text {
		width: 122px;
	}

	/* footer */

	footer {
		background-image: none;
		background-color: rgb(51, 33, 17);
		height: auto;
		margin-top: 0;
	}

	.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;
	}

	.bread-line {
		width: 250px;
		height: 50px;
	}

	.H-2-first {
		font-size: 0.6em;
	}

	.botton-about {
		width: 173px;
		font-size: 0.4em;
	}

	.botton-prod {
		width: 113px;
		font-size: 0.7em;
	}

	.property {
		width: 80%;
	}

	.property-setup {
		width: 50%;
		padding: 0.4rem;
	}

	.quality-text,
	.care-text,
	.natural-text,
	.fresh-text {
		margin-top: 0.7rem;
	}
}

@media all and (max-width: 400px) {
	.baker-anim {
		width: 340px;
		height: 340px;
	}

	.baker-full {
		width: 340px;
		height: 340px;
	}
}

@media all and (max-width: 350px) {
	* {
		font-size: 13px;
	}

	.main,
	.about,
	.products {
		padding-right: 0;
	}

	.baker-full {
		width: 290px;
		height: 290px;
	}

	.baker-anim {
		width: 290px;
		height: 290px;
	}

	.botton-about {
		width: 147px;
		height: 28px;
	}

	.botton-prod {
		width: 98px;
		height: 26px;
	}

	.natural-text {
		width: 103px;
	}
}

/* ======================== 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;
	}
}
