* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  background-color: hsl(214, 17%, 92%);
  font-size: 62.5%;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
}
.container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
  max-width: 1200px;
  margin-bottom: 20px;
}
.testimonial {
  padding: 1.7rem;
  border-radius: 10px;
  width: 100%;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
}
.testimonial-1 {
  background: hsl(263, 55%, 52%);
  grid-column: 1 / span 2;
  background-image: url('data:image/svg+xml;utf8,<svg width="104" height="102" xmlns="http://www.w3.org/2000/svg"><path d="M104 102V59.727H84.114c0-5.871.689-11.182 2.068-15.933 1.379-4.75 3.42-9.287 6.125-13.61C95.01 25.86 98.909 22.257 104 19.375V0c-9.758 4.27-17.712 9.874-23.864 16.813-6.151 6.939-10.712 14.545-13.681 22.818C63.485 47.904 62 59.941 62 75.74V102h42zm-62 0V59.727H22.114c0-5.871.689-11.182 2.068-15.933 1.379-4.75 3.42-9.287 6.125-13.61C33.01 25.86 36.909 22.257 42 19.375V0c-9.652 4.27-17.58 9.874-23.784 16.813C12.01 23.752 7.424 31.358 4.455 39.631 1.485 47.904 0 59.941 0 75.74V102h42z" fill="%23A775F1" fill-rule="nonzero"/></svg>');
  background-repeat: no-repeat;
  background-position: top right 20%;

  color: white;
}
.testimonial-2 {
  background-color: hsl(217, 19%, 35%);
  color: white;
}
.testimonial-3 {
  grid-row: 2;
  background-color: hsl(0, 0%, 100%);
}
.testimonial-4 {
  grid-column: 2 / span 2;
  background-color: hsl(219, 29%, 14%);
  color: white;
}
.testimonial-5 {
  grid-column: 4;
  grid-row: 1 / span 2;
  background-color: hsl(0, 0%, 100%);
}
.user-info {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 15px;
}
.avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  margin-right: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.name {
  font-weight: 600;
  margin: 0;
  font-size: 1rem;
}

.status {
  opacity: 0.5;
  margin: 0;
  font-size: 0.85rem;
}

.highlight {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}
.quote {
  color: hsl(214, 17%, 92%);
  font-size: 16px;
  line-height: 1.5;
}
.testimonial-5 .quote,
.testimonial-3 .quote {
  color: hsl(224, 10%, 45%);
}

@media screen and (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }

  .testimonial-1,
  .testimonial-2,
  .testimonial-3,
  .testimonial-4,
  .testimonial-5 {
    grid-column: auto;
    grid-row: auto;
  }
}
