Start (reset styles) *,
*::before,
*::after {
	box-sizing: border-box;
}

ul[class],
ol[class] {
	padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
	margin: 0;
	-webkit-touch-callout: none;
	/* iOS Safari */
	-webkit-user-select: none;
	/* Chrome/Safari/Opera */
	-khtml-user-select: none;
	/* Konqueror */
	-moz-user-select: none;
	/* Firefox */
	-ms-user-select: none;
	/* Internet Explorer/Edge */
	user-select: none;
	/* Non-prefixed version, currently
											  not supported by any browser */
}

body {
	min-height: 100vh;
	scroll-behavior: smooth;
	text-rendering: optimizeSpeed;
	line-height: 1.5;
}

ul[class],
ol[class] {
	list-style: none;
}

a:not([class]) {
	text-decoration-skip-ink: auto;
}

img {
	max-width: 100%;
	display: block;
}

article>*+* {
	margin-top: 1em;
}

input,
button,
textarea,
select {
	font: inherit;
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* End (reset styles) */
/* --------------------- */
/* Start (fonts) */

@font-face {
	font-family: Montserrat;
	src: url(fonts/Montserrat-Regular.ttf);
	font-weight: 400;
}

@font-face {
	font-family: Montserrat;
	src: url(fonts/Montserrat-Medium.ttf);
	font-weight: 500;
}

@font-face {
	font-family: Montserrat;
	src: url(fonts/Montserrat-Bold.ttf);
	font-weight: 700;
}

@font-face {
	font-family: Benzin;
	src: url(fonts/Benzin-Medium.ttf);
	font-weight: 500;
}

@font-face {
	font-family: Benzin;
	src: url(fonts/Benzin-ExtraBold.ttf);
	font-weight: 800;
}

/* End (fonts) */
/* --------------------- */
/* Start (base styles) */

:root {
	--black: #333;
	--white: #fff;
	--green: #4ABA38;
	--blue: #5169FF;
	--grey: #D7D7D7;
	--dark_grey: #929292;
	--base-font: 'Montserrat';
	--title-font: 'Benzin';
}

p {
	color: var(--black);
	font-size: 20px;
	font-family: var(--base-font);
	font-weight: 500;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--black);
	font-family: var(--title-font);
	font-size: 32px;
}

.flex {
	display: flex;
}

section {
	margin: 10vw 0;
}

.btn {
	position: relative;
	font-family: var(--title-font);
	background-color: var(--black);
	padding: 15px 20px;
	text-decoration: none;
	text-transform: uppercase;

}

.btn span {
	line-height: 0;
	font-size: 20px;
	color: var(--white);
}

button {
	border: none;
	background-color: none;
}

img {
	pointer-events: none;
}

/* End (base styles) */
/* Start (scrol) */
::-webkit-scrollbar {
	width: 14px;
	/* ширина для вертикального скролла */
	height: 8px;
	/* высота для горизонтального скролла */
	background-color: var(--white);
}

/* ползунок скроллбара */
::-webkit-scrollbar-thumb {
	background-color: var(--black);
	border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
	background-color: #253861;
}

/* Стрелки */
::-webkit-scrollbar-button:vertical:start:decrement,
::-webkit-scrollbar-button:vertical:end:increment,
::-webkit-scrollbar-button:horizontal:start:decrement,
::-webkit-scrollbar-button:horizontal:end:increment {
	display: none;
}

/* End (scrol) */
/* --------------------- */
/* Start (Header) */

header nav,
.menu,
.btn_login {
	display: flex;
}

header {
	position: relative;
	max-width: 90vw;
	background-color: var(--white);
	z-index: 1000;
}

.scrolled {
	background: #FFF;
	box-shadow: 0px 11px 26px 0px rgba(0, 0, 0, 0.11);
	padding-top: 10px;
}

nav object {
	transition: all .3s ease;
}

.scrolled object {
	height: 40px;
}

header nav {
	justify-content: space-evenly;
	width: 100%;

	position: fixed;
	top: 0;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, 0);
	transition: all .3s ease;

	background-color: var(--white);
	padding-top: 20px;
	padding-bottom: 10px;
}

.btn_login,
.menu {
	align-items: center;
}

.menu li {
	padding: 0 20px;
}

.btn_login a,
.menu li a {
	font-family: var(--base-font);
	font-weight: 500;
	text-decoration: none;
	font-size: 20px;
	color: var(--black);

	padding: 5px 15px;
	transition: all .3s ease;
}

