* {
    box-sizing: border-box; /* includes padding in 100% width */
}
html {
	scroll-behavior: smooth;
}
body {
	background-color: #1A1A1A;
	color: #c9c9c9;
}
nav {
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	width: 100%;
	animation-name: slide;
	animation-duration: 0.75s;
}
nav a {
	text-decoration: none;
	color: #c9c9c9;
	text-align: center;
	padding: 1rem 0.4rem; /* forms the box shape around the link text */
	font-size: 1.5rem;
}
main {
	margin: 0 auto; /* aligns to the right margin */
	width: 100%;
	display: flex;
	flex-direction: column;
	padding: 2rem 1rem;
}
h1 {
	font-size: 2rem;
}
h2 {
	font-size: 1.75rem;
}
p {
	font-size: 1.5rem;
	line-height: 1.8;
}
#hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100vh;
	opacity: 0;
	animation-name: fadeIn;
	animation-duration: 1s;
	animation-delay: 0.25s;
	animation-fill-mode: forwards;
}
#hero p {
	text-indent: 2rem;
}
footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 1rem 1rem;
	border-top: 1px solid #333;
	color: #888;
}
footer p {
	font-size: 1rem;
}
footer a img {
    filter: invert(70%) sepia(10%) saturate(100%) hue-rotate(180deg) brightness(90%);
    transition: filter 0.3s ease;
}
footer a:hover img {
    filter: invert(100%);
}
.button {
	display: inline-block;
	padding: 0.75rem 2rem;
	font-size: 1rem;
	color: #c9c9c9;
	background-color: #2e5e92;
	border: none;
	border-radius: 0.75rem;
	text-decoration: none;
	box-shadow: 0 6px 4px rgba(0, 0, 0, 0.1);
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.button:hover {
	background-color: #24486e;
	box-shadow: 0 8px 6px rgba(0, 0, 0, 0.2);
	transform: translateY(-2px);
}
.button:active {
    transform: translateY(0);
}
#fragment-buttons{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	min-height: 3vh;
	gap: 1rem;
}
#scroll-to-top {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 3vh;
	gap: 1rem;
}
@keyframes fadeIn {
	from {opacity: 0;}
	to {opacity: 1;}
}
@keyframes slide {
	from {transform: translateX(-100%);}
	to {transform: translateX(0);}
}
@media (min-width: 600px) {
	nav {
		justify-content: flex-end;
	}
	nav a {
		padding: 10px 12px;
		font-size: 16pt;
	}
}
