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

button {
  border: none;
  background-color: transparent;
}

body {
  font-family: "Overpass", sans-serif;
  min-height: 100vh;
  background-color: hsl(216, 12%, 8%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  position: relative;
}

.component__error-message {
  width: 200px;
  position: absolute;
  top: 1em;
  padding: 1em;
  color: hsl(0, 100%, 100%);
  background-color: hsl(217, 12%, 63%);
  border-radius: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  left: 50%;
  transform: translateX(-50%);
}
.component__rating, .component__thank-you-state {
  width: 90%;
  max-width: 450px;
  background-color: hsl(213, 19%, 18%);
  padding: 1.5em;
  border-radius: 1em;
  margin: auto;
}

.error-message__header {
  text-align: center;
  font-size: 15px;
  margin-bottom: 1em;
}
.error-message__close-btn {
  align-self: end;
  color: hsl(216, 12%, 8%);
  background-color: hsl(25, 97%, 53%);
  padding: 0.5em;
  border-radius: 0.5em;
}
.error-message__close-btn:hover {
  cursor: pointer;
}

.rating__image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: rgba(149.328, 158.0082, 171.972, 0.1);
  padding: 1em;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 1.5em;
}
.rating__header {
  color: hsl(0, 100%, 100%);
  font-size: 30px;
  margin-bottom: 0.25em;
}
.rating__description {
  color: hsl(217, 12%, 63%);
  font-size: 15px;
  line-height: 1.5em;
  margin-bottom: 1.5em;
}
.rating__form--inputs {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 2em;
}
.rating__form--inputs input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.rating__form--inputs input:checked + label {
  background-color: hsl(25, 97%, 53%);
  color: hsl(0, 100%, 100%);
}
.rating__form--inputs input:checked + label:hover {
  background-color: hsl(25, 97%, 53%);
  color: hsl(0, 100%, 100%);
}
.rating__form--label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: rgba(149.328, 158.0082, 171.972, 0.1);
  color: hsl(217, 12%, 63%);
  border-radius: 50%;
  transition: background-color 0.3s linear, color 0.3s linear;
}
.rating__form--label:hover {
  background-color: hsl(0, 100%, 100%);
  cursor: pointer;
  color: hsl(216, 12%, 8%);
}
.rating__submit-btn {
  display: block;
  width: 100%;
  background-color: hsl(25, 97%, 53%);
  padding: 1em;
  border-radius: 2em;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.15em;
  transition: background-color 0.3s linear;
}
.rating__submit-btn:hover {
  background-color: hsl(0, 100%, 100%);
  cursor: pointer;
}

.thank-you-state__image {
  display: block;
  margin: 1em auto 2em auto;
}
.thank-you-state__user-rating-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.thank-you-state__user-rating-container p {
  color: rgba(251.4045, 115.77425, 18.8955, 0.7);
  background-color: rgba(149.328, 158.0082, 171.972, 0.1);
  padding: 0.5em 1em;
  border-radius: 1em;
}
.thank-you-state__user-rating-container {
  margin-bottom: 2em;
}
.thank-you-state__header {
  color: hsl(0, 100%, 100%);
  text-align: center;
  margin-bottom: 0.5em;
}
.thank-you-state__description {
  color: hsl(217, 12%, 63%);
  text-align: center;
  margin-bottom: 1em;
  line-height: 1.5em;
}

.hide {
  display: none;
}/*# sourceMappingURL=main.css.map */