body {
	font-family: "Trebuchet MS", sans-serif;
	font-size: 10pt;
}

a {
	text-decoration: none;
}

h1 {
	padding: 5px;
	background-color: lightgrey;
}

nav {
	display: flex;
	align-items: center;
}

nav img {
	margin-right: 20px;
}

nav ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100px;
}

.nav-links {
	line-height: 150px;
	font-size: 20pt;
	color: white;
	background: #a6a6a6;
	background: linear-gradient(180deg, rgb(217, 218, 219) 0%, rgba(166, 166, 166, 1) 100%);
	text-shadow: 1px 1px 1px #000000;
}

.nav-links li {
	width: 200px;
}

.nav-links li a {
	padding: 5px;
	text-decoration: none;
	color: white;
}

.nav-links li:hover {
	background: #833AB4;
	background: linear-gradient(180deg, rgba(252, 176, 69, 1) 0%, rgba(253, 29, 29, 1) 100%);
}

.tw {
	background-color: yellow;
	border: 1px solid black;
}

.intro {
	float: left;
	margin-bottom: 1rem;
	margin-right: 1rem;
}

.ref li {
	font-size: 9pt;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

header {
	position: relative;
}

.hamburger {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 28px;
	height: 20px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
}

.hamburger span {
	display: block;
	height: 3px;
	width: 100%;
	background-color: #222;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 767.98px) {
	.intro {
		float: none;
	}
	
	.hamburger {
		display: flex;
	}

	nav ul.nav-links {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		height: auto;
		line-height: 1.5;
		background-color: #222;
		padding: 1rem 2rem;
		gap: 1rem;
		z-index: 1000;
	}

	nav ul.nav-links.active {
		display: flex;
	}

	.hamburger.active span:nth-child(1) {
		transform: translateY(8.5px) rotate(45deg);
	}

	.hamburger.active span:nth-child(2) {
		opacity: 0;
	}

	.hamburger.active span:nth-child(3) {
		transform: translateY(-8.5px) rotate(-45deg);
	}
}