* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  background-color: #f9f9f9;
  color: #222;
  font-size: 62.5%;
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: #000;
  color: #fff;
  text-shadow: none;
}
::-moz-selection {
  background: #333;
  color: #fff;
  text-shadow: none;
}
body {
  width: 52rem;
  margin: 0 auto;
  padding: 3rem 0;
}
body > section {
  text-align: left;
  width: 100%;
  overflow: visible;
}
h1 {
  font-size: 4rem;
  font-weight: 300;
}
h1 em {
  font-style: normal;
  font-weight: 900;
}
h2 {
  font-size: 2.4rem;
  font-weight: 200;
  color: #888;
  line-height: 1.5;
  font-style: italic;
}
h3 {
  font-size: 2.5rem;
}
p {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 4rem;
}
p a {
  color: #555;
  text-decoration: none;
  border-bottom: 1px #ccc dashed;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
p a:hover {
  opacity: 0.7;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  filter: alpha(opacity=70);
}
p code {
  font-size: 1.4rem;
}
.logo {
  margin: 0 auto;
  margin-bottom: 4rem;
}
.logo .hexaflip-cube .hexaflip-side-left,
.logo .hexaflip-cube .hexaflip-side-right {
  background-color: #222 !important;
}
.logo .hexaflip-cube .hexaflip-side {
  font-weight: 100;
  text-shadow: none;
  opacity: 0.9;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  filter: alpha(opacity=90);
}
.logo .hexaflip-cube .hexaflip-side:nth-child(1n+1) {
  background-color: #069ad5;
}
.logo .hexaflip-cube .hexaflip-side:nth-child(2n+2) {
  background-color: #fc5215;
}
.logo .hexaflip-cube .hexaflip-side:nth-child(3n+3) {
  background-color: #30b71d;
}
.logo .hexaflip-cube .hexaflip-side:nth-child(4n+4) {
  background-color: #eee;
  color: #222;
}
#buttons {
  text-align: center;
}
#buttons > a {
  margin: 2rem 0.3rem;
  display: inline-block;
  font-size: 1.8rem;
  letter-spacing: -1px;
  font-weight: 500;
  padding: 1.5rem;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  text-decoration: none;
  background-color: #222;
  color: #fff;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
#buttons > a:hover {
  opacity: 0.8;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  filter: alpha(opacity=80);
}
#buttons > a.more {
  background-color: #888;
}
#photo-demo {
  text-align: center;
  margin: 0 auto;
  padding-bottom: 3rem;
  margin-bottom: 8rem;
}
#photo-controls {
  width: 120%;
  position: relative;
  top: 18.5rem;
  left: -10%;
}
#photo-controls > div {
  color: #ccc;
  background-color: #444;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  padding: 2rem 1rem;
  font-size: 2rem;
  width: 6rem;
  display: inline-block;
  font-weight: 200;
  line-height: 0.2;
  text-align: center;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-style: italic;
}
#photo-controls > div:hover {
  opacity: 0.8;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  filter: alpha(opacity=80);
}
#photo-controls > div > span {
  position: relative;
  left: -0.6rem;
  top: 0.4rem;
}
#photo-controls > div:first-child {
  float: left;
}
#photo-controls > div:last-child {
  float: right;
}
#photo-controls > div:last-child > span {
  left: -0.1rem;
}
#time-demo {
  margin: 0 auto;
  margin-bottom: 9rem;
}
pre {
  background-color: #eee;
  width: 100%;
  padding: 0.5rem;
  padding-bottom: 1rem;
  overflow: auto;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  margin-bottom: 4rem;
}
code {
  font-family: Menlo, Consolas, Monaco, 'Lucida Console', monospace;
  font-size: 1rem;
  color: #777;
  font-weight: bold;
  line-height: 1.8;
  text-shadow: 0 1px 0 #fff;
}
footer {
  text-align: center;
  font-size: 1.4rem;
  color: #aaa;
  margin: 4rem;
}
footer a {
  color: #333;
}
