:root {
  --border: solid 1px rgb(0, 139, 139);
  --pink: 255, 105, 180;
  --blue: 0, 139, 139;
  --bcenter: 0 auto;
}

#form-main {
    display: flex;
}

.wf1{
    width: 100%;
    margin: 0px auto;   
    display: block;
}

.wf1 fieldset {
  border: var(--border);
  border-radius: 6px;
  max-width: 600px;
  margin:  10px auto;
  padding: 1rem;
  background-image: linear-gradient(to bottom, rgba(var(--pink), 0.314) 0%, rgba(var(--pink), 1) 100%);
}

.wf1 label {
  display: block;
  padding: 1rem;
}

.wf1 legend {
  padding: 0 0.5rem;
}

.wf1 input[type="text"],
.wf1 input[type="email"],
.wf1 input[type="submit"],
.wf1 input[type="password"] {
  background-color: rgba(var(--blue),.314);
  display: block;
  border: var(--border);
  border-radius: 6px;
  padding: 10px;
  width: 50%;
}

.wf1 input[type="submit"]{
    margin: var(--bcenter);
    width: 25%;
    min-width: 250px;
    background-color: rgb(var(--blue));
}

/* use reverse flexbox to take advantage of flex-direction: reverse */
.star-rating {
  display: flex;
  align-items: center;
  width: 160px;
  flex-direction: row-reverse;
  justify-content: space-between;
  margin: 40px auto;
  position: relative;
}

/* hide the inputs */
.star-rating input {
  display: none;
}

/* set properties of all labels */
.star-rating > label {
  width: 30px;
  height: 30px;
  font-family: Arial;
  font-size: 30px;
  transition: 0.2s ease;
  color: orange;
}

/* give label a hover state */
.star-rating label:hover {
  color: #ff69b4;
  transition: 0.2s ease;
}

.star-rating label:active::before {
  transform: scale(1.1);
}

/* set shape of unselected label */
.star-rating label::before {
  content: "\2606";
  position: absolute;
  top: 0px;
  line-height: 26px;
}

/* set full star shape for checked label and those that come after it */
.star-rating input:checked ~ label:before {
  content: "\2605";
}

@-moz-document url-prefix() {
  .star-rating input:checked ~ label:before {
    font-size: 36px;
    line-height: 21px;
  }
}
