
/*shows the stars side by side, centered, and in reverse order than the HMTL*/
.rating {
  display: flex;
  flex-direction: row-reverse;
 justify-content:center;
}


.rating > input{ display:none;}


.rating > label {
  position: relative;
  width: 1.1em;
  font-size: 4.3vw;
  color: #FFD700;
  cursor: pointer;
}

.rating > label::before{
  content: "\2605";
  position: absolute;
  opacity: 0;

}

.rating > label:hover:before,
.rating > label:hover ~ label:before {
  opacity: 1 !important;
}


.rating > input:checked ~ label:before{
  opacity:1;
}


.rating:hover > input:checked ~ label:before{ opacity: 0.4; }


