/* Styles for the feedback form */
.rating {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating input,
.initially-hidden {
    display: none;
}

.feedback-form{
    background-color: #e9ecef;
    padding: 45px 65px;
    border-radius: 10px;
    margin: 30px 0;
}

.feedback-form h4{
    font-size: 1.3rem;
    font-weight: 700;
}

.features div {
  padding-left: 1.25rem;
}

.features .form-check-label {
  margin-left: 5px;
}

/* Styles for rating span and its elements */
.rating span{
    display: flex;
    flex-direction: row-reverse;
    font-size: 2.1rem;
}

.star{
    color: rgba(0, 0, 0, .2);
    margin-right: 10px;
    margin-bottom: 0;
    position: relative;
}

.star i:last-of-type{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-55%);
    color: transparent;
}

.star:hover > i:last-of-type,
.star:hover ~ .star i:last-of-type,
input[name="rating"]:checked ~ .star i:last-of-type{
    color: gold;
}

.star:hover > i:first-of-type,
.star:hover ~ .star i:first-of-type,
input[name="rating"]:checked ~ .star i:first-of-type{
    color: transparent;
}



.greeting i{
    margin-right: 10px;
    font-size: 1.5rem;
    color: #70e000;
}

.greeting h4{
    margin-bottom: 0;
}
