:root {
	--accent: rgb(255, 204, 0);
	--text: #fff;
	--bg: rgb(11, 11, 19);
	--pepper: rgb(187, 59, 59);
	--regular-text: 16px;
	--lineheight: 1.65;
	--userfont: roboto-st, sans-serif;
	--titlefont: graffiti-st, sans-serif;
	--systemfont: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

@font-face { src: url("../fonts/roboto-regular-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 400; font-style: normal; }
@font-face { src: url("../fonts/roboto-italic-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 400; font-style: italic; }
@font-face { src: url("../fonts/roboto-bold-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 700; font-style: normal; }
@font-face { src: url("../fonts/roboto-bolditalic-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 700; font-style: italic; }
@font-face { src: url("../fonts/graffiti1c-regular-webfont.woff2") format("woff2"); font-family: "graffiti-st"; font-weight: 400; font-style: normal; }


::placeholder { color: #666; }
::selection { background-color: var(--accent); color: #fff; }
input, textarea { outline: none; }
input:focus:required:invalid, textarea:focus:required:invalid { border-color: red; }
input:required:valid, textarea:required:valid { border-color: green; }

body {
	font-family: var(--userfont);
	font-size: var(--regular-text);
	line-height: var(--lineheight);
	color: var(--text);
	background-color: var(--bg);
	min-width: 320px;
	position: relative;
	overflow-x: hidden;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
 }

.wrapper {
	min-height: 100vh;
	display: grid;
	grid-template: minmax(100px, auto) minmax(100px, auto) minmax(100px, auto) 1fr minmax(100px, auto) minmax(100px, auto) / 1fr;
	grid-template-areas: 
		"header"
		"title"
		"menu"
		"main"
		"line"
		"footer";
	position: relative;
}

.header{
	grid-area: header;
	display: grid;
	grid-template: 1fr / 60px 1fr 1fr 1fr 60px;
	align-items: center;
	padding-top: 60px;
	margin-bottom: 6rem;
}
.header__address {
	grid-column: 2 / 3;
}
.header__logo {
	grid-column: 3 / 4;
	text-align: center;
}
.header__logo img {
	max-width: 300px;
	margin-left: 6rem;
}
.header__phone {
	grid-column: 4 / 5;
	text-align: right;
}

.main {
	padding: 30px 15px;
}

.content {

}

.start {
	grid-area: title;
	text-align: center;
}

.start__about {
	margin-bottom: 8rem;
	font-size: 1.25rem;
	font-weight: 400;
	padding: 0 20px;
}

.start__about span {
	display: block;
	margin-top: 2rem;
	color: rgba(255, 255, 255, 0.3);
}

.start__about a {
	color: transparent;
	text-decoration: none;
}

.start__about a svg {
	width: 4rem;
	margin: 1rem .5rem;
}

.icons__circle {
	fill:var(--accent);
}

.icons__path {
	fill: var(--bg);
}

.start__about a:hover svg .icons__circle {
	fill: #fff;
}

.start__title {	
	font-family: var(--titlefont);
	font-size: calc(1rem + 7.5vw);
	line-height: 1.1;
	margin-bottom: 2.5rem;
}

.footer {
	grid-area: footer;
	display: grid;
	grid-template: 1fr / 60px 1fr 2fr 1fr 60px;
	padding-bottom: 3rem;
}

.footer a,
.header a,
.aslink {
	color: var(--accent);
	text-decoration: none;
	font-size: 1.4rem;
	font-weight: 700;;
}

.footer a:hover,
.header a:hover {
	color: var(--text);
}

.footer__copyright {
	grid-column: 2 / 3;
}
.footer__address {
	grid-column: 3 / 4;
	text-align: center;
}
.footer__contact {
	grid-column: 4 / 5;
	text-align: right;
}


.menu {
	position: sticky;
	top: 0;
	background-color: var(--bg);
	grid-area: menu;
	height: 80px;
	text-align: center;
	overflow-x: scroll;
	overflow-y: hidden;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
	padding: 0;
 }
 
 .menu::-webkit-scrollbar {
	display: none;
 }
 
 ul.menu li { 
	display: inline-block;
	line-height: 80px;
	padding: 0 17px;
 }
 
 ul.menu li a {
	color: white;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-family: sans-serif;
	font-weight: 600;
	font-size: 20px;
 }

 a.menu__link.active {
	color: var(--accent);
}
 a.menu__link:hover {
	 color: var(--accent)
 }

a.nav__phone {
	color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
	margin-left: 6rem;
}
a.nav__phone:hover {
	color: var(--accent)
}
span.nav__phone {
	color: rgba(255, 255, 255, 0.15);
	padding: 0 17px 0 6px;
}
 .content {
	 max-width: 1400px;
	 margin: 0 auto;
 }

 .chapter__title {
	width: 100%;
	font-size: calc(0.875rem + 1.05vw);
	line-height: 2;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	margin-bottom: 2rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.3);

 }

 .cards {
	display: grid;
	grid-template: minmax(300px, auto) / repeat(4, 1fr);
	row-gap: 70px;
	column-gap: 20px;
	margin-bottom: 7rem;
}

.cards-text {
	display: grid;
	grid-template: auto / repeat(3, 1fr);
	align-items: top;
	gap: 60px;
	margin-bottom: 7rem;
}

.cards-3 {
	grid-template: minmax(300px, auto) / repeat(3, 1fr);
}

 .card {
	padding: 30px 0 30px 25%;
	display: grid;
	align-items: top;
	/* border-bottom: 1px dashed white; */
	cursor: default;
 }


 .card:hover .card__frame {
	background-color: rgba(11, 11, 19, 0.75)
}

.card__frame {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 3px dashed var(--accent);
	padding: 20px 15px;
	transition: 0.5s;
}
.card__frame.card-text__frame {
	padding: 15px;
}

.card__name,
.card__price {
	font-size: calc(0.875rem + 1.035vw);
	font-weight: 700;
	line-height: 1;
}
.card-text__price {
	font-size: calc(0.75rem + .75vw);
	font-weight: 400;
	line-height: 1;
}

.card__weight {
	margin-top: 0.5rem;
}

.card__weight,
.card__pepper {
	font-size: 0.75rem;
}
.card__pepper {
	color: var(--pepper);
}
.card__description {
	font-size: 0.875rem;
	margin-top: 15px;
	margin-bottom: 20px;
}

.card__price {
	text-align: right;
	margin-top: auto;
}

.card-text__price {
margin-top: 1rem;
}

.card-big {
	grid-column: span 2;
}

.card-big.card {
	padding: 30px 0 30px 45%;
 }

 .line {
	grid-area: line;
	display: grid;
	grid-template-columns: 55% 25% 20%;
	width: 100%;
	margin-bottom: 3rem;
 }
 
 .line-col {
	padding-bottom: 10px;
	border-bottom: 2px solid rgba(255, 255, 255, 0.3);
	position: relative;
 }
 
 .line-col img {
	width: 100%;
 }

 span.yellow {
	font-size:1.1rem;
	color: var(--accent);
	display: block;
	margin-bottom: .8rem;
 }

 span.gradient-text {
	font-size: 24px;
	margin-top: 0;
	color: transparent;
	background-image: linear-gradient(to right, rgba(255, 255, 255, 0.3) 0%, white 30%, rgba(255, 255, 255, 0.3) 50%);
	background-size: 200% 100%;
	background-position: 0 0;
	-webkit-background-clip: text;
	background-clip: text;
	display: inline-block;
	animation: moveGradient 3s infinite alternate;
 }

 @keyframes moveGradient {
	0% {
	  background-position: 0 0;
	}
	100% {
	  background-position: -100% 0;
	}
 }

