@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Lato&display=swap");

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  justify-content: center;
  background-color: black;
  font-family: "Lato", sans-serif;
  font-size: 15px;
}

.container {
  display: flex;
  flex-direction: column;
  background-color: hsl(216, 12%, 8%);
  width: 300px;
  height: 400px;
  padding: 30px 45px 0px 45px;
  border-radius: 25px;
}

.active.container {
  visibility: hidden;
  opacity: 0;
}

img {
  background-color: hsl(213, 19%, 18%);
  width: 25px;
  height: 25px;
  padding: 10px;
  border-radius: 50%;
  margin: 5px 0px 25px 0px;
}

h1 {
  color: hsl(0, 0%, 100%);
  font-size: 25px;
  margin: 0;
}

p {
  color: hsl(217, 12%, 63%);
  font-size: 16px;
}

.btn-rating-container {
  display: flex;
  justify-content: space-between;
}

.rating-btn {
  font-family: inherit;
  padding: 15px 20px;
  border-radius: 50%;
  background-color: hsl(213, 19%, 18%);
  color: hsl(216, 12%, 54%);
  border: none;
  margin-top: 20px;
  cursor: pointer;
}

.rating-btn:hover {
  background-color: hsl(217, 12%, 63%);
  color: white;
}

.active.rating-btn {
  background-color: hsl(25, 97%, 53%);
  color: white;
}
.rating-btn:active {
  transform: scale(1.1);
}

.active.rating-btn:active {
  transform: scale(1.1);
}

.submit-btn {
  background-color: hsl(25, 97%, 53%);
  border: none;
  width: 100%;
  padding: 12px 10px;
  border-radius: 20px;
  color: hsl(0, 0%, 100%);
  margin-top: 40px;
  font-family: inherit;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
}

.submit-btn:active {
  background-color: hsl(0, 0%, 100%);
  color: hsl(25, 97%, 53%);
}

.thank-you-container {
  position: absolute;
  background-color: hsl(216, 12%, 8%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  height: 400px;
  justify-content: center;
  padding: 30px 45px 0px 45px;
  margin-bottom: 18px;
  border-radius: 25px;
}

.active.thank-you-container {
  visibility: hidden;
  opacity: 0;
}

.thank-you-image {
  width: 180px;
  height: 120px;
  background-image: url("/images/illustration-thank-you.svg");
  background-size: cover;
  margin: 0 0 35px;
}

.selected-rating {
  margin: 0 0 40px;
  font-size: 18px;
  background-color: hsl(213, 19%, 18%);
  color: hsl(25, 97%, 53%);
  padding: 10px 15px;
  border-radius: 20px;
}

.thank-you-container h1 {
  margin-bottom: 5px;
}

.thank-you-container p {
  font-size: 16px;
  text-align: center;
}

.attribution {
  display: flex;
  align-items: center;
  position: relative;
  top: 24%;
  color: white;
}
