::-moz-selection {
  background: #000;
  color: #fff;
  text-shadow: none;
}
::selection {
  background: #000;
  color: #fff;
  text-shadow: none;
}
html {
  font-size: 13px;
  background-color: #222;
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body {
  padding: 3.125rem;
  width: 58rem;
  margin: 0 auto;
  color: #ccc;
}
h1 {
  font-family: Futura, 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-weight: normal;
  display: none;
  font-size: 8.75rem;
  background-color: #fff147;
  color: #222;
  text-align: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0.2rem;
  margin-bottom: 1.6rem;
  line-height: 1.3;
  width: 12.5rem;
  height: 12.5rem;
  -webkit-animation: morph-color 5s infinite;
  -moz-animation: morph-color 5s infinite;
  -o-animation: morph-color 5s infinite;
  -ms-animation: morph-color 5s infinite;
  animation: morph-color 5s infinite;
  -webkit-animation-direction: alternate;
  -moz-animation-direction: alternate;
  -o-animation-direction: alternate;
  -ms-animation-direction: alternate;
  animation-direction: alternate;
}
h1.photo {
  color: transparent;
  background-color: transparent;
  background-image: url("images/k2.jpg");
  -webkit-background-size: 250px;
  -moz-background-size: 250px;
  background-size: 250px;
  background-position: center;
}
section {
  margin-bottom: 3rem;
}
section:first-child {
  margin-bottom: 1rem;
}
section > a {
  font-size: 1.5rem;
}
h3 {
  color: #ff5470;
}
.demo {
  width: 245px;
  height: 301px;
  -webkit-background-size: 245px 301px;
  -moz-background-size: 245px 301px;
  background-size: 245px 301px;
  display: inline-block;
  margin-bottom: 2rem;
}
#demo1 {
  background-image: url("images/1.jpg");
}
#demo2 {
  background-image: url("images/2.jpg");
}
#demo3 {
  background-image: url("images/3.jpg");
}
#demo4 {
  background-image: url("images/4.jpg");
}
#demo5 {
  background-image: url("images/5.jpg");
}
#demo6 {
  background-image: url("images/6.jpg");
}
span {
  background-color: #eee;
  font-size: 1.875rem;
  color: #222;
  font-weight: bold;
  letter-spacing: -2px;
  padding: 0.625rem;
  margin: 0.625rem;
  display: inline-block;
}
span a:hover {
  color: #222;
}
a,
em {
  color: #888;
  text-decoration: none;
  font-style: normal;
}
a {
  color: #ff5470;
  -webkit-transition: color 0.33s;
  -moz-transition: color 0.33s;
  -o-transition: color 0.33s;
  -ms-transition: color 0.33s;
  transition: color 0.33s;
}
a:hover {
  color: #fff;
}
pre {
  background-color: #444;
  color: #eee;
  font-size: 1rem;
  margin: 0rem;
  padding: 0.5rem;
  overflow: auto;
}
footer {
  text-align: center;
  font-size: 1.2rem;
}
#count-demo {
  width: 25rem;
  height: 25rem;
  margin: 1rem auto;
  overflow: hidden;
}
#count-demo ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  -webkit-animation: going-up 20s infinite linear;
  -moz-animation: going-up 20s infinite linear;
  -o-animation: going-up 20s infinite linear;
  -ms-animation: going-up 20s infinite linear;
  animation: going-up 20s infinite linear;
  -webkit-animation-direction: alternate;
  -moz-animation-direction: alternate;
  -o-animation-direction: alternate;
  -ms-animation-direction: alternate;
  animation-direction: alternate;
  -webkit-animation-delay: 2s;
  -moz-animation-delay: 2s;
  -o-animation-delay: 2s;
  -ms-animation-delay: 2s;
  animation-delay: 2s;
}
#count-demo ul li {
  width: 25rem;
  height: 25rem;
  padding: 0;
  margin: 0;
  font-size: 19rem;
  line-height: 1.35;
  font-weight: bolder;
  text-align: center;
  color: rgba(0,0,0,0.3);
}
#count-demo ul li:nth-child(1) {
  background-color: #ff5470;
}
#count-demo ul li:nth-child(2) {
  background-color: #4aaaed;
}
#count-demo ul li:nth-child(3) {
  background-color: #8bf64d;
}
#count-demo ul li:nth-child(4) {
  background-color: #4aeda5;
}
@-moz-keyframes morph-color {
  0% {
    background-color: #fff147;
  }

  100% {
    background-color: #ff5470;
  }
}
@-webkit-keyframes morph-color {
  0% {
    background-color: #fff147;
  }

  100% {
    background-color: #ff5470;
  }
}
@-o-keyframes morph-color {
  0% {
    background-color: #fff147;
  }

  100% {
    background-color: #ff5470;
  }
}
@-ms-keyframes morph-color {
  0% {
    background-color: #fff147;
  }

  100% {
    background-color: #ff5470;
  }
}
@keyframes morph-color {
  0% {
    background-color: #fff147;
  }

  100% {
    background-color: #ff5470;
  }
}
@-moz-keyframes going-up {
  100% {
    -webkit-transform: translate3d(0, -75%, 0);
    -moz-transform: translate3d(0, -75%, 0);
    -o-transform: translate3d(0, -75%, 0);
    -ms-transform: translate3d(0, -75%, 0);
    transform: translate3d(0, -75%, 0);
  }
}
@-webkit-keyframes going-up {
  100% {
    -webkit-transform: translate3d(0, -75%, 0);
    -moz-transform: translate3d(0, -75%, 0);
    -o-transform: translate3d(0, -75%, 0);
    -ms-transform: translate3d(0, -75%, 0);
    transform: translate3d(0, -75%, 0);
  }
}
@-o-keyframes going-up {
  100% {
    -webkit-transform: translate3d(0, -75%, 0);
    -moz-transform: translate3d(0, -75%, 0);
    -o-transform: translate3d(0, -75%, 0);
    -ms-transform: translate3d(0, -75%, 0);
    transform: translate3d(0, -75%, 0);
  }
}
@-ms-keyframes going-up {
  100% {
    -webkit-transform: translate3d(0, -75%, 0);
    -moz-transform: translate3d(0, -75%, 0);
    -o-transform: translate3d(0, -75%, 0);
    -ms-transform: translate3d(0, -75%, 0);
    transform: translate3d(0, -75%, 0);
  }
}
@keyframes going-up {
  100% {
    -webkit-transform: translate3d(0, -75%, 0);
    -moz-transform: translate3d(0, -75%, 0);
    -o-transform: translate3d(0, -75%, 0);
    -ms-transform: translate3d(0, -75%, 0);
    transform: translate3d(0, -75%, 0);
  }
}
