:root {
	--color-accent: #3e824d;
	--color-background: #F7F7F5;
	--color-foreground: #131313;
}

* {
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
	line-height: 1.625;
	font-family: "Gill Sans", "Gill Sans MS", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

	padding: 2rem;

	color: var(--color-foreground);
	background-color: var(--color-background);

	-webkit-font-smoothing: antialiased;
}

body {
	margin: 0 auto;
	max-width: 24rem;
}

a {
	text-decoration: none;
	font-weight: bold;
	color: var(--color-accent);
}

a:active {
	opacity: 0.7;
}

h1 {
	font-size: 1.5rem;
	margin: 0;
}

h2 {
	font-size: 1rem;
	font-weight: normal;
	color: var(--color-accent);
}

p {
	margin-bottom: 1.625em;
}

small {
	font-size: 0.625rem;
	text-transform: uppercase;
	letter-spacing: 0.03125rem;
	opacity: 0.5;
}

small a {
	color: var(--color-foreground);
	font-weight: inherit;
}

img {
	max-width: 100%;
}

header {
	margin-bottom: 2rem;
}

figure {
	animation: intro 1s cubic-bezier(.06, .53, .41, .89);
}

main {
	animation: intro 4s cubic-bezier(.06, .53, .41, .89)
}

nav {
	margin-top: 3rem;
	margin-bottom: 4rem;

	display: flex;
	align-items: center;
}

nav > a:not(:last-child) {
	margin-right: 1.5rem;
}

@keyframes intro {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}