@import url("https://fonts.googleapis.com/css2?family=Overpass:wght@400;700&display=swap");
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* code from https://css-tricks.com/inclusively-hidden/ */
.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.body {
  padding: 1rem;
  font: 15px "Overpass", sans-serif;
  color: hsl(217, 12%, 63%);
  background: hsl(216, 12%, 8%);
  display: flex;
  align-items: center;
  min-height: 100vh;
  justify-content: center;
}

.span_circle {
  height: 2.6rem;
  width: 2.6rem;
  border-radius: 50%;
  background-color: hsla(216, 12%, 54%, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  border-radius: 15px;
  background: hsl(213, 19%, 18%);
  padding: 1.5rem 1.2rem;
  max-width: 325px;
  min-height: 350px;
  display: flex;
  align-items: center;
}
.card__rating {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.card__header {
  color: hsl(0, 0%, 100%);
  font-size: 1.4rem;
  letter-spacing: 0.4px;
}
.card__text {
  letter-spacing: -0.3px;
  margin-bottom: 1rem;
}
.card__thank-you {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  gap: 1rem;
  line-height: 1.4rem;
}
.card__image_thank-you {
  max-width: 50%;
  height: auto;
}
.card__rating-result {
  background-color: hsla(216, 12%, 54%, 0.1);
  color: hsl(25, 97%, 53%);
  padding: 0.4rem 1rem 0.1rem 1rem;
  border-radius: 1rem;
}
.card_hidden {
  display: none !important;
}

.rating-form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.rating-form__rating-list {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.rating-form__radio {
  cursor: pointer;
  opacity: 0;
  position: absolute;
  height: 2.6rem;
  width: 2.6rem;
}
.rating-form__radio:hover + .span_circle {
  color: hsl(0, 0%, 100%);
  background-color: hsl(216, 12%, 54%);
  transition: all 0.2s ease-in;
}
.rating-form__radio:checked + .span_circle {
  color: hsl(0, 0%, 100%);
  background-color: hsl(25, 97%, 53%);
}

.button_submit {
  cursor: pointer;
  border-radius: 1.3rem;
  border: none;
  color: hsl(0, 0%, 100%);
  background-color: hsl(25, 97%, 53%);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  height: 2.8rem;
  transition: all 0.2s;
}
.button_submit:hover {
  background-color: hsl(0, 0%, 100%);
  color: hsl(25, 97%, 53%);
}

.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

/*# sourceMappingURL=style.css.map */
