.navigation {
	display: none;
	flex-flow: column;
	height: 64px;
	padding: 0 16px;
	background-color: white;
	border-bottom: 1px solid $color-black-200;
	box-sizing: border-box;

	@include desktop {
		display: flex;
	}
}

.navigation-container {
	position: relative;
	align-self: center;
	width: 100%;
	height: 100%;
	max-width: 1280px;
}

.navigation-menu {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	height: 100%;
}

.navigation-menu-item {
	&:hover {
		.navigation-menu-sub {
			display: unset;
		}

		.navigation-menu-link {
			height: calc(100% + 2px);
			margin: -1px 0;
			background-color: $color-black-100;
		}
	}
}

.navigation-menu-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-align: center;
	height: 100%;
	padding: 0 32px;
	font-size: 15px;
	line-height: 24px;

	@include desktop {
		&:hover {
			height: calc(100% + 2px);
			margin: -1px 0;
			background-color: $color-black-100;
		}
	}
}

.navigation-menu-link__icon {
	width: 10px;
	height: 5px;
	color: $color-green-400;
}

.navigation-menu-sub {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	display: none;
	column-count: 3;
	column-gap: 0;
	padding: 32px 64px;
	background-color: $color-black-100;
	border-top: 1px solid rgba($color-black-300, 0.16);
}

.navigation-menu-sub-item {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 10px;
	break-inside: avoid;
	list-style: none;

	&::before {
		content: '';
		width: 6px;
		height: 6px;
		border-radius: 50%;
		background-color: $color-green-400;
	}
}

.navigation-menu-sub-link {
	font-size: 15px;
	line-height: 36px;

	&.active {
		color: $color-green-400;
	}

	@include desktop {
		&:hover {
			text-decoration: underline;
			text-decoration-color: rgba($color-black-300, 0.16);
			text-underline-offset: 4px;
		}
	}
}
