/* Підключення всіх шрифтів */

@font-face {
    font-family: 'Proxima Nova';
    src: url('../fonts/ProximaNova-Regular.eot');
    src: url('../fonts/ProximaNova-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/ProximaNova-Regular.woff') format('woff'),
        url('../fonts/ProximaNova-Regular.ttf') format('truetype'),
        url('../fonts/ProximaNova-Regular.svg#ProximaNova-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Blogger Sans';
    src: url('../fonts/BloggerSans.eot');
    src: url('../fonts/BloggerSans.eot?#iefix') format('embedded-opentype'),
        url('../fonts/BloggerSans.woff') format('woff'),
        url('../fonts/BloggerSans.ttf') format('truetype'),
        url('../fonts/BloggerSans.svg#BloggerSans') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Blogger Sans';
    src: url('../fonts/BloggerSans-Bold.eot');
    src: url('../fonts/BloggerSans-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/BloggerSans-Bold.woff') format('woff'),
        url('../fonts/BloggerSans-Bold.ttf') format('truetype'),
        url('../fonts/BloggerSans-Bold.svg#BloggerSans-Bold') format('svg');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Blogger Sans';
    src: url('../fonts/BloggerSans-Medium.eot');
    src: url('../fonts/BloggerSans-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/BloggerSans-Medium.woff') format('woff'),
        url('../fonts/BloggerSans-Medium.ttf') format('truetype'),
        url('../fonts/BloggerSans-Medium.svg#BloggerSans-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/*============================================================================*/

/* Обнулюючий стиль */

* {padding: 0; margin: 0; border: 0;}
*, *::before, *::after {box-sizing: border-box;}
html,body {height: 100%; width: 100%; line-height: 1;}
h1, h2, h3, h4, h5, h6 {font-weight: inherit; font-size: inherit;}
a {color: inherit; text-decoration: none;}
:focus,:active {outline: none;}
a:focus, a:active {outline: none;}
ul li {list-style: none;}
img {vertical-align: top;}
button {line-height: inherit; font-weight: inherit; font-size: inherit; cursor: pointer; 
	color: inherit;background-color: transparent;}
input, textarea {font-family: inherit;}

/*============================================================================*/

body {
	font-family: 'Proxima Nova', sans-serif;
	color: #1A202C;
}

.wrapper {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-height: 100%;
}

/*============================================================================*/

/* Встановлюємо обмеження ширини для контейнерів */
[class*="__container"] {
	max-width: 1896px;
	margin: 0 auto;
	padding: 0 15px;
}

/*============================================================================*/

/* Основні стилі */

.button {
	font-family: 'Blogger Sans', sans-serif;
	font-size: 1.25rem; /* 20px */
	font-weight: 500; 
	line-height: 1.25; /* 25px */
	display: inline-block;

	padding: 0.75em 1.25em;
	min-width: 286px;
	border-radius: 11% 11% 11% 11% / 55% 55% 55% 55%;
	text-align: center;
	background-color: #FFD324;
	box-shadow: 0px 0px 29px 0px rgba(255, 249, 94, 0.54);	
	transition: all 0.3s ease;
}
.button:hover {
	box-shadow: 0px 0px 42px 0px rgba(255, 249, 94, 0.8);	
}

.main-title {
	font-family: 'Blogger Sans', sans-serif;
	font-size: 3.75rem; /* 60px */
	font-weight: 500;
	line-height: 1.25; /* 75px */
	text-transform: uppercase;
}
.main-title_white {
	color: #FFF;
}

.main-text {
	font-size: 1.5rem; /* 24px */
	line-height: 1.3; /* 31.2px */
}
.main-text_white {
	color: #fff;
}

@media (max-width: 1220px) {
	.button {
		min-width: 230px;
	}
}

@media (max-width: 767.98px) {
	.main-title {
		font-size: 2.25rem; /* 36px */
	}
	.main-text {
		font-size: 1.25rem; /* 20px */
	}
}

/* Стилі для бургера*/
@media (max-width: 991.98px) {
	.header__burger {
		position: relative;
		width: 40px;
		height: 20px;
		display: block;
		cursor: pointer;
	}
	.header__burger span {
		position: absolute;
		width: 100%;
		height: 4px;
		background-color: #FFD324;
		border-radius: 4px;
		left: 0;
		transition: .25s ease-in-out;
	}

	.header__burger span:nth-child(1) {
		top: 0px;
	}
	.header__burger span:nth-child(2),
	.header__burger span:nth-child(3) {
		top: 10px;
	}
	.header__burger span:nth-child(4) {
		top: 20px;
	}

	.header__burger.active span:nth-child(1),
	.header__burger.active span:nth-child(4) {
		top: 10px;
		width: 0%;
		left: 50%;
	}
	.header__burger.active span:nth-child(2) {
		transform: rotate(45deg);
	}
	.header__burger.active span:nth-child(3) {
		transform: rotate(-45deg);
	}
	body.lock {
		overflow: hidden;
	}

}

/*============================================================================*/

/* header */

.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 140px;
	z-index: 50;
	background-color: #000000c5;
}
.header__container {
	display: flex;
	align-items: center;
	column-gap: 20px;
	min-height: 100%;
}


.header__logo {
	flex: 0 0 286px;
	position: relative;
	z-index: 5;
}
.header__phone {
	color: #FFF;
	font-family: 'Blogger Sans', sans-serif;
	font-size: 2.125rem; /* 34px */
	font-weight: 500;
	line-height: 1.25; /* 42.5px */
	white-space: nowrap;

	flex: 1 1 auto;
	display: flex;
	justify-content: flex-end;
	position: relative;
	z-index: 5;
	transition: all 0.3s ease;
}
.header__phone:hover {
	color: #FFD324;
	transform: scale(1.1);
}

.navigation {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}
.navigation__list {
	display: flex;
	column-gap: 50px;
}


.navigation__link {
	color: #fff;
	font-size: 1.5rem; /* 24px */
	line-height: 1.3; /* 31.2px */
	position: relative;
	transition: all 0.3s ease;
}
.navigation__link:hover {
	color: #FFD324;
}
.navigation__link::before {
	content: '';
	position: absolute;
	height: 2px;
	width: 0;
	top: 1.2em;
	left: 50%;
	border-radius: 10%;
	transition: all 0.4s ease;
}
.navigation__link:hover::before {
	left: 0;
    width: 100%;
    background-color: #FFD324;
}


.header__button {
	position: relative;
	z-index: 5;
}
.header__button span {
	position: relative;
	padding-right: 1.7em;
}
.header__button span::before {
	content: '';
	width: 1.2em;
	height: 1.2em;
	position: absolute;
	top: -6%;
	right: 0;
	background: url('../img/header/arrow.svg') center / contain no-repeat;
}


.header__burger {
	display: none;
	position: relative;
	z-index: 5;
}


@media (max-width: 1896px) {
	.navigation__list {
		column-gap: 25px;
	}
}
@media (max-width: 1525px) {
	.header__phone {
		display: none;
	}
	.navigation {
		flex: 1 1 auto;
		justify-content: flex-end;
	}
}
@media (max-width: 1276px) {
	.header__logo {
		flex: 0 0 104px;
		overflow: hidden;
	}
	.navigation__link {
		font-size: 1.375rem; /* 22px */
	}
}

@media (max-width: 991.98px) {
	.header__burger {
		display: block;
	}
	.header__logo {
		flex: 0 1 auto;
	}

	.navigation__list {
		position: fixed;
		width: 100%;
		height: 100%;
		top: 0;
		left: -100%;
		flex-direction: column;
		row-gap: 30px;
		padding: 150px 15px 0px 15px;
		background-color: #000000e5;
		text-align: center;
		overflow-y: auto;
		transition: all 0.3s ease;
	}
	.navigation__list::before {
		content: '';
		width: 100%;
		height: 140px;
		position: fixed;
		top: 0;
		left: -100%;
		background-color: #000000;
		z-index: 2;
		transition: all 0.3s ease;
	}
	.navigation__list.active,
	.navigation__list.active::before {
		left: 0;
	}
	.navigation__link {
		color: #FFD324;
		font-size: 36px;
	}
}
@media (max-width: 767.98px) { 
	.header__button {
		min-width: 0;
	}
	.header__logo {
		flex: 0 0 104px;
	}
}
@media (max-width: 420px) {
	.header {
		height: 114px;
	}
	.header__button {
		padding: 0.75em 1em;
	}
	.header__button span::before {
		display: none;
	}
	.header__button span {
		padding-right: 0;
	}
	.header__container {
		column-gap: 10px;
	}
	.header__logo {
		flex: 0 1 84px;
	}
	.header__logo img {
		transform: scale(0.75);
		transform-origin: left;
	}
}

/*============================================================================*/

/* Секція primary */

.primary {
	padding: 259px 0px 256px 0px;
	background: linear-gradient(180deg, #000 -1.44%, rgba(0, 0, 0, 0.00) 18.67%), linear-gradient(90deg, #000 0.35%, rgba(0, 0, 0, 0.00) 50.92%), url('../img/primary/bg.jpg') 0 0  / cover no-repeat, lightgray 50% / cover no-repeat;
	min-height: 100vh;
}


.primary__title,
.primary__subtitle {
	color: #FFD324;
	font-family: 'Blogger Sans', sans-serif;
	text-transform: uppercase;
	text-shadow: 0px 0px 29px rgba(255, 249, 94, 0.54), 0px 0px 10px rgba(0, 0, 0, 0.30);
}

.primary__title {
	font-size: 8.125rem; /* 130px */
	font-weight: 700;
	line-height: 1.1; /* 143px */
}

.primary__subtitle {
	font-size: 3.75rem; /* 60px */
	font-weight: 500;
	line-height: 1.25; /* 75px */
}
.primary__subtitle:not(:last-child) {
	margin-bottom: 0.5em; /* 30px */
}

.primary__text {
	max-width: 694px;
}
.primary__text:not(:last-child) {
	margin-bottom: 1.25em; /* 30px */
}


.primary__button {
	min-width: 316px;
}


@media (max-width: 767.98px) { 
	.primary {
		padding: 230px 0px;
	}
	.primary__title {
		font-size: 4.375rem; /* 70px */
	}
	.primary__subtitle {
		font-size: 2.5rem; /* 40px */
	}
	.primary__button {
		min-width: 290px;
	}
}

/*============================================================================*/

/* Секція about */

.about {
	padding: 150px 0px;
}
.about__container {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	position: relative;
}


.about__block-text {
	padding: 3.75rem 1.875rem;
	box-shadow: 0px 0px 40px 0px rgba(142, 162, 170, 0.20);	
	border-radius: 1.8987% 1.8987% 1.8987% 1.8987% / 3.24675% 3.24675% 3.24675% 3.24675%;
	max-width: 790px;
	background-color: #fff;

	position: absolute;
	left: 0;
}

.about__title:not(:last-child) {
	margin-bottom: 0.5em; /* 30px */
}
.about__text p:not(:last-child) {
	margin-bottom: 0.4166em; /* 10px */
}


.about__media {
	display: flex;
	gap: 30px;
}

.about__column:nth-child(1) {
	width: 61%;
}

.about__column:nth-child(2) {
	width: 39%;
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.about__image {
	height: 100%;
	border-radius: 15px;
	box-shadow: 0px 0px 40px 0px rgba(142, 162, 170, 0.20);
	overflow: hidden;
}

.about__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}


@media (max-width: 1344px) { 
	.about {
		padding: 100px 0px;
	}
	.about__container {
		flex-direction: column;
		row-gap: 30px;
	}
	.about__block-text {
		position: static;
		max-width: 100%;
	}
	.about__media {
		width: 100%;
	}
}

@media (max-width: 991.98px) { 
	.about {
		padding: 70px 0px;
	}
	.about__column:nth-child(2),
	.about__media {
		gap: 20px;
	}
}

@media (max-width: 767.98px) {
	.about {
		padding: 30px 0px;
	}
	.about__media {
		flex-direction: column;
	}
	.about__column:nth-child(2),
	.about__media {
		gap: 15px;
	}
	.about__column:nth-child(1),
	.about__column:nth-child(2) {
		width: 100%;
	}
	.about__block-text {
		padding: 0;
		box-shadow: none;
	}
}

/*============================================================================*/

/* Секція assortment */

.assortment__title {
	text-align: center;
	color: #2D3748;
}
.assortment__title:not(:last-child) {
	margin-bottom: 0.6667em; /* 40px */
}

.assortment__category {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	column-gap: 30px;
	row-gap: 15px;
}
.assortment__category:not(:last-child) {
	margin-bottom: 2.5rem; /* 40px */
}

.category-assortment__link {
	position: relative;
	display: inline-block;
	min-width: 286px;
	padding: 0.75em 1.25em;
	color: #2D3748;
	font-size: 1.25rem; /* 20px */
	font-family: 'Blogger Sans', sans-serif;
	font-weight: 500;
	line-height: 1.25; /* 25px */
	text-align: center;
	border: 1px solid #FFD324;
	border-radius: 11% 11% 11% 11% / 55% 55% 55% 55%;
	overflow: hidden;
}
.category-assortment__link span {
	position: relative;
	z-index: 2;
}
.category-assortment__link.active {
	background-color: #FFD324;
}

.category-assortment__link::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 100%;
	background-color: #ffd3249f;
	border-radius: 11% 11% 11% 11% / 55% 55% 55% 55%;
	transition: all 0.3s ease-in;
}
.category-assortment__link:hover::before {
	width: 100%;
}

.assortment__content {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	column-gap: 30px;
}


.product-assortment {
	position: relative;
}
@media (min-width: 992px) {
	.product-assortment::before {
		content: 'Замовити';
		overflow: hidden;
		z-index: 2;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		left: 50%;
		top: 313px;
		width: 0;
		height: 55px;

		color: #2D3748;
		font-family: 'Blogger Sans', sans-serif;
		font-size: 20px; 
		font-weight: 500;
		line-height: 1.25; /* 25px */
		border-radius: 11% 11% 11% 11% / 55% 55% 55% 55%;
		transition: all 0.5s ease;
	}
	.product-assortment:hover::before {
		width: 286px;
		left: 0;
		background-color: #FFD324;
	}
}


.product-assortment__image {
	overflow: hidden;
	box-shadow: 0px 0px 40px 0px rgba(142, 162, 170, 0.20);
	width: 286px;
	height: 258px;
	border-radius: 5.2% 5.2% 5.2% 5.2% / 5.81% 5.81% 5.81% 5.81%;
}
.product-assortment__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-assortment__name,
.product-assortment__price {
	text-align: center;
	font-size: 1.25rem; /* 20px */
}

.product-assortment__name {
	font-family: 'Blogger Sans', sans-serif;
	font-weight: 700;
	line-height: 1.25; /* 25px */
}
.product-assortment__price {
	line-height: 1.5; /* 30px */
}

@media (max-width: 1220px) {
	.category-assortment__link {
		min-width: 230px;
	}
}

@media (max-width: 991.98px) {
	.assortment__product {
		flex: 1 1 auto;
	}
	.product-assortment__image {
		width: 100%;
		height: 280px;
	}
}
@media (max-width: 682px) {
	.assortment__content {
		flex-direction: column;
	}
	.product-assortment__image {
		height: 230px;
		width: 80%;
		margin: 0 auto;
	}
}
@media (max-width: 420px) {
	.product-assortment__image {
		width: 100%;
	}
}

/*============================================================================*/

/* Секція work */

.work {
	padding: 150px 0px;
}
.work__container {
	display: flex;
	align-items: center;
	position: relative;
}

.work__media {
	overflow: hidden;
	width: 65.429%;
	max-height: 720px;
	border-radius: 15px;
	box-shadow: 0px 0px 40px 0px rgba(142, 162, 170, 0.20);
}
.work__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.work__block-text {
	padding: 3.75rem 1.875rem;
	box-shadow: 0px 0px 40px 0px rgba(142, 162, 170, 0.20);	
	border-radius: 1.8987% 1.8987% 1.8987% 1.8987% / 3.24675% 3.24675% 3.24675% 3.24675%;
	max-width: 790px;
	background-color: #fff;

	position: absolute;
	right: 0;
}

.work__title:not(:last-child) {
	margin-bottom: 0.5em; /* 30px */
}
.work__text:not(:last-child) {
	margin-bottom: 1.875rem; /* 30px */
}
.work__text p:not(:last-child) {
	margin-bottom: 0.41667em; /* 10px */
}
.work__text p:nth-child(2) {
	margin-bottom: 0.833em; /* 20px */
}

.work__subtitle {
	font-family: 'Blogger Sans', sans-serif;
	font-size: 2.125rem; /* 34px */
	font-weight: 500;
	line-height: 1.25; /* 42.5px */
}
.work__subtitle:not(:last-child) {
	margin-bottom: 0.2941em; /* 10 px*/
}

.work__button {
	min-width: 444px;
	box-shadow: none;
	border-radius: 30px;
}

@media (max-width: 1344px) { 
	.work {
		padding: 100px 0px;
	}
	.work__container {
		flex-direction: column-reverse;
		row-gap: 30px;
	}
	.work__block-text {
		position: static;
		max-width: 100%;
	}
	.work__media {
		width: 100%;
		max-height: 100%;
	}
}
@media (max-width: 991.98px) { 
	.work {
		padding: 70px 0px;
	}
}
@media (max-width: 767.98px) {
	.work {
		padding: 50px 0px;
	}
	.work__block-text {
		padding: 0;
		box-shadow: none;
	}
	.work__subtitle {
		font-size: 1.625rem; /* 26px */
	}
	.work__button {
		min-width: 0;
	}
}

/*============================================================================*/

/* Секція why */

.why {
	padding-bottom: 150px;
}


.why__title {
	text-align: center;
}
.why__title:not(:last-child) {
	margin-bottom: 0.6667em; /* 40px */
}

.why__content {
	display: flex;	
	justify-content: center;
	column-gap: 30px;
}

.card-why__image {
	overflow: hidden;
	border-radius: 15px;
	box-shadow: 0px 0px 40px 0px rgba(142, 162, 170, 0.20);
	width: 444px;
	height: 400px;
}
.card-why__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card-why__title,
.card-why__text {
	text-align: center;
	max-width: 444px;
}

.card-why__title {
	font-family: 'Blogger Sans', sans-serif;
	font-size: 2.125rem; /* 34px */
	font-weight: 500;
	line-height: 1.25; /* 42.5px */
}
.card-why__title:not(:last-child) {
	margin-bottom: 0.2941em; /* 10px */
}
.card-why__text {
	font-size: 1.25rem; /* 20px */
	line-height: 1.5; /* 30px */
}

@media (max-width: 1450px) { 
	.card-why__image {
		width: 100%;
	}
}

@media (max-width: 767.98px) {
	.why {
		padding-bottom: 50px;
	}
	.why__content {
		flex-wrap: wrap;
		row-gap: 25px;
	}
	.why__card {
		flex: 1 1 auto;
	}

	.card-why__title,
	.card-why__text {
		max-width: 100%;
	}
	.card-why__title {
		font-size: 1.625rem; /* 26px */
	}
	.card-why__text {
		font-size: 1.125rem; /* 18px */
	}
}

@media (max-width: 520px) {
	.card-why__image {
		height: 280px;
	}
}

/*============================================================================*/

/* footer */

.footer__header {
	padding: 80px 15px;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.80) 100%), url('../img/footer/bg_1.jpg') center/cover;
}

