/* Nav stuff */

nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

nav ul li {
	margin-right: 10px;
} 

nav ul li a {
	color: var(--text-color);
	text-decoration: none;
} 

nav ul li a.active {
	font-size: 18px;
	font-weight: bold;
} 

/*  Header */

header {
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
}

.top-bar {
	background-color: var(--primary-color);
	padding: 20px;
	display: flex;
	height: 40px;
	margin-right: 5px;
	align-items: center;
	justify-content: space-between;
}

.top-bar nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: flex-start; 
} 

.top-bar nav ul li {
	margin-right: 20px;
} 

/* Header images */

.logo-container {
	position: relative;
	cursor: pointer;
}

.logo-container img {
	height: 40px;
	margin-right: 5px;
}

/* Icon options */

.overlay {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: var(--text-color);
	padding: 10px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	z-index: 1000000000;
}

.overlay ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.overlay ul li {
	margin-bottom: 5px;
}

.overlay ul li a {
	text-decoration: none;
	color: var(--text-color);
}

/* User options */

.user-info {
	display: flex;
	align-items: center;
}

.user-info img {
	height: 15px;
	width: auto;
	margin-right: 5px;
}

.user-info span {
	color: var(--text-color);
	margin-right: 10px;
}

/* Discover Bar */

@keyframes color{
	0%{
		background-position: 0 50%;
	}
	50%{
		background-position: 100% 50%;
	}
	100%{
		background-position: 0 50%;
	}
}

.discover-bar {
	background: linear-gradient(-45deg, var(--secondary-color), var(--third-color), var(--fourth-color));
	background-size: 300% 300%;
	animation: color 12s ease-in-out infinite;
	padding: 20px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 998;
}

.discover-bar nav ul li:first-child{
	margin-right: 10%;
} 

.discover-bar nav ul li {
	margin-right: 30px;
} 

.wishlist-text {
	background-color: transparent;
	color: var(--text-color);
	padding: 5px 10px;
	border: none;
	cursor: pointer;
	padding-right: 50px;
}

/* Search store */

.search-container {
	position: relative;
}

.search-input-wrapper {
	position: relative;
}

.search-input-wrapper i {
	position: absolute;
	left: 11px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-color);
	font-size: 13px; 
}

#search-input {
	padding: 10px 10px 10px 35px; 
	width: 180px;
	border-radius: 20px;
	background-color: var(--accent-color);
	border: none;
	outline: none;
	box-shadow: none;
	caret-color: var(--text-color);
	color: var(--text-color);
}

#search-input::placeholder {
	color: var(--text-color); 
	font-size: 11px;
	
}

#search-results {
	position: absolute;
	top: 120%;
	left: 0;
	width: 200%;
	background-color: var(--accent-color);
	max-height: 200px;
	overflow-y: auto;
	display: none;
	border-radius: 6px;
	color: var(--text-color);
}

#search-results a:hover {
	text-decoration: underline;
}

.search-result {
	padding: 10px;
	cursor: pointer;
}

.search-result:hover {
	background-color: var(--secondary-color);
}

/* Footer */

footer {
	background-color: var(--primary-color);
	color: var(--text-color);
	text-align: center;
	padding: 20px;
}