@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background-color: #040405;
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  justify-content: center;
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
}
.card {
  border-radius: 0.5em;
  padding: 1em;
  width: 80%;

  background-color: #1e252f;
  color: #6c737c;
  display: flex;
  flex-direction: column;

  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
}
h2 {
  font-size: 1.4em;
  color: #fff;
  margin-top: 1em;
}
.rating {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #262f38;
  color: #6c737c;
}
#one,
#two,
#three,
#four,
#five,
#star {
  display: flex;
  justify-content: center;
  align-items: center;
}
#one:hover,
#two:hover,
#three:hover,
#four:hover,
#five:hover {
  background-color: gray;
  color: #fff;
  cursor: pointer;
}
#one:active,
#two:active,
#three:active,
#four:active,
#five:active {
  background-color: #fc7613;
  color: #fff;
  cursor: pointer;
}
button {
  font-weight: 400;
  width: 80%;
  background-color: #fc7613;
  padding: 6px 80px;
  border-radius: 100px;
  border: none;
  margin: 2em auto;
  color: #fff;
}
button:hover {
  background-color: #fff;
  color: #fc7613;
  cursor: pointer;
}
p {
  padding: 2em 0;
  font-weight: 600;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .card {
    width: 30%;
  }
  button {
    padding: 16px;
  }
}
