.rating{
    /* rotate so.ratings fll left to right */
    transform: translate(-40%,-50%) rotateY(180deg);
	display: flex;
    width: fit-content;
    margin: 30px auto 0px auto;
}

.rating input{
    display:none;
}

.rating label{
    display: block;
    cursor: pointer;

}
/* empty */
.rating label:before{
    content: '\f005';
    font-family: "Font Awesome 5 Free";
    position: relative;
    display: block;
    font-size: 1.8em;
    margin: .05em;
}

.submit_review {
	margin: 10px 0px 10px 0px;
}

/* filled */
.rating label:after{
    content: '\f005';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    display: block;
    font-size: 1.8em;
    color: #F6A970;
    top: 0;
    opacity: 0;
    transition: .25s;
    text-shadow: 0 2px 5px rgb(0,0,0,0,5);
    margin: 0.05em;
}

/*.ratings fill after being hovered over */
/*.ratings stay filled after being selected */
.rating label:hover:after,
.rating label:hover ~ label:after,
.rating input:checked ~ label:after{
    opacity: 1;
}


@media(max-width: 575px) {
	.rating {
		transform: translate(0%,-50%) rotateY(180deg);
	}
}
