@import url(//fonts.googleapis.com/css?family=Arvo:400,700);
@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css);
html, body {
  height: 100%;
  width: 100%; }

body {
  display: table;
  background: black;
  background: linear-gradient(#efefef, #c9c9c9);
  background-position: top center;
  overflow: hidden; }

.wrapper {
  display: table-cell;
  height: 100%;
  width: 100%;
  text-align: center;
  vertical-align: middle; }

.row {
  margin: 0 -1px; }
  .row div.col-lg-2 {
    height: 25vh;
    padding: 0;
    overflow: hidden; }
    .row div.col-lg-2.active .front {
      border-bottom: 1px solid white;
      cursor: pointer; }
    .row div.col-lg-2.active:hover .front {
      top: -50%; }

.front, .back {
  left: 0;
  position: absolute;
  top: 0;
  display: table;
  height: 100%;
  width: 100.5%;
  font-family: 'Arvo', serif;
  text-align: center; }
  .front h1, .front h2, .back h1, .back h2 {
    padding: 20px;
    display: table-cell;
    height: 100%;
    margin: 0;
    width: 100%;
    text-align: center;
    vertical-align: bottom;
    z-index: 10; }
  .front h2, .back h2 {
    font-size: 1.9em; }
  .front h1, .back h1 {
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.8) 100%); }
    .front h1::after, .back h1::after {
      bottom: -20px;
      left: calc(50% - 9px);
      position: absolute;
      content: '\f0de';
      font-family: FontAwesome;
      font-size: 0.9em;
      text-shadow: none; }

.front {
  top: 0%;
  background-image: url(../4113589205_35e110c096_o.jpg);
  background-repeat: no-repeat;
  background-size: auto 100vh;
  transition: 0.5s top ease;
  color: white;
  overflow: hidden;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
  z-index: 10; }

.back {
  text-shadow: 0 1px 1px white; }

.attribution {
  bottom: 10px;
  position: absolute;
  right: 10px;
  z-index: 1000;
  display: inline-block;
  padding: 10px 20px 10px 40px;
  background: rgba(0, 0, 0, 0.8);
  color: white; }
  .attribution::before {
    left: 5px;
    position: absolute;
    top: 5px;
    content: '\f16e';
    font-family: FontAwesome;
    margin: 0 5px;
    font-size: 1.6em; }
  .attribution:hover {
    background: rgba(255, 255, 255, 0.8);
    color: black !important;
    text-decoration: none; }
  .attribution:visited, .attribution:active {
    color: white;
    text-decoration: none; }

@media (max-width: 1500px) {
  .back {
    padding-bottom: 10px; }
    .back h2 {
      font-size: 1.2em !important; } }
@media (max-width: 767px) {
  .back h2 {
    padding-bottom: 0px;
    font-size: 1.4em !important; }

  .row div.col-lg-2.active .front h1 {
    background: rgba(0, 0, 0, 0.5); }

  .attribution {
    padding-left: 50px;
    font-size: 1.5em;
    text-align: center; }
    .attribution::before {
      top: 1px; } }
