.burger { 
	display: none; 
	cursor: pointer; 
	font-size: 24px; 
	padding: 14px 10px; 
	transition: transform 0.25s ease;
}

.burger-toggle { display: none; }

@media (max-width: 768px) {
	.burger {display: block; }
	.topnav { flex-wrap: wrap;}
	.nav-links { 
		flex: none;
		display: flex; 
		flex-direction: column; 
		width: 100%; 
		opacity: 0;
		transform: translateY(-8px);
		visibility: hidden;
		max-height: 0;
		overflow: hidden;
		transition: opacity 0.25s ease, transform 0.25s ease,
			    max-height 0.25s ease, visibility 0.25s;
	}
	.burger-toggle:checked ~ .nav-links {
		opacity: 1;
		transform: translateY(0);
		visibility: visible;
		max-height: 300px;
	}
	.topnav a { line-height: 44px; }
}
