div.stars {
  width: auto;
  display: inline-block;
}
    .fa-star{
        color: #FD4;
        text-shadow: 0 0 1px #952;
    }
input.star { display: none; }

label.star {
  float: right;
  padding: 10px;
  font-size: 16px;
  color: #444;
  transition: all .2s;
}

input.star:checked ~ label.star:before {
  content: '\f005';
  color: #FD4;
  transition: all .25s;
    
}

input.star-5:checked ~ label.star:before {
  color: #FE7;
  text-shadow: 0 0 2px #952;
}

input.star-1:checked ~ label.star:before { color: #F62; }

label.star:hover { transform: rotate(-15deg) scale(1.3); }

label.star:before {
  content: '\f005';
  font-family: "Font Awesome 5 Free";
}