@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


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

body {
  font-family: "Barlow Semi Condensed";
  height: 100vh;
  font-weight: 500;
  font-size: 13px;
  background-color: hsl(214, 17%, 92%);
}

.testimonial-container {
  display: grid;
  grid-template-columns: 1fr;
  background-color: hsl(214, 17%, 92%);
  margin: 30px 30px;
  gap: 30px;
}

.box-profile {
  display: flex;
  align-items: center;
  margin: 20px 0;
  gap: 20px;
}

.profile-img {
  width: 40px;
  height: 100%;
  border-radius: 50%;
  border: 1px solid hsl(0, 0%, 100%) ;
}

.box-profile--name {
  color: hsl(214, 17%, 92%);
  line-height: 1.5;
}

.profile-name {
  font-size: 16px;
  font-weight: 500;
}
.profile-degree {
  font-size: 14px;
  font-weight: 500;
}


.textimonial-box {
  padding: 20px 30px;
  border-radius: 10px;
}


#box-1 {
  background-color:hsl(263, 55%, 52%);
}

.box-header {
  color: hsl(0, 0%, 100%);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-right: 10px;
}

.box-text {
  font-size: 13.2px;
  line-height: 1.3;
  margin-bottom: 15px;
  padding-right: 10px;
  color: hsl(0, 0%, 81%);
  font-weight: 600;
}

#box-2 {
  background-color: hsl(217, 19%, 35%);
}

#box-3 {
  background-color: hsl(0, 0%, 100%);
}

#box-3 .box-profile--name {
  color: hsl(224, 10%, 45%);
}

#box-3 .box-header {
  color: hsl(224, 10%, 45%);
}

#box-3 .box-text {
  color: hsl(224, 10%, 45%);
}

#box-4 {
  background-color:hsl(219, 29%, 14%);
}

#box-4 .box-header {
  padding-right: 20px;
}

#box-5 {
  background-color: hsl(0, 0%, 100%);
  margin-bottom:30px ;
}

#box-5 .box-profile--name {
  color: hsl(224, 10%, 45%);
}

#box-5 .box-header {
  color: hsl(224, 10%, 45%);
}

#box-5 .box-text {
  color: hsl(224, 10%, 45%);
}


@media (min-width: 576px) {
  .testimonial-container {
    max-width: 1150px;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
  }

  #box-5 {
    grid-column: 1 / 4;
    grid-row: 3 / 4;
  }

  #box-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  #box-4 {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
  }



.box-header {
  font-size: 19px;
}

.box-text {
  font-weight: 600;
  font-size: 13px;
  line-height: 1.5;
}


}

@media (min-width: 900px) {

  body{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
  .testimonial-container {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows:auto;
    margin: auto;
  }

  #box-5 {
    grid-column: 4 / 5;
    grid-row: 1 / 3;
    height: 100%;
  }

  #box-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

}