@import url("http://fonts.googleapis.com/css?family=Source+Sans+Pro:300");

* { box-sizing: border-box; }

.scene {
  width: 400px;
  height: 400px;
  perspective: 800px;
}

.cube {
  width: 400px;
  height: 400px;
  position: relative;
  transform-style: preserve-3d;
  transform: translateZ(-200px);
  transition: transform 1s;
}

.cube.show-front  { transform: translateZ(-200px) rotateY(   0deg); }
.cube.show-right  { transform: translateZ(-200px) rotateY( -90deg); }
.cube.show-back   { transform: translateZ(-200px) rotateY(-180deg); }
.cube.show-left   { transform: translateZ(-200px) rotateY(  90deg); }
.cube.show-top    { transform: translateZ(-200px) rotateX( -90deg); }
.cube.show-bottom { transform: translateZ(-200px) rotateX(  90deg); }

.cube__face {
  position: absolute;
  width: 400px;
  height: 400px;
  padding: 4.5em 3em 3em 3em ;
}

.cube__face--front  { background: rgba(  255,255,255, 1); }
.cube__face--right  { background-image: linear-gradient(to top, rgba(10, 90, 10, 0.9), rgba(10, 10, 100, 0.7)); }
.cube__face--back   { background-image: linear-gradient(to bottom left, rgba(86, 255, 86, 0.9), rgba(150, 150, 255, 0.7)); }
.cube__face--left   { background-image: linear-gradient(to top, rgba(100, 10, 10, 0.9), rgba(10, 10, 100, 0.7)); }
.cube__face--top    { background-image: url("../images/Plasma Clouds.png"); }
.cube__face--bottom { background: rgba( 0,0,0, 0.7); }

.cube__face--front  { transform: rotateY(  0deg) translateZ(200px); }
.cube__face--right  { transform: rotateY( 90deg) translateZ(200px); }
.cube__face--back   { transform: rotateY(180deg) translateZ(200px); }
.cube__face--left   { transform: rotateY(-90deg) translateZ(200px); }
.cube__face--top    { transform: rotateX( 90deg) translateZ(200px); }
.cube__face--bottom { transform: rotateX(-90deg) translateZ(200px); }

html {
  height: 100%;
}

body {
	height: 100%;
	background-image: linear-gradient(to top right, rgba(80, 255, 80, 0.7), rgba(150, 150, 255, 0.7));
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	color: #313f47;
}

/* Footer */

#footer {
	-moz-align-self: -moz-flex-end;
	-webkit-align-self: -webkit-flex-end;
	-ms-align-self: -ms-flex-end;
	align-self: flex-end;
	width: 100%;
	padding: 1.5em 0 0 0;
	color: rgba(109, 109, 109, 0.75);
	cursor: default;
	text-align: center;
}

	#footer .copyright {
		margin: 0;
		padding: 0;
		font-size: 0.9em;
		list-style: none;
	}

		#footer .copyright li {
			display: inline-block;
			margin: 0 0 0 0.45em;
			padding: 0 0 0 0.85em;
			border-left: solid 1px rgba(255, 255, 255, 0.5);
			line-height: 1;
		}

			#footer .copyright li:first-child {
				border-left: 0;
			}



hr {
	border: 0;
	border-bottom: solid 1px #c8cccf;
	margin: 3em 0;
}
#wrapper {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-align-items: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
	-moz-justify-content: space-between;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
	-moz-flex-direction: column;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-moz-perspective: 1000px;
	-webkit-perspective: 1000px;
	-ms-perspective: 1000px;
	perspective: 1000px;
	position: relative;
	min-height: 100%;
	padding: 1.5em;
	z-index: 2;
}

	#wrapper > * {
		z-index: 1;
	}

	#wrapper:before {
		content: '';
		display: block;
	}

	@media screen and (max-width: 360px) {

		#wrapper {
			padding: 0.75em;
		}

	}

	body.is-ie #wrapper {
		height: 100%;
	}