.burger__menu {
	display: none;
	position: relative;
	z-index: 1000;
}

.burger__menu,
ul {
	list-style: none;
}

.burger__menu li {
	background-color: #fff !important;
	font-size: 22px;
	padding: 10px 0;
}

.header__burger {
	display: none;
	z-index: 1000;
}

/* End (Header) */
/* --------------------- */
/* Start (welcome_block) */

#welcome_block .flex {
	max-width: 90vw;
	margin: auto;
	align-items: center;
}

#welcome_block .img_wrapper {
	width: 50vw;
}

#welcome_block .img_wrapper img {
	float: right;
	margin-right: 2vw;
}

.text_wrapper {
	width: 50vw;
	max-width: 800px;
}

.left_line {
	border-left: 4px solid var(--black);
	padding-left: 40px;
}

h1 {
	font-size: 64px;
}

h5 {
	font-size: 32px;
	font-weight: 500;
	line-height: 0;
}

.text_wrapper p {
	margin-bottom: 30px;
}

.text_wrapper .btn {
	margin-left: 70px;
	width: auto;
}

/* End (welcome_block) */
/* --------------------- */
/* Start (shop) */
#shop {
	margin-bottom: 100px;
}

#shop .item_wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	justify-content: center;
	align-content: center;
	max-width: 80vw;
	margin: auto;
	grid-column-gap: 10px;
	grid-row-gap: 1em;
}

#shop .item {
	max-width: 455px;
	margin: auto;
	margin-bottom: 40px;
}

#shop .img_wrapper {
	/* background: linear-gradient(180deg, var(--white) 0%, var(--black) 100%); */
	position: relative;
}

#shop .img_wrapper img {
	width: 99%;
	margin: auto;
}

#to_cart_shop {
	position: fixed;
	right: -250px;
	bottom: 5vw;
	width: min-content;
	transition: right .3s ease;
}

#to_cart_shop.active {
	display: block;
	right: 0;
	z-index: 1000;
}

.all_in_cart {
	fill: var(--white);
	font-family: var(--base-font);
	font-size: 16px;
}

.price {
	position: absolute;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	padding: 10px 20px;
	background-color: var(--black);
}

.price p {
	font-family: var(--title-font);
	color: var(--white);
	margin-right: 10px;
	font-size: 36px;
	font-weight: 700;
	line-height: 0;
}

.title_description {
	border: 2px solid var(--black);
	padding: 20px;
}

.options {
	border-left: 2px solid var(--black);
	border-right: 2px solid var(--black);
	display: flex;
}

.color,
.number {
	width: 49%;
	display: flex;
	padding: 10px 20px;
	line-height: 40px;
}

.number {
	border-right: 2px solid var(--black);
	padding-right: 0;
}



/* Reset <select> defaults */
select {
	appearance: none;
	border: 0;
	outline: 0;
	font-family: var(--base-font);
}

/* Remove IE arrow */
select::-ms-expand {
	display: none;
}

/* Custom Select wrapper */
.size,
.select {
	display: flex;
	position: relative;
}

.size select,
.select select {
	flex: 1;
	padding-left: 1em;
	color: var(--black);
	cursor: pointer;
}

.arrow {
	position: absolute;
	right: 10px;
	transition: 0.25s all ease;
	pointer-events: none;
}

.arrow svg {
	fill: var(--grey);
}

.size:hover .arrow svg,
.select:hover .arrow svg {
	fill: var(--green)
}


.low_btn {
	width: 59%;
}

.low_btn button {
	border: none;
	height: 100%;
}

.options.border-bottom,
.and_btn {
	border-bottom: 2px solid var(--black);
}

button {
	width: 100%;
	cursor: pointer;
}

.color p {
	margin-right: 10px;
}

.square {
	width: 20px;
	height: 20px;
	cursor: pointer;
	margin: 10px 5px;
	border-radius: 4px;
	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
	outline-offset: -3px;
	box-sizing: border-box;
}

.square.black {
	background-color: var(--black);
}

.square.white {
	background-color: var(--white);
}

.square.active {
	border: 3px solid var(--green);
}

.checkbox {
	display: none;
}

/* End (shop) */
/* Start (table) */
table {
	border-collapse: collapse;
}

.header {
	border-bottom: 2px solid var(--black);
	height: 50px;
}

th {
	font-family: var(--base-font);
	font-size: 20px;
	padding: 0 20px;
	font-weight: 500;
}

