.navbar {
	margin: 2em auto 0px;
	left: 10%;
	right: 10%;
	border-radius: 10px;
	position: fixed;
	z-index: 1000;
	top: 0;
	padding: 0.25em;
	display: flex;
	flex-direction: row;
	background-color: white;
	justify-content: space-between;
	align-items: center;
	transition: all ease-in-out 200ms;
}

.toggle-bar,
.toggle-bar-label {
	display: none;
}

.navbar-scrolled {
	margin: 0px;
	left: 0;
	right: 0;
	border-radius: 0px;
}

.navbar li {
	display: inline;
	text-decoration: none;
	color: white;
	margin: 0.25em;
}

.navbar ul {
	display: flex;
	align-items: center;
	margin-right: 2.5%;
}
.navbar img {
	margin-left: 2.5%;
	height: 75px;
}
.navbar-items {
	text-decoration: none;
	color: black;
	padding: 0.75em;
	display: flex;
	flex-direction: column;
	margin-left: 10px;
	font-size: 1.25em;
	font-family: 'Luckiest Guy', cursive;
	font-weight: 100;
	border-radius: 10px;
	transition: transform 250ms cubic-bezier(0.31, 0.57, 0.13, 2.98);
}

.join-us-btn {
	background-color: orange;
	text-decoration: none;
	padding: 0.75em;
	font-size: 1.3em;
	color: white;
}

.navbar-items:focus,
.navbar-items:hover {
	background-color: orangered;
	color: white;
	outline: none;
	border-radius: 10px;
	transform: scale(1.2);
}

@media (max-width: 768px) {
	.navbar {
		left: 0;
		right: 0;
		flex-direction: column;
		border: 0px;
		margin: 0px;
		border-radius: 0px;
	}

	.navbar-items:hover {
		background-color: white;
		color: black;
		transform: scale(1);
	}
	.navbar ul {
		margin: 0px;
		display: block;
		position: absolute;
		top: 100%;
		background-color: white;
		right: 0%;
		left: 0%;
		transform: scale(1, 0);
		transform-origin: top;
		transition: transform ease-in-out 200ms;
	}

	.navbar-items:active .navbar-list {
		transform: scale(1, 0);
	}

	.navbar-items {
		margin: 0px;
		padding: 0px;
		font-size: 1.5em;
	}

	.join-us-btn {
		background-color: white;
		color: black;
	}

	.toggle-bar-label {
		display: inline;
		position: absolute;
		top: 35%;
		left: 1.5%;
		margin-left: 5%;
		border: 1.5px solid black;
		padding: 10px 6px;
	}

	.toggle-bar {
		display: none;
	}
	.toggle-bar:checked ~ .navbar-list {
		transform: scale(1, 1);
	}
	.toggle-bar-label span,
	.toggle-bar-label span::before,
	.toggle-bar-label span::after {
		display: block;
		background: black;
		height: 1.5px;
		width: 2em;
		border-radius: 3px;
		position: relative;
	}

	.toggle-bar-label span::before,
	.toggle-bar-label span::after {
		content: '';
		position: absolute;
	}

	.toggle-bar-label span::before {
		top: 5px;
	}
	.toggle-bar-label span::after {
		bottom: 5px;
	}

	.toggle-bar:checked + .toggle-bar-label{
		border: 1.5px solid orangered;
	} 
}
