.subpage #content {
  margin: 2.5em auto 0 auto;
  width: 92%;
	max-width: 72em;
}

.subpage #content #page-title {
  position: relative;
}

.subpage #content h1 {
  font-size: 1.6em;
}

@media screen and (min-width: 45.5em) {  
  .subpage #content {
    margin-top: 3em;
    width: 90%;
  }
  
  .subpage #content h1 {
    font-size: 2.3em;
  }
}

.project {
  box-sizing: border-box;
  overflow: hidden;
  margin: 1em 0 1em 0;
  width: 100%;
  min-width: 22.313em;
  /*float: left;*/
  border: 1px solid transparent;
  box-shadow: 0 0px 5px rgba(0,0,0,.05);
  position: relative;
}

.project:hover {
  border: 1px solid #CCC;
  box-shadow: 0 0px 5px #999;
}

.project .keywords, .project .page {
  font-size: 0.9em;
  margin-right: 1em;
}

.project .page::before {
  content: '\e8a5';
  margin-right: 0.5em;
  display: inline-block;
  font: normal normal normal 14px/1 fontello;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.project .description {
  padding: 0 2% 0 2%;
}

.project .description {
  /*width: 65%;
  float: left;*/
  width: 100%;
}

.project .description p:before {
  clear: both;
}

.project .icon, .project .project-screenshot {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.project .description h2 {
  /*min-height: 1.96em;*/
  font-size: 1.4em;
  /*z-index: 9;
  position: relative;
  overflow: hidden;*/
  font-weight: bold;
  padding-top: 0.1em;
  padding-bottom: 0.2em;
}

.project .icon {
  /*position: absolute;
  right: 1%;*/
  height: 1.96em;
  position: absolute;
  right: 0.5em;
  top: 0.5em;
}

.project-screenshot {
    max-width: 100%;
    height: auto;
    overflow: hidden;
}

@media (min-width: 59em) {
  .project {
    margin: 1em 1% 1em 1%;
    /*-webkit-transform: translateY(150%);
    -ms-transform: translateY(150%);
    transform: translateY(150%);
    -webkit-animation: come-in 0.8s ease forwards;
    animation: come-in 0.8s ease forwards;*/
    border: 1px solid transparent;
    box-shadow: 0 0px 5px rgba(0,0,0,.05);
    max-height: 25vh;
  }
  .project .description {
    width: 66%;
    float: left;
  }
  .project-screenshot {
    max-width: 30%;
    height: auto;
    float: right;
    overflow: hidden;
  }
  .project .icon {
    right: 31%;
  }
}  

@media screen and (min-width: 59em) {
  .project .icon, .project .project-screenshot {
    opacity: 0.5;
    -webkit-filter: grayscale(1) blur(1px);
    -moz-filter: grayscale(1) blur(1px);
    filter: grayscale(1) blur(1px);
    -webkit-transition: 1000ms;
    -ms-transition: 1000ms;
    transition: 1000ms;
  }
  .project:hover .icon, .project:hover .project-screenshot {
    -webkit-filter: grayscale(0);
    -moz-filter: grayscale(0);
    filter: grayscale(0);
    opacity: 1;
  }
}

@media (min-width: 90em) {
  .project {
    margin: 1em 0.2% 1em 0.2%;
  }
}

@-webkit-keyframes come-in {
  to {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes come-in {
  to {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@media (max-width: 45.5em) {
  #content {
    margin: 3.5em 2% 0 2%;
  }
  #content h1 {
    font-size: 1.6em;
  }
}

#content i.right {
  /*float: right;*/
  position: absolute;
  right: 0;
  font-size: 5em;
  opacity: 0.1;
  cursor: default;
}

@media (max-width: 45.5em) {
	#content i.right {
    font-size: 3em;
  }
}

#content i.fe-bicycle {
	perspective: 50px;
	transform-style: preserve-3d;
  -webkit-animation: bicycle 15s linear 2s infinite; /* Chrome, Safari, Opera */
  animation: bicycle 15s linear 2s infinite; /* Standard syntax */
}

#content i.fe-bicycle:hover {
	transform: rotateZ(45deg);
}

@-webkit-keyframes bicycle {
  0%   {right:0;transform: rotateY(180deg);}
  49%  {right:50%;transform: rotateY(180deg);}
  50%  {transform: rotateY(0deg);}
  99%  {right:0px;transform: rotateY(0deg);}
  100% {transform: rotateY(180deg);}
}

/* Standard syntax */
@keyframes bicycle {
  0%   {right:0;transform: rotateY(180deg);}
  49%  {right:50%;transform: rotateY(180deg);}
  50%  {transform: rotateY(0deg);}
  99%  {right:0px;transform: rotateY(0deg);}
  100% {transform: rotateY(180deg);}
}

nav {
  background-color: #fff;
  background: -webkit-linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%,rgba(255, 255, 255, 0.67) 100%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%,rgba(255, 255, 255, 0.67) 100%);
}