.footer__title,
.footer__text {
	text-align: center;
	max-width: 1234px;
	margin: 0 auto;
}
.footer__text span {
	color: #FFD324;
}
.footer__title:not(:last-child) {
	margin-bottom: 0.5em; /* 30px */
}
.footer__text:not(:last-child) {
	margin-bottom: 2.5em; /* 60px */
}
.footer__text p:not(:last-child) {
	margin-bottom: 0.4166em; /* 10px */
}

.form-footer {
	display: flex;	
	justify-content: center;
	align-items: center;
	column-gap: 30px;
}
.form-footer__line {
	width: 444px;
	border-bottom: 1px solid #FFF;
}

.form-footer__label {
	color: #FFF;
	font-size: 1.25rem; /* 20px */
	line-height: 1.5; /* 30px */
	opacity: 0.6;
}
.form-footer__label:not(:last-child) {
	margin-bottom: 0.25em; /* 5px */
}

.form-footer__input {
	background: transparent;
	display: block;
	width: 100%;
	margin-bottom: 0.2083em; /* 5px */
}

.form-button {
	box-shadow: none;
}

@media (max-width: 767.98px) {
	.footer__header {
		padding: 40px 15px;
	}
	.form-footer {
		flex-direction: column;
		row-gap: 25px;
	}
	.form-footer__line {
		max-width: 100%;
	}
}


