html {
	background: #1d2121;
}

body {
	margin:0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	min-height: 100vh;
	color: #57585c;
	color: var(--color-text);
	background-color: #fff;
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/*Main*/

main {
	position: relative;
	width: 100%;
}

.content {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	min-height: 100vh;
}

.content--fixed {
	position: fixed;
	z-index: 10000;
	top: 0;
	left: 0;
	display: grid;
	align-content: space-between;
	width: 100%;
	max-width: none;
	min-height: 0;
	height: 100vh;
	padding: 1.5em;
	pointer-events: none;
	grid-template-columns: 50% 50%;
	grid-template-rows: auto auto 4em;
	grid-template-areas: 'header header'
	'... ...'
	'github demos';
}

.content--fixed a {
	pointer-events: auto;
}

.content--top {
	padding: 1.5em 2em 1.5em 1.5em;
	justify-content: flex-start;
	min-height: 0;
	position: relative;
}

/*Nav*/

.navbar {
	overflow:hidden;
	position:fixed;
	bottom:0;
	width:100%;
}

.navbar a {
	float:right;
	display:block;
	color:#f2f2f2;
	text-align:center;
	padding: 14px 16px;
	text-decoration:none;
	font-size: 17px;
}

.navbar a:hover {
	background-color:#ddd;
	color:black;
}

.navbar a:active {
	background-color:#4a4a4a;
	color:white;
}

.navbar .icon {
	display:none;
}


@media screen and (max-width: 55em) {
	.message {
		display: block;
	}
	.content {
		flex-direction: column;
		height: auto;
		min-height: 0;
	}
	.content--fixed {
		position: relative;
		z-index: 1000;
		display: block;
		padding: 0.85em;
	}
	.demos {
		text-align: center;
	}
	.demo {
		margin: 0 0.5em;
	}
}

@media screen and (max-width:600px) {
	.navbar {background-color:#333;}
	.navbar a {display:none;}
	.navbar a.icon {
		float:right;
		display:block;
	}
	
	.navbar a:hover {
	background-color:#333;
	color:#f2f2f2;
	}
	
	.navbar {
		z-index:1000000000;
	}
}

@media screen and (max-width:600px){
	.navbar.responsive a.icon{
		position:absolute;
		right:0;
		bottom:0;
	}
	.navbar.responsive a{
		float:none;
		display:block;
		text-align:left;
	}
}