:root {
  --main-font: "League Spartan", sans-serif;
  --m-weight: 500;
  --bold-weight: 700;
}

body {
  font-size: 100%;
}

:root {
  --dark-magenta: hsl(300, 43%, 22%);
  --soft-pink: hsl(333, 80%, 67%);
  --grayish-magenta: hsl(303, 10%, 53%);
  --light-magenta: hsl(300, 24%, 96%);
  --white: hsl(0, 0%, 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.main-container {
  padding: 5rem 1.5rem;
  margin: 0 auto;
  font-family: var(--main-font);
}
@media (min-width: 56.25em) {
  .main-container {
    max-width: 69.375rem;
    margin-inline: auto;
  }
}

.header {
  width: 100%;
  margin-bottom: 3.125rem;
}
@media (min-width: 56.25em) {
  .header {
    margin-bottom: 4.375rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
  }
}
.header-text {
  margin-bottom: 3.125rem;
}
@media (min-width: 56.25em) {
  .header-text {
    max-width: 26.25rem;
    margin-bottom: 0;
  }
}
.header-title {
  font-size: 2.375rem;
  font-weight: var(--bold-weight);
  text-align: center;
  color: var(--dark-magenta);
  margin-bottom: 1.5rem;
}
@media (min-width: 56.25em) {
  .header-title {
    font-size: 3.125rem;
    text-align: left;
  }
}
.header-description {
  font-size: 1.125rem;
  line-height: 1.3;
  text-align: center;
  color: var(--grayish-magenta);
}
@media (min-width: 56.25em) {
  .header-description {
    text-align: left;
    margin-bottom: 0;
  }
}
@media (min-width: 56.25em) {
  .header-rates {
    width: 33.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}
.header-rates_review {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  background-color: var(--light-magenta);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 56.25em) {
  .header-rates_review {
    width: 27.8125rem;
    flex-direction: row;
    justify-content: start;
    gap: 2rem;
    align-items: center;
    margin-bottom: 0;
    padding: 1.25rem 1.875rem;
  }
  .header-rates_review:nth-child(2) {
    align-self: center;
  }
  .header-rates_review:last-child {
    align-self: end;
  }
}
.header-rates_review .stars {
  display: flex;
  gap: 0.3125rem;
}
.header-rates_review .text {
  margin: 1rem 0 0;
  font-size: 1rem;
  font-weight: var(--bold-weight);
  color: var(--dark-magenta);
}
@media (min-width: 56.25em) {
  .header-rates_review .text {
    margin-top: 0;
  }
}

.reviews {
  margin-bottom: 2.5rem;
}
@media (min-width: 56.25em) {
  .reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 16.75rem;
    gap: 2rem;
  }
}
.reviews-card {
  padding: 2.5rem 1.875rem;
  background-color: var(--dark-magenta);
  border-radius: 0.625rem;
  margin-bottom: 1rem;
}
@media (min-width: 56.25em) {
  .reviews-card {
    height: 14.75rem;
    margin-bottom: 0;
  }
}
.reviews-card:nth-child(2) {
  align-self: center;
}
.reviews-card:last-child {
  align-self: end;
}
.reviews-card_header {
  display: flex;
  align-items: center;
  gap: 1.375rem;
}
.reviews-card_header-img {
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 50%;
  overflow: hidden;
}
.reviews-card_header-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.reviews-card_header-id .name {
  margin: 0;
  font-size: 1rem;
  font-weight: var(--bold-weight);
  line-height: 1.4;
  color: var(--white);
}
.reviews-card_header-id .sub {
  margin: 0;
  font-size: 1rem;
  color: var(--soft-pink);
}
.reviews-card_body {
  margin-bottom: 0;
  color: var(--white);
  line-height: 1.375;
}

/*# sourceMappingURL=style.css.map */
