
  #form {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    height: 100%;
    margin: auto;
  }
  
  [class*=fontawesome-]:before {
    font-family: "FontAwesome", sans-serif;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 100%;
    height: 100%;
  }
  
 
  
  input, label {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }
  
  .stars {
    position: relative;
  }
  .stars input {
    display: none;
  }
  .stars input:checked ~ label:not(.reset) {
    -webkit-animation: wobble 0.8s ease-out;
            animation: wobble 0.8s ease-out;
    color: #FFDB19;
  }
  .stars input:checked:not(#star-reset) ~ label.reset {
    display: block;
  }
  .stars label:not(.reset) {
    display: inline-block;
    float: left; /* change float to left */
    position: relative;
    width: 40px;
    height: 40px;
    font-size: 40px;
    padding: 2px;
    cursor: pointer;
    color: #3d3d3d;
    transition: color 0.1s ease-out;
    z-index: 10;
  }
  
  .face {
    position: relative;
    width: 200px;
    background: white;
    border: 6px solid #f0f0f0;
    border-radius: 100%;
    margin: 80px 0 50px;
    transition: box-shadow 0.4s ease-out;
  }
  .face:after {
    content: "";
    display: block;
    padding-bottom: 100%;
  }
  
  i {
    position: absolute;
    top: 50%;
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 100%;
    background: #f0f0f0;
  }
  i:nth-child(1) {
    left: 30%;
  }
  i:nth-child(2) {
    right: 30%;
  }
  
  u {
    position: absolute;
    right: 0;
    bottom: 25%;
    left: 0;
    margin: auto;
    width: 24px;
    height: 24px;
    text-decoration: none;
    border: 6px solid #f0f0f0;
    border-radius: 100%;
  }
  u:before, u:after {
    content: "";
    position: absolute;
    top: 15px;
    width: 6px;
    height: 6px;
    background: #f0f0f0;
    border-radius: 60px 60px 0 0;
    z-index: 2;
  }
  u:before {
    left: -5px;
    transform: rotate(-32deg);
  }
  u:after {
    right: -5px;
    transform: rotate(32deg);
  }
  u .cover {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 100%;
    height: 100%;
    border: 6px solid white;
    background: white;
    transform: translate(0, -12px);
  }
  
  input#star4:checked ~ .face u,
  input#star2:checked ~ .face u {
    width: 36px;
  }
  input#star4:checked ~ .face u:before, input#star4:checked ~ .face u:after,
  input#star2:checked ~ .face u:before,
  input#star2:checked ~ .face u:after {
    top: 18px;
    height: 10px;
  }
  input#star4:checked ~ .face u:before,
  input#star2:checked ~ .face u:before {
    left: 0px;
    transform: rotate(-66deg);
  }
  input#star4:checked ~ .face u:after,
  input#star2:checked ~ .face u:after {
    right: 0px;
    transform: rotate(66deg);
  }
  input#star4:checked ~ .face u .cover,
  input#star2:checked ~ .face u .cover {
    transform: translate(0, -8px);
  }
  
  input#star5:checked ~ .face u,
  input#star4:checked ~ .face u {
    transform: rotate(180deg) translateY(-20px);
  }
  
  input#star3:checked ~ .face u {
    width: 42px;
    height: 6px;
    background: #3d3d3d;
    border: none;
    border-radius: 60px;
    transform: translateY(-4px);
  }
  input#star3:checked ~ .face u:before, input#star3:checked ~ .face u:after,
  input#star3:checked ~ .face u .cover {
    display: none;
  }
  
  input:not(#star-reset):checked ~ .face {
    -webkit-animation: wobble 0.8s ease-out;
            animation: wobble 0.8s ease-out;
  }
  input:not(#star-reset):checked ~ .face,
  input:not(#star-reset):checked ~ .face u {
    border-color: #3d3d3d;
  }
  input:not(#star-reset):checked ~ .face i,
  input:not(#star-reset):checked ~ .face u:before,
  input:not(#star-reset):checked ~ .face u:after {
    background: #3d3d3d;
  }
  
  input#star5:checked ~ .face {
    background-color: white;
    box-shadow: inset rgba(255, 255, 255, 0.5) 2px 2px 0 4px, inset rgba(0, 0, 0, 0.06) -6px -4px 0 4px;
  }
  input#star5:checked ~ .face u .cover {
    background: white;
    border-color: white;
  }
  
  input#star4:checked ~ .face {
    background-color: #ffffe5;
    box-shadow: inset rgba(255, 255, 255, 0.5) 2px 2px 0 4px, inset rgba(0, 0, 0, 0.06) -6px -4px 0 4px, rgba(255, 255, 76, 0.05) 0 0 0 20px;
  }
  input#star4:checked ~ .face u .cover {
    background: #ffffe5;
    border-color: #ffffe5;
  }
  
  input#star3:checked ~ .face {
    background-color: #ffffb2;
    box-shadow: inset rgba(255, 255, 255, 0.5) 2px 2px 0 4px, inset rgba(0, 0, 0, 0.06) -6px -4px 0 4px, rgba(255, 255, 76, 0.3) 0 0 0 15px, rgba(255, 255, 76, 0.1) 0 0 0 30px;
  }
  
  input#star2:checked ~ .face {
    background-color: #ffff7f;
    box-shadow: inset rgba(255, 255, 255, 0.5) 2px 2px 0 4px, inset rgba(0, 0, 0, 0.06) -6px -4px 0 4px, rgba(255, 255, 76, 0.4) 0 0 0 20px, rgba(255, 255, 76, 0.2) 0 0 0 40px;
  }
  input#star2:checked ~ .face u .cover {
    background: #ffff7f;
    border-color: #ffff7f;
  }
  
  input#star1:checked ~ .face {
    background-color: #FFFF4C;
    box-shadow: inset rgba(255, 255, 255, 0.5) 2px 2px 0 4px, inset rgba(0, 0, 0, 0.06) -6px -4px 0 4px, rgba(255, 255, 76, 0.4) 0 0 0 25px, rgba(255, 255, 76, 0.2) 0 0 0 50px;
  }
  input#star1:checked ~ .face u .cover {
    background: #FFFF4C;
    border-color: #FFFF4C;
  }
  
  @-webkit-keyframes wobble {
    0% {
      transform: scale(0.8);
    }
    20% {
      transform: scale(1.1);
    }
    40% {
      transform: scale(0.9);
    }
    60% {
      transform: scale(1.05);
    }
    80% {
      transform: scale(0.96);
    }
    100% {
      transform: scale(1);
    }
  }
  
  @keyframes wobble {
    0% {
      transform: scale(0.8);
    }
    20% {
      transform: scale(1.1);
    }
    40% {
      transform: scale(0.9);
    }
    60% {
      transform: scale(1.05);
    }
    80% {
      transform: scale(0.96);
    }
    100% {
      transform: scale(1);
    }
}