@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

*,
*::after,
*::before {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	box-sizing: border-box;
	/* font-size: 62.5%; */
}

.nav-container {
	position: relative;
	display: flex;
	background-color: #fff;
	justify-content: space-between;
	box-shadow: 0rem 1rem 1.5rem rgba(0, 0, 0, 0.2);
	z-index: 10;
	position: fixed;
	top: 0;
	width: 100vw;
}

.navigation{
	display: flex;
	margin: 0;
	justify-content: space-between;
	align-items: center;
	padding: 15px;
	font-family: "Poppins", sans-serif;
	font-weight: 500;
	/* margin-right: 6rem; */
}

body {
	background-color: #41807c;
}

nav {
	background-color: #fff;
	color: #fff;
}

.logo-img {
	height: 8rem;
	margin-left: 2rem;
}

.down-arrow {
	height: 1rem;
	margin-left: 3px;
}

.menu {
	width: 100%;
	margin-left: 2rem;
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.menu li a {
	font-size: 1.6rem;
	display: block;
	color: #41807c;
	text-decoration: none;
	padding: 15px;
	font-family: "Poppins", sans-serif;
}

/* .menu li.dropdown:hover .dropdown__menu {
	display: block;
} */

.dropdown {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	position: relative;
}

.dropdown-heading {
	display: block;
}

.dropdown__menu {
	display: inline-block;
	position: absolute;
	top: 3.8rem;
	width: max-content;
	background-color: #fff;
	padding: 10px;
	font-weight: 400;
}

.dropdown__menu li {
	display: block;
}

.dropdown__menu li a {
	color: #41807c;
	text-decoration: none;
	padding: 5px;
	background-image: linear-gradient(
		120deg,
		transparent 0%,
		transparent 50%,
		rgba(65, 128, 124, 1) 50%
	);
	background-size: 250%;
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	
}

.dropdown__menu li a:hover {
	background-position: 100%;
	transition: all 0.6s;
	color: #fff;
}

.hamburger-box {
	display: inline-block;
	padding: 10px;
	position: fixed;
	right: 2rem; /*25px*/
	top: 2rem; /*25px*/
	background-color: #41807c;
	border-radius: 50px;
}

.hamburger-box:hover {
	cursor: pointer;
}

#menu-icon {
	display: inline-block;
	position: absolute;
	/* height: 20px;
	width: 20px; */
	height: 100%;
	width: 100%;
	z-index: 10;
	opacity: 0;
	top: 0;
    right: 0;
}

#menu-icon:hover {
	cursor: pointer;
}

.hamburger-menu {
	display: block;
	position: relative;
	height: 3px;
	width: 25px;
	background-color: #fff;
	transition: all 0.5s;
}

.hamburger-menu:not(:last-child) {
	margin-bottom: 5px;
}

#menu-icon:checked ~ .hamburger-menu-1 {
	transform: rotate(45deg);
	top: 8px;
}

#menu-icon:checked ~ .hamburger-menu-2 {
	opacity: 0;
}

#menu-icon:checked ~ .hamburger-menu-3 {
	transform: rotate(-45deg);
	top: -8px;
}

.hamburger-box-show {
	display: none;
	opacity: 0;
}

.hidden {
	display: none;
}

.animate-drop {
	animation: fade-in-down 0.3s;
}

@keyframes fade-in-down {
	0% {
		height: 0;
	}

	100% {
		height: 20rem;
	}
}

@media screen and (max-width: 900px) {
	.hamburger-box-show {
		display: inline-block;
		opacity: 1;
	}

	.hidden-nav {
		display: none;
	}

	.animate-nav {
		animation: fade-in-left 0.5s;
	}

	.navigation {
		flex-direction: column;
		position: absolute;
		right: 0;
		top: 0;
		min-height: 100vh;
		width: 50vw;
		overflow-y: auto;
		box-shadow: 0rem 1rem 1.5rem rgba(0, 0, 0, 0.2);
		margin-right: 0;
	}
	/* .nav-container::before{
		position: absolute;
		top: 0;
		left: 0;
		content: "";
		width: 100vw;
		height: 100vh;
		background-color: rgba(0, 0, 0, 0.617);
		z-index: -1;
	} */
	
	.menu {
		flex-direction: column;
		position: relative;
		top: 8rem;
		align-items: flex-start;
	}

	.menu li.dropdown:hover .dropdown__menu,
	.menu li.dropdown:active .dropdown__menu {
		display: block;
	}

	.dropdown__menu {
		position: relative;
		top: 0;
		margin-left: 20px;
		border-left: 3px solid #41807c;
	}

	.dropdown {
		display: block;
		height: max-content;
	}

	@keyframes fade-in-left {
		0% {
			width: 0;
		}

		100% {
			width: 50vw;
		}
	}

	@keyframes fade-in-down {
		0% {
			height: 0;
		}

		100% {
			height: 17rem;
		}
	}
}

@media screen and (max-width: 600px) {
	.navigation {
		width: 80vw;
	}

	@keyframes fade-in-left {
		0% {
			width: 0;
		}

		100% {
			width: 80vw;
		}
	}
}

/* .hamburger-box-hidden {
	display: none;
	opacity: 0;
} */

/* Responsive Styles */
