/* CSS RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-style: normal;
  background-color: hsl(214, 17%, 92%);
  color: hsl(0, 0%, 100%);
}

#grid-container {
  display: grid;
  gap: 24px;
  grid-template-areas:
    'testimonial-1 testimonial-1 testimonial-2 testimonial-5'
    'testimonial-3 testimonial-4 testimonial-4 testimonial-5';
  justify-content: center;
  padding: 30px;
}

#testimonial-1 {
  background-color: hsl(263, 55%, 52%);
  grid-area: testimonial-1;
}

#testimonial-2 {
  background-color: hsl(217, 19%, 35%);
  grid-area: testimonial-2;
}

#testimonial-3 {
  background-color: hsl(0, 0%, 100%);
  color: hsl(0, 0%, 7%);
  grid-area: testimonial-3;
}

#testimonial-4 {
  background-color: hsl(219, 29%, 14%);
  grid-area: testimonial-4;
}

#testimonial-5 {
  background-color: hsl(0, 0%, 100%);
  color: hsl(0, 0%, 7%);
  grid-area: testimonial-5;
}

.grid-items {
  padding: 30px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-flexbox {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

p.role {
  font-size: 14px;
}
p.headline {
  font-size: 18px;
  font-weight: bold;
  padding: 15px 0;
}

p.description {
  font-size: 16px;
  line-height: 1.5;
}

/* Tablet Styles */
@media (max-width: 1024px) {
  #grid-container {
    grid-template-areas:
      'testimonial-1 testimonial-1'
      'testimonial-2 testimonial-3'
      'testimonial-4 testimonial-5';
  }
  .attribution {
    padding-bottom: 10px;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  #grid-container {
    grid-template-areas:
      'testimonial-1'
      'testimonial-2'
      'testimonial-3'
      'testimonial-4'
      'testimonial-5';
  }
}
