* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background-color: hsl(216, 12%, 8%);
  color: hsl(0, 100%, 100%);
}

.outcome-card,
.rating-card {
  background-color: hsl(213, 19%, 18%);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 3rem;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.outcome-card {
  align-items: center;
  justify-content: center;
}

.outcome-card h2 {
  color: hsl(25, 97%, 53%);
  font-size: 1rem;
  background-color: hsl(214, 11%, 24%);
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
}

p {
  color: hsl(217, 12%, 63%);
}

span {
  background-color: hsl(214, 11%, 24%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

img {
  width: 1rem;
}

.rating-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.rating-list button {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  background-color: hsl(216, 12%, 20%);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.1s ease;
}

.rating-list button:hover {
  background-color: white;
  color: black;
}

.rating-list button.selected {
  background-color: hsl(25, 97%, 53%);
  transform: scale(1.1);
}

.submit-btn {
  padding: 1rem;
  border-radius: 30px;
  cursor: pointer;
  letter-spacing: 0.05rem;
  font-weight: bolder;
  transition: all 0.3s ease;
}

.submit-btn:active {
  transform: scale(1.02);
}

.hide {
  display: none;
}
