@charset "UTF-8";

/*Миксины*/

.menu {
	list-style: none;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	gap: 48px;
}

.menu__item {
	position: relative;
	padding: 2px 0;
}

.menu__item::before {
	content: "";
	display: block;
	width: 0%;
	height: 1px;
	position: absolute;
	bottom: 0px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	background: #00CB62;
	-webkit-transition: 0.4s;
	-o-transition: 0.4s;
	transition: 0.4s;
}

.menu__item.active::before,
.menu__item:hover::before {
	width: 100%;
}

/* Бургер */

.burger {
	display: none;
}

.burger.open .burger__line {
	margin: 0;
}

.burger.open .burger__line:nth-child(2) {
	width: 0;
}

.burger.open .burger__line:nth-child(1) {
	-webkit-transform: translate(-50%, -50%) rotate(45deg);
	-ms-transform: translate(-50%, -50%) rotate(45deg);
	transform: translate(-50%, -50%) rotate(45deg);
}

.burger.open .burger__line:nth-child(3) {
	-webkit-transform: translate(-50%, -50%) rotate(-45deg);
	-ms-transform: translate(-50%, -50%) rotate(-45deg);
	transform: translate(-50%, -50%) rotate(-45deg);
}

.burger__line {
	width: 24px;
	height: 2px;
	border-radius: 1px;
	background: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-transition: 0.2s;
	-o-transition: 0.2s;
	transition: 0.2s;
}

.burger__line:nth-child(1) {
	margin-top: -8px;
}

.burger__line:nth-child(3) {
	margin-top: 8px;
}

.header--stable .burger__line {
	background: #fff !important;
}

.theme-light .burger__line {
	background: #141414;
}

@media (max-width: 1280px) {
	.menu {
		gap: 24px;
	}
}

@media (max-width: 1024px) {
	.menu__wrap {
		display: none;
		position: absolute;
		top: 91px;
		right: 40px;
		padding: 20px;
		background: #141414;
		color: #fff;
	}

	.menu__wrap.show {
		display: flex;
		flex-direction: column;
	}

	.menu {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-align: start;
		-ms-flex-align: start;
		align-items: flex-start;
	}

	.burger {
		display: block;
		position: relative;
		width: 24px;
		height: 24px;
	}

	.burger::before {
		content: "";
		display: block;
		width: 42px;
		height: 42px;
		position: absolute;
		top: 50%;
		left: 50%;
		-webkit-transform: translate(-50%, -50%);
		-ms-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
	}

	.theme-light .menu__wrap {
		background: #fff;
		color: #141414;
	}

	.burger__line {
		width: 18px;
		border-radius: 3px;
		height: 2px;
	}

	.burger__line:nth-child(1) {
		margin-top: -6px;
	}

	.burger__line:nth-child(2) {
		width: 13.6px;
		left: 10px;
	}

	.burger__line:nth-child(3) {
		margin-top: 6px;
	}
}

@media (max-width: 680px) {
	.menu__wrap {
		right: 10px;
		top: 48px;
		padding: 10px;
	}

	.menu {
		gap: 12px;
	}

	/* .burger {
	display: flex;
	flex-direction: column;
  } */

}

@media (min-width:1025px) {
	.menu__wrap .square-button {
		display: none !important;
	}

	.menu__wrap-contact {
		display: none;
	}
}

@media (max-width:1024px) {
	.burger {
		z-index: 4;
	}

	.menu__wrap {
		right: 0;
		top: 0;
		width: 100%;
		height: 100vh;
		overflow-y: auto;
		z-index: 3;
		padding: 54px 10px 40px 10px;
	}

	.menu__wrap .menu__item a {
		font-size: 20px;
	}

	.menu__wrap .menu {
		gap: 30px;
		margin-bottom: 24px;
	}

	.menu__wrap .square-button {
		display: block;
		height: 56px;
		width: 110px;
		background-color: #323333;
		border: 1px solid #323333;
		border-radius: 8px;
		margin-bottom: 48px;
		padding: 0 18px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex: 0 0 56px;
	}

	.menu__wrap .square-button img {
		width: 22px;
		height: 22px;
	}

	.menu__wrap .square-button .colors-dark {
		display: block;
	}

	body.theme-light .menu__wrap .square-button {
		background-color: transparent;
	}

	.theme-light .menu__wrap .square-button .colors-light {
		display: block;
	}

	.menu__wrap .corners {
		width: 42px;
		height: 42px;
		top: 6px;
		left: 55px;
		transition: 250ms ease;
	}

	.theme-light .menu__wrap .corners {
		left: 8px;
	}

	.menu__wrap-contact {
		margin-top: auto;
		display: flex;
		flex-direction: column;
	}

	.menu__wrap-contact a {
		display: flex;
		align-items: center;
		font-size: 22px;
		font-weight: 500;
		color: #fff;
	}

	.menu__wrap-contact a:not(:last-child) {
		margin-bottom: 12px;
	}

	.menu__wrap-contact a svg {
		margin-left: 8px;
	}
}