.testimonials {
  background: var(--lighter-body-color);
}

.testimonials h2 {
  text-align: center;
  font-weight: 900;
  color: var(--third-color);
}

.testimonials-wrapper{
  margin:3rem 0;
}

.testimonials-wrapper .testimonial {
  width: 50%;
  max-width: 640px;
  min-width:320px;
  margin: 0 2rem;
  text-align: center;
  opacity:0.25;
  transition:opacity 0.3s;
  background: var(--body-color);
  padding: 2rem 1rem;
  border-radius: 5px;
}

.testimonials-wrapper .testimonial.is-selected{
  opacity:1;
}

div.star-rating{
  display: flex;
  gap: .25rem;
  justify-content: center;
  color:goldenrod;
}

.testimonials-wrapper .testimonial p.bodytext {
  color: var(--third-color);
  font-size: 1.125rem;
  text-wrap: balance;
}

#testimonialModal {
  background:rgba(0, 40, 85, 0.27);
  color: var(--third-color);
}
#testimonialModal .modal-title { 
  color: var(--third-color);
}
#testimonialModal .modal-content {
  background:#fbf5ef;
  width: auto;
  height: auto;
  padding: 0;
}

#testimonialModal .modal-header {
  border-bottom: 1px solid #e3d9c1;
}

#testimonialModal .modal-footer {
  border-top: 1px solid #e3d9c1;
}