@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;1,300&display=swap');

:root {
	--green: green;
	--black: #130f40;
	--light-color: #666;
	--box-shadow: 0.1rem 1rem rgba(0, 0, 0, 0.1);
	--border: 2rem solid rgba(0, 0, 0, 0.1);
	--outline: 0.1rem solid rgba(0, 0, 0, 0.1);
}

* {
	font-family: 'Poppins', sans-serif;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	outline: none;
	border: none;
	text-decoration: none;
	text-transform: capitalize;
	transition: all 0.2s linear;
}

html {
	font-size: 62.5%;
	overflow-x: hidden; /* ❌ overflow: hidden -> ✅ overflow-x: hidden */
	scroll-behavior: smooth;
	scroll-padding-top: 7rem;
}

body {
	background: #eee;
}

.header {
	border: 0px solid;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 2rem 9%;
	background: #fff;
	box-shadow: var(--box-shadow);
}

.header .logo {
	font-size: 2.5rem;
	font-weight: bolder;
}

.header .logo i {
	color: var(--green);
}

.header .navbar a {
	font-size: 1.7rem;
	margin: 0 1rem;
}

.header .icons div {
	border: 0px solid;
	height: 4.5rem;
	width: 4.5rem;
	line-height: 4.5rem;
	border-radius: 0.5rem;
	background: #eee;
	color: var(--black);
	font-size: 2rem;
	margin-right: 0.3rem;
	text-align: center;
	cursor: pointer;
}

.header .icans div:hover {
	background: var(--green);
	color: white;
}

#menu-btn {
	display: none;
}


.header .navbar .active
{
	right: 2rem;
	transition: .4s linear;












.header .search-form {
	border: 0px solid;
	position: absolute;
	top: 110%;
	right: 2rem;
	width: 50rem;
	height: 4rem;
	background: #fff;
	border-radius: 0.5rem;
	overflow: hidden;
	display: flex;
	align-items: center;
	box-shadow: var(--box-shadow);
}

.header .search-form input {  /* ✅ corrected class name from `.serch-form` to `.search-form` */
	height: 100%;
	width: 100%;
	background: none;
	text-transform: none;
	font-size: 1.6rem;
	color: var(--black);
}

/* media queries */
@media (max-width: 768px) {
	html {
		font-size: 55%;
	}
	.header {
		padding: 2rem;
	}
}

@media (max-width: 768px) {
	#menu-btn {
		display: inline-block;
	}
	.header .navbar {
		position: absolute;
		top: 110%;
		right: -110%;
		width: 30rem;
		box-shadow: var(--box-shadow);
		border-radius: 0.5rem;
		background: #fff;
	}
	.header .navbar a {
		font-size: 2rem;
		margin: 2rem 2.5rem;
		display: block;
	}
}

@media (max-width: 450px) {
	html {
		font-size: 50%;
	}
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 99;
  border-radius: 6px;
}

.dropdown-content a {
  color: black;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}


