* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Overpass", sans-serif;
  min-height: 100vh;
  background-color: hsl(216, 12%, 8%);
  padding: 1rem;
  margin: auto 0;
  overflow: hidden;
}
@media (min-width: 1024px) {
  body {
    padding: 10rem;
  }
}
body #rating-state {
  max-width: 384px;
  width: 100%;
  background-color: hsl(213, 19%, 18%);
  padding: 2rem 1.5rem;
  border-radius: 30px;
}
body #rating-state .card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: hsl(0, 100%, 100%);
  padding: 0 0.5rem;
}
body #rating-state .card .star-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsla(214, 18%, 23%, 0.936);
  border-radius: 50%;
}
body #rating-state .card .star-icon .star-img {
  width: auto;
  object-fit: cover;
}
body #rating-state .card .title {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: -8px;
}
body #rating-state .card .description {
  font-size: 0.875rem;
  line-height: 1.5;
  color: hsl(217, 12%, 63%);
}
body #rating-state .card #rating-form {
  margin-top: 0.5rem;
}
body #rating-state .card #rating-form .ratings {
  display: flex;
  justify-content: space-between;
}
body #rating-state .card #rating-form .ratings label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: hsla(214, 18%, 23%, 0.936);
  opacity: 0.6;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
body #rating-state .card #rating-form .ratings label:hover {
  background-color: hsl(25, 97%, 53%);
  color: hsl(216, 12%, 8%);
  opacity: 1;
}
body #rating-state .card #rating-form .ratings label input[type=radio] {
  opacity: 0;
  position: absolute;
  inset: 0;
  cursor: pointer;
}
body #rating-state .card #rating-form input[type=radio]:checked + label,
body #rating-state .card #rating-form label:has(input[type=radio]:checked) {
  background-color: hsl(0, 100%, 100%);
  color: hsl(216, 12%, 8%);
  opacity: 1;
}
body #rating-state .card #rating-form #submit-btn {
  border: none;
  outline: none;
  display: block;
  margin-top: 1.5rem;
  width: 100%;
  padding: 0.775rem 0.75rem;
  border-radius: 50px;
  background-color: hsl(25, 97%, 53%);
  color: hsl(213, 19%, 18%);
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
}
body #rating-state .card #rating-form #submit-btn:hover {
  background-color: hsl(0, 100%, 100%);
}
body #rating-state .card.thank-you-state {
  display: none;
  max-width: 384px;
  width: 100%;
}
body #rating-state .card.thank-you-state .content {
  display: flex;
  gap: 2rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
body #rating-state .card.thank-you-state .content .title {
  margin: 0;
}
body #rating-state .card.thank-you-state .content .selection {
  color: hsl(25, 97%, 53%);
  background-color: hsla(214, 18%, 23%, 0.936);
  padding: 8px 20px;
  font-size: 0.875rem;
  border-radius: 50px;
  opacity: 0.9;
}
body #rating-state .card.thank-you-state .content img {
  width: 50%;
}
body #rating-state .card.thank-you-state .content .description {
  font-size: 0.87rem;
  text-align: center;
}
body .attribution {
  margin-top: 20px;
  font-size: 11px;
  text-align: center;
  color: hsl(0, 100%, 100%);
}
body .attribution a {
  font-weight: bold;
  color: hsl(0, 100%, 100%);
}

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