@import url(http://fonts.googleapis.com/css?family=Open+Sans:400);
@font-face {
  font-family: 'flocon';
  src: url('font/flocon.eot?62914293');
  src: url('font/flocon.eot?62914293#iefix') format('embedded-opentype'), url('font/flocon.woff?62914293') format('woff'), url('font/flocon.ttf?62914293') format('truetype'), url('font/flocon.svg?62914293#flocon') format('svg');
  font-weight: normal;
  font-style: normal;
}
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
input {
  display: none;
}
html,
body {
  margin: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  font-size: 10pt;
  font-weight: 100;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: subpixel-antialiased;
  letter-spacing: 0.075em;
  font-family: 'Open Sans', sans-serif;
}
article {
  height: 37.5vw;
  width: 25%;
  float: left;
  position: relative;
  -webkit-perspective: 1000;
  perspective: 1000;
  display: table;
}
article:hover,
article.test {
  z-index: 99;
}
article:hover.done > div,
article.test.done > div {
  -webkit-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
article:hover.done > div .front,
article.test.done > div .front {
  opacity: 0;
}
article:not(.done) > div {
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
  opacity: 0;
}
strong {
  display: table-cell;
  padding: 1em;
  vertical-align: middle;
  color: white;
}
article > div {
  width: 100%;
  height: 100%;
  display: block;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  color: inherit;
}
.front,
.back {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.front {
  -webkit-background-size: cover;
  background-size: cover;
  background-position: 50%;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}
.back {
  position: relative;
  background-color: #edece7;
  -webkit-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  transform: rotateY(180deg);
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.back h2 {
  display: hidden;
  padding: .5rem 1rem;
  -webkit-box-flex: 0;
  -webkit-flex: none;
  -ms-flex: none;
  flex: none;
}
.back .meta {
  margin: .5rem 1rem;
  -webkit-box-flex: 0;
  -webkit-flex: none;
  -ms-flex: none;
  flex: none;
  max-height: 100%;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}
.back .meta p {
  margin: 0 0 0 2.5em;
  padding: 1rem 0;
}
.back .meta p:last-child {
  padding-bottom: 0;
}
.back .meta p::before {
  content: attr(data-icon);
  display: inline-block;
  position: absolute;
  left: -1.25em;
  top: .875em;
  line-height: 0;
}
.back [data-icon] {
  position: relative;
}
.back [data-icon]::before {
  font-family: "flocon";
  font-size: 200%;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
}
.back a {
  -webkit-box-flex: 2;
  -webkit-flex: 2;
  -ms-flex: 2;
  flex: 2;
  max-height: 100%;
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  text-align: center;
  text-decoration: none;
  color: inherit;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}
.back a:hover {
  color: #008080;
}
.back a:hover div::before {
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}
.back a div {
  margin: auto;
}
.back a div::before {
  content: "↓";
  text-align: center;
  margin: auto;
  display: block;
  width: 100%;
  -webkit-transition: -webkit-transform 0.5s ease-out;
  transition: transform 0.5s ease-out;
}
.back a div::after {
  float: left;
  margin: auto;
  text-align: center;
  width: 100%;
  height: 100%;
  content: "download";
  left: 0;
}
.back span {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  position: relative;
  overflow-y: hidden;
  background-color: #edece7;
  padding: .5rem 1rem;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}
.back span p {
  margin-top: 1rem;
  height: 0;
}
.back span p::after {
  content: " \A .";
  white-space: pre;
  opacity: 0;
}
.back label {
  z-index: 9;
  -webkit-box-flex: 0;
  -webkit-flex: none;
  -ms-flex: none;
  flex: none;
  -webkit-transition: top 0.5s ease-out;
  transition: top 0.5s ease-out;
  cursor: pointer;
  height: 1px;
  -webkit-box-shadow: inset 0 -1em 2em #ff0000;
  box-shadow: inset 0 -1em 2em #ff0000;
}
.back label:hover {
  color: #008080;
}
.back label::before {
  content: "";
  display: block;
  height: 1px;
  background-color: black;
}
.back label::after {
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  content: "+";
  display: block;
  margin: 0 auto;
  position: relative;
  top: -0.565em;
  background-color: #edece7;
  border-radius: 50%;
  width: 1em;
  font-family: "flocon";
  font-size: 200%;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 0 0 10px #edece7;
  box-shadow: 0 0 0 10px #edece7;
  cursor: pointer;
}
.back input:checked ~ .meta,
.back input:checked ~ a {
  max-height: 0;
}
.back input:checked ~ label {
  top: 4rem;
  -webkit-box-shadow: inset 0 0 0 #edece7;
  box-shadow: inset 0 0 0 #edece7;
}
.back input:checked ~ label::after {
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
  -webkit-transform: translateX(10vw) rotate(225deg);
  -ms-transform: translateX(10vw) rotate(225deg);
  transform: translateX(10vw) rotate(225deg);
}
.back input:checked ~ span {
  overflow-y: scroll;
}
.back::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  height: 1rem;
  width: 100%;
  -webkit-box-shadow: 0 -0.5rem 1rem #edece7;
  box-shadow: 0 -0.5rem 1rem #edece7;
}
[data-time]::after {
  content: " minutes";
}
[data-rating]::after {
  content: " / 100";
}
#loader {
  position: fixed;
  z-index: 999;
  display: block;
  width: 100%;
  bottom: 1.5rem;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}
#loader.loaded {
  opacity: 0;
}
#loader::after {
  content: "";
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: green;
  -webkit-box-shadow: 0 0 1px green;
  box-shadow: 0 0 1px green;
  -webkit-animation: ld 0.45s ease-out infinite alternate;
  animation: ld 0.45s ease-out infinite alternate;
  position: absolute;
  left: -webkit-calc(49.25%);
  left: calc(49.25%);
}
@-webkit-keyframes ld {
  0% {
    -webkit-transform: translateY(0) scaleX(1.4) scaleY(0.7);
    transform: translateY(0) scaleX(1.4) scaleY(0.7);
  }
  10% {
    -webkit-transform: translateY(-20%) scaleX(1) scaleY(1);
    transform: translateY(-20%) scaleX(1) scaleY(1);
  }
  100% {
    -webkit-transform: translateY(-200%) scaleX(1) scaleY(1.1);
    transform: translateY(-200%) scaleX(1) scaleY(1.1);
  }
}
@keyframes ld {
  0% {
    -webkit-transform: translateY(0) scaleX(1.4) scaleY(0.7);
    transform: translateY(0) scaleX(1.4) scaleY(0.7);
  }
  10% {
    -webkit-transform: translateY(-20%) scaleX(1) scaleY(1);
    transform: translateY(-20%) scaleX(1) scaleY(1);
  }
  100% {
    -webkit-transform: translateY(-200%) scaleX(1) scaleY(1.1);
    transform: translateY(-200%) scaleX(1) scaleY(1.1);
  }
}