td {
	font-family: var(--base-font);
	font-size: 20px;
	text-align: center;
	padding: 0 10px;
	color: var(--dark_grey);
}

#cart-items tr {
	border-bottom: 2px solid var(--dark_grey);
	padding: 10px 0;
	height: 50px;
}

tbody {
	border-bottom: 2px solid #333;
}

.table tbody tr:nth-child(even) {
	background: #f8f8f8 !important;
}

/* End (table) */
/* --------------------- */
/* Start (order) */
#order-form {
	display: flex;
}

#order-form .btn {
	margin-left: 10px;
	border: none;
}

.input_wrapper {
	position: relative;
}

input {
	border-radius: 0;
	border: 2px solid var(--black);
	margin: 0 10px;
	height: 100%;
	padding: 0 20px;
	font-family: var(--base-font);
}

label {
	position: absolute;
	top: 30%;
	left: 10%;
	transition: all .3s ease;
	padding: 0 10px;
	cursor: text;

	font-family: var(--base-font);
	background-color: var(--white);
	text-transform: uppercase;
	font-weight: 500;
	color: var(--dark_grey);
}

input:focus~label,
input:valid~label {
	top: -20%;
	left: 10%;
	font-size: 14px;
}

#block1 .flex,
#block2 .flex,
#block3 .flex,
#block4 .flex {
	justify-content: center;
	align-items: center;
}

#block2 .img_wrapper {
	margin-left: 50px;
}

#block1 .img_wrapper {
	margin-left: 100px;
}

#block1 .left_line,
#block2 .left_line,
#block3 .left_line,
#block4 .left_line {
	padding-left: 0;
}

.total-cost {
	display: inline-block;
	background-color: var(--black);
	padding: 5px 30px;
	padding-top: 10px;
}

#total-cost {
	display: inline;
	color: var(--white);
	font-family: var(--title-font);
	font-size: 64px;
	line-height: 0;
}

.total-cost object {
	height: 48px;
	margin-left: 10px;
}

h4 span {
	font-size: 64px;
	text-transform: uppercase;
	line-height: 54px;
	font-family: var(--title-font);
}

#block2 .text h4 {
	font-family: var(--base-font);
}

.text {
	padding-left: 20px;
}

#cart button {
	border: none;
	background-color: var(--white);
}

/* End (order) */
/* Start (footer) */

footer {
	background-color: var(--black);
	display: flex;
	flex-direction: column;
	align-items: center;
}

footer .wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 30px;
}

footer h4 {
	color: var(--white);
	margin-top: 40px;
	margin-bottom: 30px;
	font-weight: 600;
}

footer p {
	color: var(--white);
}

.smm a {
	margin: 20px 10px;
	transition: all .3s ease;
}

.smm a:hover {
	transform: rotate(25deg) scale(1.3);
}

.copyright {
	margin-bottom: 20px;
}

/* End (footer) */
/* Start (media and hover) */
@media screen and (min-width: 768px) {

	.btn_login a:hover,
	.menu li a:hover {
		background-color: var(--black);
		color: var(--white);
	}

	/* 
	.btn_login a:hover {
		box-shadow: 0px 6px 8px 3px rgba(0, 0, 0, 0.15) inset;
		color: #fff;
		animation: 4s linear 0s infinite alternate btn_hover;
	}
	*/

	.btn:hover {}

	.btn span {
		position: relative;
		z-index: 2;
	}

	.btn:after {
		position: absolute;
		content: "";
		top: 0;
		left: 0;
		width: 0;
		height: 100%;
		background: var(--blue);
		transition: all .35s;
	}

	.btn:hover {
		color: var(--white);
	}

	.btn:hover:after {
		width: 100%;
	}
}