.footer__bottom {
	display: flex;
}
.footer__map,
.footer__content {
	flex: 1 1 50%;
}

.footer__map {
	position: relative;
	min-height: 566px;
}
.footer__map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.footer__content {
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.80) 100%), url('../img/footer/bg_2.jpg') lightgray 50% center/cover;
	padding: 36px 30px 20px 30px;
	display: flex;
	flex-direction: column;
}
.footer__logo:not(:last-child) {
	margin-bottom: 30px;
}

.footer__columns {
	display: flex;
	flex:  1 1 100%;
}
.footer__columns:not(:last-child) {
	margin-bottom: 30px;
}

.navigation-footer, 
.footer__contacts {
	flex: 1 1 50%;
}

.navigation-footer__item:not(:last-child) {
	margin-bottom: 1.875rem; /* 30px */
}

.navigation-footer__link {
	transition: all 0.3s ease;
}
.navigation-footer__link:hover {
	color: #FFD324;
}


.item-contacts {
	display: flex;
	column-gap: 5px;
}
.item-contacts:not(:last-child) {
	margin-bottom: 30px;
}

.item-contacts__text p:not(:last-child) {
	margin-bottom: 5px;
}
.item-contacts__link {
	transition: all 0.3s ease;
}
.item-contacts__link:hover {
	color: #FFD324;
}


.footer__copy {
	color: #FFF;
	font-family: 'Blogger Sans', sans-serif;
	line-height: 1.25; /* 20px */
}

@media (max-width: 1250px) {
	.navigation-footer {
		display: none;
	}
}
@media (max-width: 767.98px) {
	.footer__bottom {
		flex-direction: column;
	}
	.footer__map {
		min-height: 400px;
	}
	.footer__logo img {
		max-width: 100%;
	}
}