@import url('fonts/fonts.css');
html, body {
	margin: 0;
	padding: 0;
	font-family: 'Radikal', 'Agens Sans', Sans-serif;
	font-size: 1em;
	color: #202024;
	background: #fff;
}


/* TYPOGRAPHY
---------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
	font-family: 'Agens Sans', 'Radikal', Sans-serif;
	font-weight: normal;
	margin: 0 0 1rem 0;
	padding: 0;
	color: #202024;
}

h1 {
	font-size: 1.6rem;
	line-height: 2rem;
	display: inline-block;
}

h2 {
	font-size: 1.2rem;
	line-height: 1.8rem;
}

h3 {
	font-size: 1.1rem;
	line-height: 1.6rem;
}

p {
	font-size: 1rem;
	line-height: 2rem;
	margin: 0 0 2rem 0;
	padding: 0;
	color: #202024;
	font-weight: 400;
}

.ingress h1 {
	text-transform: uppercase;
	letter-spacing: 0.1rem;
	font-size: 0.8rem;
	line-height: 1.6rem;
}

.ingress p {
	font-size: 1.8rem;
	line-height: 3rem;
	font-weight: 300;
}
@media only screen and (max-width: 600px) {
    .ingress p {
		font-size: 1.4rem;
		line-height: 2.4rem;
	}
}

::selection {
	background: #ECEBF0;
}



/* GENERAL
---------------------------------------------------------------------- */


.contentwidth {
	width: 80%;
	max-width: 1080px;
	margin: 0 auto;
}

section {
	padding: 8rem 0;
	border-bottom: 8px #ECEBF0 solid;
}

@media only screen and (max-width: 600px) {
    section {
		padding: 4rem 0;
	}
}

footer {
	padding: 8rem 0;
}

hr {
	margin: 8rem 0;
	border: 1px #ECEBF0 solid;
}

@media only screen and (max-width: 600px) {
    hr {
	margin: 4rem 0;
	}
}

.flex {
	display: flex;
	justify-content: space-between;
}
@media only screen and (max-width: 600px) {
    .flex {
		flex-direction: column;
	}
}

.flex .two {
	flex: 1;
}


/* HEADER
---------------------------------------------------------------------- */



.header .logo {
	margin-bottom: 6rem;
	display: flex;
	align-items: center;
}

.header .logo a {
	margin-right: 3rem;
}

.header h1 {
	color: #202024;
}

.header nav {
	display: flex;
	justify-content: space-between;
}

@media only screen and (max-width: 600px) {
    .header nav {
		flex-direction: column;
		flex-wrap: wrap;
	}
}

nav ul {
	min-width: 16rem;
	list-style: none;
	padding: 0;
	margin: 0 0 2rem 0;
}

nav .navtitle {
	font-family: 'Agens Sans', 'Radikal', Sans-serif;
	font-size: 1.2rem;
	line-height: 2rem;
	display: inline-block;
	margin-bottom: 1rem;
	color: #202024;
	border-bottom: 2px transparent solid;
}

nav .navtitle:hover {
	color: #202024;
	border-bottom: 2px #2D2357 solid;
}

nav li {
	display: block;
	margin: 0;
}

nav a {
	text-decoration: none;
	padding: 0;
	color: #202024;
	line-height: 2rem;
	font-size: 1rem;
}

nav li a:hover {
}

nav li a:hover:after {
	content: " ->";
}


/* IMAGE
---------------------------------------------------------------------- */

img {
	width: 100%;
	border-radius: 4px;
}

.full, .single, .double {
	display: flex;
	justify-content: space-between;
	margin-top: 8rem;
}

figure {
	margin: 0;
}

figcaption {
	font-size: 0.9rem;
	margin-top: 1rem;
	opacity: 0.75;
}

.double figure {
	margin: 0;
}

.double figure:nth-child(1) {
	margin-right: 2rem;
}



/* COLOR
---------------------------------------------------------------------- */

.color {
	border-radius: 4px;
	height: 600px;
	width: 100%;
	padding: 3rem;
}

.color h3 {
	margin-bottom: 0.5rem;
}

.color figcaption {
	margin: 0;
}

.color .colorcodes {
	margin-top: 2rem;
	display: flex;
	flex-direction: row;
	font-size: 0.8rem;
}

.color .colorcodes .pre {
	margin-right: 2rem;
	font-weight: 500;
}

.color .colorcodes .pre, .color .colorcodes .post {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	
}

.color .colorcodes .post span {
	border-radius: 2px;s
	display: inline-block;
	background: #348;
	
}

.color .colorcodes span {
	padding: 4px 8px 0px 8px;
	line-height: 1.4rem;
	margin-bottom: 0.5rem;
	letter-spacing: 1px;
	text-transform: uppercase;
}


.darkmatter h3 {
	color: #ECEBF0;
}

.darkmatter span {
	color: #ECEBF0;
}



.darkmatter {
	background: #202024;
}

.lightmatter {
	background: #ECEBF0;
}

.wind {
	background: #F2F6FD;
}

.water {
	background: #413778;
}

.earth {
	background: #26574B;
}

.fire {
	background: #FFA942;
}





/* DOWNLOAD
---------------------------------------------------------------------- */

.download {
}

.download a {
	font-family: 'Agens Sans', 'Radikal', Sans-serif;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	margin-right: 3rem;
}

.download a svg {
	margin-right: 0.5rem;
}

.download a, .download a svg g  {
	fill: #26574B;
	color: #26574B;
}

.download a:hover, .download a:hover svg g {
	fill: #103229;
	color: #103229;
}	

@keyframes arrow {
	0%   {transform: translateY(0)}
	25%  {transform: translateY(-2px)}
	75%  {transform: translateY(2px)}
	100% {transform: translateY(0)}
}

.download a .arrow {
	transform: translateY(0);
}

.download a:hover .arrow {
	animation: arrow 1s linear infinite;
	fill: #103229;
}


