.nav {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0 1rem;
	height: 75px;
	box-sizing: border-box;
}

.logo_item {
	flex: 0 0 auto;
}

.logo_item img {
	display: block;
	height: 70px;
	width: auto;
}

.nav__group {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 800;
	letter-spacing: 0.05em;
}

.home_item,
.contact_item {
	flex: 0 0 auto;
	font-size: 2.3rem;
	line-height: 1;
	white-space: nowrap;
	transition: color 0.2s ease, transform 0.2s ease;
}

.home_item:hover,
.contact_item:hover {
	color: var(--hff);
	transform: scale(1.04);
	transform-origin: center;
}

.language_item {
	flex: 0 0 auto;
}


.language_item img,
#lang-switch img {
	display: block;
	width: 80px;
	height: auto;
	border-radius: 5px;
}

.nav a {
	display: inline-block;
	padding: 0.35rem 0.6rem;
	text-decoration: none;
	color: inherit;
}

@media (max-width: 750px) {
	.nav {
		grid-template-columns: 1fr 1fr 1fr;
		grid-template-rows: 1fr;
		height: auto;
		align-items: center;
		gap: 0.5rem;
		padding: 0.2rem;
	}

	.logo_item {
		grid-column: 1;
	}

	.logo_item img {
		height: 40px;
	}

	.nav__group {
		grid-column: 2;
		justify-self: end;
		gap: 0.05rem;
		letter-spacing: 0.02em;
	}
	.home_item,
	.contact_item {
		font-size: 1.2rem;
	}

	.language_item {
		grid-column: 3;
	}

	.language_item img,
	#lang-switch img {
		width: 40px;
	}
}