.rating {
  /*margin: 50px auto;*/
  width: 100px;
}
.rating > * {
  float: right;
}
@keyframes pulse {
  50% {
    color: #5e5e5e;
    text-shadow: 0 0 15px #777;
  }
}
.rating label {
  height: 40px;
  width: 20%;
  display: block;
  position: relative;
  cursor: pointer;
}
.rating label:nth-of-type(5):after {
  animation-delay: 0.25s;
}
.rating label:nth-of-type(4):after {
  animation-delay: 0.2s;
}
.rating label:nth-of-type(3):after {
  animation-delay: 0.15s;
}
.rating label:nth-of-type(2):after {
  animation-delay: 0.1s;
}
.rating label:nth-of-type(1):after {
  animation-delay: 0.05s;
}
.rating label:after {
  transition: all 0.4s ease-out;
  -webkit-font-smoothing: antialiased;
  position: absolute;
  content: "☆";
  color: #444;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 30px;
  animation: 1s pulse ease;
}
.rating label:hover:after {
  color: #5e5e5e;
  text-shadow: 0 0 15px #5e5e5e;
}
.rating input {
  display: none;
}
.rating input:checked + label:after, .rating input:checked ~ label:after {
  content: "★";
  color: #F9BF3B;
  text-shadow: 0 0 20px #F9BF3B;
}
/*body {*/
/*  background-color: #111;*/
/*}*/
