/* Navigation */

.header {
	margin: auto;
	transition: all 0.7s;
}

.header--fixed {
	box-shadow: 0 0 10px;
	position: fixed;
	top: 0;
	max-width: none;
	width: 100%;
	margin: 0 0;
	background: rgb(241 241 241);
	align-items: center;
	z-index: 1;
}

.nav__logo {
	margin: 0 20px 0 65px;
}

.nav {
	z-index: 2;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
}

#chk {
	display: none;
}

.nav__toggle {
	color: var(--color-primary);
	font-size: 3rem !important;
	padding: 0 2rem;
	cursor: pointer;
}

.nav__list {
	max-height: 0;
	overflow: hidden;
	min-width: 100%;
	flex-direction: column;
	display: flex;
	padding: 0px 0;
	color: #000;
	font-size: 2rem;
	margin: 0 0;
	transition: max-height 0.5s;
}

#chk:checked ~ .nav__list {
	max-height: 100vh;
	/* overflow: hidden; */
	/* height: 0;
	overflow: hidden; */
}

@media screen and (min-width: 900px) {
	.header {
		margin-top: 5px;
	}
	.nav__toggle {
		display: none;
	}
	.nav__list {
		max-height: 100vh;
		flex-direction: row;
		min-width: 0;
		overflow: visible;
		display: flex;
		background: none;
		position: relative;
		flex-direction: row;
		list-style-type: none;
	}

	.nav {
		justify-content: right;
		align-items: flex-end;
	}
}

.nav__list2 {
	padding: 0 0;
	display: flex;
	flex-direction: row;
	color: #000;
	font-size: 2rem;
	list-style-type: none;
	margin: 0 0;
}

.nav--border-bottom {
	border-bottom: solid 5px rgb(204 204 204);
}

.nav__list--center {
	justify-content: center;
}

.nav__list a {
	padding: 0.5rem 2rem;
	display: inline-block;
	background: #fff;
	margin: 0 2px;
	box-shadow: 0 0 5px 1px rgb(204 204 204 / 0.5);
	transition: all 0.3s;
	text-decoration: none;
	color: #000;
	font-weight: 100;
	display: block;
	white-space: nowrap;
}

.nav a:hover {
	background: var(--color-primary);
	/* padding: 0.2rem 1.6rem; */
	/* transform: scale(0.8); */
}

.nav .nav__important {
	box-shadow: 0 0 5px 0px var(--color-primary);
	/* color: var(--color-primary); */
}

.parent {
	position: relative;
}

.v-child {
	/* display: none; */
	/* max-height: 0px; */
	transition: all 0.3s;
	position: absolute;

	opacity: 0;
	transform: scale(0);
	transform-origin: top right;
	top: 100%;
	z-index: 1;
}

.parent:hover > .v-child {
	/* display: block; */
	/* max-height: 100vh; */
	/* overflow: visible; */
	/* transform: translateY(0); */
	opacity: 1;
	transform: scale(1);
	transition: all 0.5s;
}

.h-child {
	/* display: none; */
	/* max-width: 0;
	overflow: hidden; */
	transition: all 0.3s;
	opacity: 0;
	transform: scale(0);
	transform-origin: top right;
	position: absolute;
	top: 0;
	right: 100%;
}

.parent:hover > .h-child {
	/* display: block; */
	/* max-width: 100vw;
	overflow: visible; */
	transform: scale(1);
	opacity: 1;
}

.parent a {
	margin-top: 1px;
	box-shadow: 2px 2px 3px grey;
	transform: skew(-1deg);
	border-radius: 3px;
}

.parent:hover > a {
	/* clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 50%);
	border-radius: 10px; */
}

.parent:hover > a {
	background: var(--color-primary);
	color: #fff;
}

.fas {
	font-size: 1.5rem;
	margin-right: 7px;
}
