* {
	margin: 0;
	box-sizing: border-box;
}

body {
	background-image: linear-gradient(270deg, blue, purple);
	font-family: sans-serif;
}

a {
	color: white;
	text-decoration: none;
	background: rgba(0,0,0,0.2);
	display: inline-block;
	padding: 20px 5px;
	width: 100%;
	text-align: center;
	font-weight: 100;
	letter-spacing: 2px;
}

a:hover {
	background: rgba(0,0,0,0.3);
}

.toggleNav {
	display: none;
}

.wrapper {
	max-width: 1000px;
	margin: 0 auto;
	padding: 50px;
}

.flex-nav ul {
	border: 1px solid black;	
	list-style: none;
	margin: 0px;
	padding: 0px;
	display: flex;
}

.flex-nav li {
	flex: 3;
}

.flex-nav .social {
	flex: 1;
}

section, footer {
	color: white;
	padding: 20px;
	background-color: rgba(0,0,0,0.2);
	margin: 20px 0px;
	text-align: center;
	font-weight: 100;
}

img {
	width: 100%;
}

@media all and (max-width: 1000px) {
	.flex-nav ul {
		flex-wrap: wrap;
	}
	.flex-nav li {
		flex: 1 1 50%;
	}
	.flex-nav .social {
		flex: 1 1 25%;
	}
}

@media all and (max-width: 500px) {
	.flex-nav li {
		flex-basis: 100%;
	}

	.wrapper {
		display: flex;
		flex-direction: column;
	}

	.wrapper > * {
		order: 999;
	}

	.flex-nav {
		order: 1;
	}

	.top {
		order: 2;
	}

	.content {
		order: 3;
	}

	.signup {
		order: 4;
	}

	.toggleNav {
		display: block;
	}

	.flex-nav ul {
		display: none;
	}

	.flex-nav ul.open {
		display: flex;
	}
}