@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'League Spartan', sans-serif;
  font-size: 15px;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social {
  padding: 4rem 1.5rem 2rem;
}

.social__description {
  text-align: center;
  padding-top: 1.3rem;
  padding-bottom: 1.7rem;
}

.social__description h1 {
  color: hsl(300, 43%, 22%);
  font-size: 37px;
  line-height: 2rem;
}

.social__description p {
  color: hsl(303, 10%, 53%);
  font-weight: 500;
  padding-top: 1.3rem;
  font-size: 17.5px;
  line-height: 1.5rem;
}

.social__stars {
  display: flex;
  flex-direction: column;
}

.social__stars-star {
  background-color: hsl(300, 24%, 96%);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.social__stars-star div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.social__stars-star p {
  font-weight: 700;
  color: hsl(300, 43%, 22%);
  font-size: 17px;
}

.social__opinions {
  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social__opinion {
  background-color: hsl(300, 43%, 22%);
  border-radius: 0.5rem;
  padding: 2rem;
  padding-top: 2.5rem;
}

.text {
  color: white;
  line-height: 1.3;
  font-size: 16.5px;
  padding-top: 1.8rem;
}

.social__opinion-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  justify-content: center;
}

.social__opinion-author {
  display: flex;
  gap: 1.5rem;
}

.social__opinion-author h2 {
  font-weight: 500;
  font-size: 1.1rem;
  color: white;
}

.social__opinion-author p {
  color: hsl(333, 80%, 67%);
  font-size: 17px;
}

.social__opinion-author img {
  border-radius: 50%;
  width: 2.5rem;
}

@media screen and (min-width: 1200px) {
  .container {
    max-width: 1160px;
    margin: 0 auto;
    height: 100vh;
  }

  .social {
    padding: 0rem 1.5rem;
  }

  .social__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .social__description {
    width: 40%;
    text-align: left;
  }

  .social__description h1 {
    font-size: 52px;
    line-height: 0.92;
  }

  .social__description p {
    padding-top: 1.8rem;
  }

  .social__stars {
    gap: 0.5rem;
  }

  .social__stars-star {
    flex-direction: row;
    gap: 5rem;
  }

  .social__stars-star:nth-child(1) {
    margin-right: 6rem;
    margin-left: -3rem;
    margin-top: 0.4rem;
  }

  .social__stars-star:nth-child(2) {
    margin-right: 3rem;
  }

  .social__stars-star:nth-child(3) {
    margin-left: 3rem;
  }

  .social__opinions {
    flex-direction: row;
    justify-content: space-between;
  }

  .social__opinion {
    background-color: hsl(300, 43%, 22%);
    padding-top: 2.4rem;
    height: 14.5rem;
    width: 350px;
  }

  .social__opinion:nth-child(2) {
    margin-top: 1rem;
    padding-right: 3rem;
  }

  .social__opinion:nth-child(3) {
    margin-top: 2rem;
  }
}
