* {
  box-sizing: border-box;
}

/********** Fonts **********/

* {
  font-family: "League Spartan";
}

h1 {
  font-size: clamp(40px, 3.5vw, 64px);
}

.hero-text p {
  font-size: 19px;
}

.hero-text {
  text-align: center;
  color: hsl(300, 43%, 22%);
}

.rated {
  font-weight: 600;
  font-size: 18px;
  color: hsl(300, 43%, 22%);
}

.name {
  font-size: 18px;
}

.verified-color {
  color: hsl(333, 80%, 67%);
}

/********** Social Proof Section **********/

/********** Hero **********/

.root-container {
  min-height: 95vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 0;
  width: 90%;
  margin: 0 auto;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  /* border: 2px solid black; */
  justify-content: center;
}

.hero-text {
  flex-basis: 445px;
}

.stars-container {
  display: flex;
  flex-basis: 540px;
  flex-direction: column;
  gap: 16px;
  /* border: 2px solid cyan; */
  align-items: center;
}

.five-stars {
  background-color: hsl(300, 70%, 96%);
  text-align: center;
  padding: 16px 0;
  border-radius: 8px;
  width: 100%;
  max-width: 445px;
}

.five-stars p {
  margin: 6px auto;
}

/********** Bottom Fold **********/

.testimonials-container {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.buyer {
  background-color: hsl(300, 43%, 22%);
  color: white;
  padding: 24px 24px;
  border-radius: 8px;
  flex-basis: 350px;
}

.name-img {
  display: flex;
  align-items: center;
  gap: 24px;
}

.name-img img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.name-img h2,
.name-img p {
  margin: 0;
}

/********** Media Query for Desktop **********/

@media (min-width: 1140px) {
  h1 {
    margin-top: 0;
  }

  .hero {
    gap: 96px;
    max-width: 1110px;
  }
  .hero-text {
    text-align: left;
  }

  .five-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .five-stars p {
    margin: 0 0 0 20px;
  }

  .five-stars:nth-of-type(1) {
    margin-right: 120px;
  }
  .five-stars:nth-of-type(2) {
    margin-right: 56px;
  }

  .buyer:nth-of-type(2) {
    margin-top: 16px;
    margin-bottom: -16px;
  }
  .buyer:nth-of-type(3) {
    margin-top: 32px;
    margin-bottom: -32px;
  }
}
