@import url("https://fonts.googleapis.com/css2?family=Overpass:wght@300;400;500;700&display=swap");
html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 15px;
  background-color: hsl(216deg, 26%, 12%);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: hsl(228deg, 11%, 8%);
  min-height: 100vh;
  font-family: "Overpass", sans-serif;
  font-weight: 400;
  color: hsl(216deg, 12%, 54%);
}

.card {
  padding: 30px;
  background: linear-gradient(to top right, hsl(216deg, 26%, 12%), hsl(213deg, 19%, 18%));
  width: 40%;
  border-radius: 18px;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: hsl(213deg, 19%, 18%);
  height: 45px;
  width: 45px;
  float: left;
}

.image {
  width: 38%;
  height: auto;
}

h1 {
  padding-top: 12px;
  margin-bottom: 0;
  color: hsl(0deg, 0%, 100%);
  font-size: 1.6rem;
}

p {
  color: hsl(217deg, 12%, 63%);
  font-size: 0.9rem;
  line-height: 1.5rem;
}

.rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 24px;
}

.number {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: hsl(213deg, 19%, 18%);
  height: 45px;
  width: 45px;
  transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
}

.numberValidate {
  background-color: hsl(25deg, 97%, 53%);
  color: hsl(0deg, 0%, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  height: 45px;
  width: 45px;
  transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
}

.numberValidate:hover {
  cursor: pointer;
}

.number:hover {
  background-color: hsl(217deg, 12%, 63%);
  color: hsl(0deg, 0%, 100%);
  cursor: pointer;
}

.submit {
  background-color: hsl(25deg, 97%, 53%);
  color: hsl(0deg, 0%, 100%);
  text-transform: uppercase;
  font-weight: 700;
  padding: 10px;
  border-radius: 25px;
  letter-spacing: 0.12rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
  border-style: none;
}

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

.remove {
  display: none;
}

.main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

#card2 {
  padding: 25px;
  width: 42%;
}

.endRating {
  width: 47%;
  padding-top: 20px;
  padding-bottom: 20px;
}

.rate {
  border-radius: 25px;
  background-color: hsl(213deg, 19%, 18%);
  margin-left: 55px;
  margin-right: 55px;
  margin-top: 15px;
}

.ratingNote {
  margin: 5px;
  color: hsl(25deg, 97%, 53%);
  font-size: 1rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 2rem;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media screen and (max-width: 655px) {
  .card {
    width: 55%;
    padding: 18px;
  }
  #card2 {
    padding: 25px;
    width: 60%;
  }
}
@media screen and (max-width: 470px) {
  .card {
    width: 60%;
    padding: 18px;
  }
  #card2 {
    padding: 25px;
    width: 70%;
  }
  .ratingNote {
    margin: 5px;
    color: hsl(25deg, 97%, 53%);
    font-size: 0.9rem;
  }
}
@media screen and (max-width: 420px) {
  .card {
    width: 74%;
    padding: 18px;
  }
  .submit {
    padding: 15px;
  }
  h1 {
    padding-top: 5px;
  }
  .number {
    height: 40px;
    width: 40px;
    font-size: 0.9rem;
  }
  .numberValidate {
    height: 40px;
    width: 40px;
    font-size: 0.9rem;
  }
  #card2 {
    padding: 25px;
    width: 74%;
  }
  .ratingNote {
    margin: 5px;
    color: hsl(25deg, 97%, 53%);
    font-size: 0.9rem;
  }
  .endRating {
    width: 50%;
    padding-top: 20px;
    padding-bottom: 10px;
  }
}/*# sourceMappingURL=style.css.map */