@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
	font-family: "Lato", Arial, Helvetica, sans-serif;
}

body {
	display: flex;
	background-color: #191A29;
	margin: 0;
}

nav {
	background-color: #F1F2F3;
	min-width: 5rem;
	max-width: 20rem;
	width: 25vw;
	height: 100vh;
	border-top-right-radius: 1rem;
	border-bottom-right-radius: 1rem;
	overflow-y: scroll;
}

.search-bar {
	position: relative;
	margin: 1rem 1rem .5rem;
}

.search-bar > img {
	height: 1.25rem;
	position: absolute;
	top: .5rem;
	left: .75rem;
}

.search-bar > input {
	height: 1rem;
	padding: .5rem;
	padding-left: 2.5rem;
	width: calc(100% - 3.5rem);
	border: 2px solid grey;
	border-radius: 1.25rem;
}

.anatomy-section {
	margin: .5rem 0;
}

.anatomy-section > .section-title {
	display: flex;
	align-items: center;
	gap: 1rem;
	cursor: pointer;
	padding-left: 1.5rem;
}

.anatomy-section > .section-title > h2 {
	text-transform: uppercase;
	font-weight: 300;
	color: #3A3A3A;
	font-size: 12px;
}

.anatomy-section > .section-title > img {
	height: .5rem;
	width: .5rem;
}

.anatomy-section > .anatomy-part {
	display: flex;
	justify-content: space-between;
	padding: .25rem 1.5rem;
	cursor: pointer;
}

.anatomy-section > .anatomy-part.hidden {
	display: none;
}

.anatomy-section > .anatomy-part.search-hidden {
	display: none;
}

.anatomy-section > .anatomy-part.selected {
	background-color: #33568A;
}

.anatomy-section > .anatomy-part > p {
	margin: 0;
	color: #1D1D1D;
	font-weight: 400;
	width: 100%;
}

.anatomy-section > .anatomy-part.selected > p {
	color: white;
}

.anatomy-part > img {
	height: 21px;
	width: 21px;
}

.anatomy-part.selected > img {
	filter: invert()
}

.anatomy-part.ciliary-child {
	padding-left: 2rem;
	font-size: 14px;
}

.anatomy-part.ciliary-child > img {
	height: 18px;
	width: 18px;
	padding-right: 3px;
}

main {
	width: 100%;
	height: 100vh;
}