.page-container {
	position: relative;
	min-height: 100vh;
}
main {
	padding-bottom: 500px;
}

.top-nav {
	width: 100%;
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid rgb(172, 167, 191);
	z-index: 1;
	height: 70px;
}
.front-piece {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	height: 100%;
	width: 230px;
}
.logo {
	width: 110px;
	max-height: 35px;
}
.categories {
	cursor: pointer;
	position: relative;
	height: 100%;
	font-size: 0.85rem;
	display: flex;
	align-items: center;
}
.category-drop-menu {
	display: none;
	position: absolute;
	top: 70px;
	left: 0;
	z-index: 2;
	background-color: white;
	border: 0.5px solid black;
	box-shadow: 4px 4px 25px -10px black;
	width: 300px;
	height: 600px;
}
.category-list {
	width: 100%;
	height: 80%;
	display: flex;
	flex-direction: column;
}
.category-list li {
	font-size: 0.85rem;
	height: 100%;
	padding: 0 1rem 1rem 1rem;
	display: flex;
	justify-content: space-between;
}
.category-list li:nth-child(1) {
	padding-top: 1rem;
}

.category-list span,
.category-list i {
	pointer-events: none;
}

.categories:hover > .category-drop-menu {
	display: flex;
}
.category-side-drawer {
	display: none;
	position: absolute;
	top: 0;
	left: 300px;
	z-index: 2;
	background-color: white;
	border: 0.5px solid black;
	box-shadow: 4px 4px 25px -10px black;
	width: 300px;
	height: 600px;
}

.category-side-drawer-list {
	width: 100%;
	display: flex;
	flex-direction: column;
}
.category-side-drawer-list li {
	font-size: 0.85rem;
	display: flex;
	justify-content: space-between;
	padding: 0 1rem 1.2rem 1rem;
}
.category-side-drawer-list li:nth-child(1) {
	padding-top: 1rem;
}
.open {
	display: flex;
}

.search-bar-container {
	display: flex;
	align-items: center;
	height: 100%;
	flex-grow: 1;
}
.search-bar {
	height: 3rem;
	width: 90%;
	border: 1px solid black;
	border-left: none;
	border-top-left-radius: 0;
	border-top-right-radius: 7% 50%;
	border-bottom-right-radius: 7% 50%;
	border-bottom-left-radius: 0;
}
.search-bar:focus,
.search-bar:active {
	outline: none;
}
.search-bar-button {
	height: 3rem;
	width: 12%;
	border: 1px solid black;
	border-right: none;
	border-radius: 50% 0 0 50%;
	color: black;
	background-color: white;
}
.end-piece {
	display: flex;
	align-items: center;
	height: 100%;
	justify-content: space-evenly;
	width: 50%;
}
.icon {
	width: 20px;
	height: 20px;
}
.home-button {
	background-color: black;
	color: white;
	font-size: 0.9rem;
	border-radius: 50%;
	padding: .25rem .5rem;
}
.dropdown {
	position: relative;
	font-size: 0.85rem;
	height: 100%;
	display: flex;
	align-items: center;
}
.dropdown-menu {
	position: absolute;
	display: none;
	top: 70px;
	right: 0px;
	border: 0.5px solid black;
	box-shadow: 4px 4px 25px -10px black;
	background-color: white;
	padding: 1rem;
	width: 300px;
	height: 140px;
	transition: all 0.3s ease-in;
}
.dropdown:hover > .dropdown-menu {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.drop-title {
	font-size: 14px;
	text-align: center;
}
.drop-link {
	width: 80%;
	padding: 1rem;
	background-color: black;
	color: white;
	text-align: center;
}
.dropdown-menu.my-learning-list {
	height: auto;
	padding: 0;
}
.learning-card {
	border-bottom: 1px solid rgb(101, 101, 154);
	width: 90%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	padding: 1rem;
}
.learning-card img {
	width: 80px;
	height: 70px;
}
.learning-card h4 {
	padding: 0;
	margin: 0 0 0 5px;
	display: inline;
}
.learning-list-link {
	margin: 1rem;
}

@media screen and (max-width: 1080px) {
	.udemy-business {
		display: none;
	}
	.end-piece {
		width: 40%;
	}
}
@media screen and (max-width: 1000px) {
	.end-piece {
		width: 45%;
	}
}
@media screen and (max-width: 920px) {
	.teach-udemy {
		display: none;
	}
	.end-piece {
		width: 35%;
	}
}
@media screen and (max-width: 825px) {
	.heart,
	.bell {
		display: none;
	}
	.end-piece {
		width: 25%;
	}
}
@media screen and (max-width: 800px) {
	.top-nav {
		padding-left: 1rem;
	}
	.front-piece {
		justify-content: center;
		flex-grow: 1;
	}
	.search-bar-container {
		flex-grow: 0;
	}
	.search-bar-button {
		border: none;
		border-radius: none;
		width: 20px;
		height: 30px;
	}
	.end-piece {
		width: 50px;
		margin-right: 20px;
		margin-left: 10px;
	}
	.categories,
	.search-bar,
	.my-learning,
	.home {
		display: none;
	}
}

@media screen and(min-width: 1100px) {
	.search-bar {
		border-top-right-radius: 6% 50%;
		border-bottom-right-radius: 6% 50%;
	}
}
@media screen and (min-width: 1200px) {
	.search-bar {
		border-top-right-radius: 5% 50%;
		border-bottom-right-radius: 5% 50%;
	}
}
@media screen and (min-width: 1300px) {
	.search-bar {
		border-top-right-radius: 4% 50%;
		border-bottom-right-radius: 4% 50%;
	}
}
@media screen and (min-width: 1400px) {
	.search-bar {
		border-top-right-radius: 3% 50%;
		border-bottom-right-radius: 3% 50%;
	}
}
@media screen and (min-width: 1500px) {
	.search-bar {
		border-top-right-radius: 2% 50%;
		border-bottom-right-radius: 2% 50%;
	}
}
