nav {
	position: sticky;
	top: 0px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	margin: 0px;
	background-color: var(--ColorNavbar);
	width: 100%;
	z-index: 100;
	box-shadow: 0px 0px 10px rgb(0, 0, 0, 0.2);
	height: 4rem;
	border-radius: 0px 0px var(--BorderRadius) var(--BorderRadius);
	gap: 1rem;
}

nav a {
	height: 100%;
}

nav img {
	height: 100%;
}

nav .badges {
	color: var(--ColorTextNavbar);
	background-color: var(--ColorMessageNavbar);
}

nav .btn {
	color: var(--ColorMessageNavbar);
	background-color: var(--ColorTextNavbar);
}

.bottom-bar {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: center;
	padding: 0rem;
	margin: 0px;
	background-color: var(--ColorNavbar);
	width: 100%;
	z-index: 100;
	border-radius: var(--BorderRadius) var(--BorderRadius) 0px 0px;
}

.bottom-bar-group {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex: 1;
}

.bottom-bar a:not(.camera) {
	gap: 0.75rem;
	padding: 1.5rem 0.5rem;
	margin: 0px;
	color: var(--ColorTextNavbar);
	background-color: transparent;
	font-size: 0.75rem;
	flex: 1;
}

.bottom-bar a:not(.camera), .bottom-bar .button-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 4rem;
	flex: 1;
}

.bottom-bar a:not(.camera).new {
	animation: newBadgeButton 1s ease-in-out 4;
	animation-direction: normal;
}

.bottom-bar a:not(.camera).new::after {
	content: "+1";
	position: absolute;
	top: -50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: var(--Transition);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;

	width: 2rem;
	height: 2rem;

	border-radius: 100%;

	background-color: var(--ColorPrimary);
	color: var(--ColorPrimaryText);

	animation: newBadgeIcon 1s ease-out 1;
	animation-direction: normal;
}

.bottom-bar a.active {
	color: var(--ColorPrimary);
}

.bottom-bar a i {
	font-size: 1.25rem;
}

.bottom-bar .camera {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	border-radius: 100%;
	transform: translate(0px, -32px);
	font-size: 1.5rem;
	background-color: var(--ColorTextNavbar);
	color: var(--ColorNavbar);
	border: none;
	box-shadow: var(--Shadow);
	position: relative;
}

.bottom-bar .button-container::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, calc(-50% - 32px));
	border-radius: 100%;
	width: 5rem;
	height: 5rem;
	transition: var(--Transition);
	background-color: var(--ColorNavbar);
	z-index: -1;
	box-shadow: var(--Shadow2);
}

.bottom-bar .camera span {
	display: none;
}

@keyframes newBadgeButton {
	0%, 100% {
		background-color: transparent;
	}
	50% {
		background-color: var(--ColorPrimary10);
	}
	
}

@keyframes newBadgeIcon {
	0% {
		top: -100%;
		opacity: 0;
	}
	10% {
		opacity: 1;
	}
	70% {
		opacity: 1;
	}
	100% {
		top: 0%;
		opacity: 0;
	}
	
}

@media screen and (max-width: 600px) {
	nav, .bottom-bar {
		border-radius: 0px;
	}
}

@media screen and (max-width: 400px) {
	.bottom-bar a:not(.camera) {
		padding: 1.5rem 0rem;
	}

	.bottom-bar a:not(.camera), .bottom-bar .button-container {
		width: 1.5rem;
	}

	.bottom-bar .camera {
		width: 3.5rem;
		height: 3.5rem;
		font-size: 1.25rem;
	}

	.bottom-bar .button-container::before {
		width: 4.5rem;
		height: 4.5rem;
	}
}