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

body {
  background-color: hsl(216, 12%, 8%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
}

main {
  background-color: hsl(213, 19%, 18%);
  padding: 2em;
  color: hsl(0, 0%, 100%);
  width: 425px;
  border-radius: 2em;
}
main .rating-state {
  display: block;
}
main .rating-state img {
  background-color: hsla(212, 20%, 37%, 0.26);
  padding: 1em;
  border-radius: 50%;
  margin-bottom: 0.5em;
  transition: 0.25s ease;
}
main .rating-state img:hover {
  background-color: hsla(217, 12%, 63%, 0.342);
  transform: rotate(90deg);
}
main .rating-state h1 {
  margin: 0.5em 0;
}
main .rating-state p {
  color: hsl(217, 12%, 63%);
  line-height: 1.5em;
}
main .rating-state button {
  width: 100%;
  padding: 1em;
  border-radius: 2em;
  border: none;
  text-transform: uppercase;
  background-color: hsl(25, 97%, 53%);
  border: 1px solid hsl(25, 97%, 53%);
  color: hsl(0, 0%, 100%);
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 0.15em;
  transition: 0.2s ease;
  cursor: pointer;
}
main .rating-state button:hover {
  letter-spacing: 0.25em;
  background-color: hsl(0, 0%, 100%);
  color: hsl(25, 97%, 53%);
}
main .rating-state #error-msg {
  text-align: center;
  color: red;
}
main .rating-state .rating-numbers {
  color: hsl(217, 12%, 63%);
  margin: 2em 0;
  display: flex;
  justify-content: space-between;
}
main .rating-state .rating-numbers span {
  display: block;
  text-align: center;
  font-weight: 700;
  background-color: hsla(212, 20%, 37%, 0.26);
  width: 3.5em;
  padding: 1.25em;
  height: 3.5em;
  border-radius: 50%;
  transition: 0.2s ease;
}
main .rating-state .rating-numbers span:hover {
  cursor: pointer;
  background-color: hsla(217, 12%, 63%, 0.342);
}
main .thank-state {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
main .thank-state .selected {
  margin: 2em 0;
  background-color: hsla(212, 20%, 37%, 0.26);
  padding: 0.5em;
  width: 55%;
  border-radius: 2em;
  color: orange;
  transition: 0.2s ease;
}
main .thank-state .selected:hover {
  background-color: hsla(217, 12%, 63%, 0.342);
}
main .thank-state h2 {
  font-size: 1.8em;
}
main .thank-state .info {
  color: hsl(217, 12%, 63%);
  margin: 1em 0;
}

footer {
  font-size: 1em;
  margin: 1em;
  text-align: center;
  color: hsl(0, 0%, 100%);
}

footer a {
  color: hsl(25, 97%, 53%);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 500px) {
  main {
    width: 90%;
    padding: 1em;
  }
  main .rating-state .rating-numbers span {
    width: 3em;
    padding: 1em;
    height: 3em;
  }
  main .thank-state .selected {
    font-size: 0.9em;
    width: 65%;
  }
}/*# sourceMappingURL=style.css.map */