@media screen and (max-width: 1200px) {
	.header__burger {
		display: block;
		position: relative;
		width: 30px;
		height: 20px;
	}

	.header__burger:before,
	.header__burger:after {
		content: '';
		background-color: #333;
		position: absolute;
		width: 100%;
		height: 2px;
		left: 0
	}

	.header__burger:before {
		top: 0;
		transition: all .3s ease 0s;
	}

	.header__burger:after {
		bottom: 0;
		transition: all .3s ease 0s;
	}

	.header__burger span {
		position: absolute;
		background-color: #333;
		left: 0;
		width: 100%;
		height: 2px;
		top: 9px;
		transition: all .3s ease 0s;
	}

	.burger__menu {
		overflow: auto;
		display: block;
		position: fixed;
		padding-top: 100px;
		top: 0;
		right: -100%;
		width: 100vw;
		height: 100vh;
		background-color: #fff;
		z-index: 100;
		transition: all .3s ease 0s;
	}

	.burger__menu.active {
		right: 0;
	}

	.header__burger.active:before {
		transform: rotate(45deg);
		top: 9px;
	}

	.header__burger.active:after {
		transform: rotate(-45deg);
		bottom: 9px;
	}

	.header__burger.active span {
		transform: scale(0)
	}

	.burger__inner div a,
	.burger__inner li a {
		text-decoration: none;
		font-family: var(--base-font);
		font-weight: 500;
		font-size: 20px;
		color: var(--black);
	}

	.burger__inner li {
		text-align: center;
	}

	.burger__inner div {
		text-align: center;
		width: 100vh;
		width: auto;
		margin-top: 50px;
	}

	.burger__inner ul {
		padding-left: 0;
	}

	.menu,
	.btn_login {
		display: none;
	}

	header nav {
		display: flex;
		align-items: center;
		justify-content: space-around;
	}

	h5 {
		font-size: 24px;
	}

	h1 {
		font-size: 48px;
		line-height: 75px;
	}

	p {
		font-size: 18px;
	}

	#welcome_block {
		margin-top: 150px;
	}

	#shop .item_wrapper {
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 20px;
	}

	#block1,
	#block2,
	#block3,
	#block4,
	#shop .item_wrapper {
		max-width: 95vw;
	}

	#block1 .img_wrapper {
		margin-left: 50px;
	}

	#block1 .img_wrapper,
	#block2 .img_wrapper,
	#block3 .img_wrapper,
	#block4 .img_wrapper {
		width: 35%;
	}

	.text h4 {
		line-height: 32px;
	}

	h4 span {
		font-size: 36px;
	}

	#order-form {
		display: flex;
		flex-direction: column;
	}

	input {
		padding: 20px;
		width: -webkit-fill-available;
		margin: 0;
		margin-bottom: 20px;
	}

	label {
		top: 25%;
	}

	input:focus~label,
	input:valid~label {
		top: -10%;
		left: 10%;
		font-size: 14px;
	}

	#order-form {
		width: 100%;
	}

	#order-form .btn {
		margin-left: auto;
		width: 100%;
	}

	#block2 .img_wrapper {
		display: none;
	}

	#block1 .text_wrapper,
	#block2 .text_wrapper,
	#block3 .text_wrapper,
	#block4 .img_wrapper {
		width: 100%;
	}
}

@media screen and (max-width: 768px) {
	#welcome_block {
		margin-top: 150px;
	}

	h5 {
		font-size: 20px;
	}

	h1 {
		font-size: 36px;
		line-height: 75px;
	}

	td,
	p {
		font-size: 16px;
	}

	.flex {
		flex-direction: column-reverse;
	}

	.text_wrapper {
		width: 100%;
	}

	#welcome_block .img_wrapper {
		width: 100%;
	}

	#shop .item_wrapper {
		grid-template-columns: repeat(1, 1fr);
		grid-gap: 20px;
	}

	#block1,
	#block2,
	#block3,
	#block4 {
		margin: auto;
	}

	#block1 .img_wrapper,
	#block2 .img_wrapper,
	#block3 .img_wrapper,
	#block4 .img_wrapper {
		margin-left: 0;
	}

	.table_wrapper {
		position: relative;
		transition: all .3s ease;
		overflow: hidden;
		overflow-x: scroll;
		border: solid 2px var(--black);
	}

	#to_cart_shop {
		bottom: 20vh;
	}

	.copyright,
	footer h4 {
		text-align: center;
		margin-bottom: 10px;
	}

	footer .wrapper {
		margin: 20px 0;
	}

	.flex.smm {
		flex-wrap: wrap;
		flex-direction: row;
		margin: 20px 0;
	}

	#block1 .img_wrapper,
	#block2 .img_wrapper,
	#block3 .img_wrapper,
	#block4 .img_wrapper {
		width: 70%;
		margin-bottom: 40px;
	}

	.text h4 {
		margin: 10px 0;
	}

	.color,
	.number {
		padding: 5px 10px;
	}

	.btn span {
		font-size: 18px;
	}

	#block2 .img_wrapper {
		display: block;
		width: 100%;
	}
}

/* End (media and hover) */