
:root{
    /* Primary */

--Purple-50: hsl(260, 100%, 95%);
--Purple-300: hsl(264, 82%, 80%);
--Purple-500: hsl(263, 55%, 52%);

/* ### Neutral */

--White: hsl(0, 0%, 100%);
--Grey-100: hsl(214, 17%, 92%);
--Grey-200: hsl(0, 0%, 81%);
--Grey-400: hsl(224, 10%, 45%);
--Grey-500: hsl(217, 19%, 35%);
--Dark-blue: hsl(219, 29%, 14%);
--Black: hsl(0, 0%, 7%);

--ff-barlow: "Barlow Semi Condensed", serif;

--fw-500: 500;
--fw-600: 600;

}

/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
    box-sizing: border-box;
  }
  
  /* 2. Remove default margin */
  * {
    margin: 0;
  }
  
  body {
    /* 3. Add accessible line-height */
    line-height: 1.5;
    font-family: var(--ff-barlow);
    background-color: var(--Grey-100);
    font-size: 0.813rem;
    /* 4. Improve text rendering */
    -webkit-font-smoothing: antialiased;
  }
  
  /* 5. Improve media defaults */
  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
  }
  
  /* 6. Inherit fonts for form controls */
  input, button, textarea, select {
    font: inherit;
  }
  
  /* 7. Avoid text overflows */
  p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
  }
  
  /* 8. Improve line wrapping */
  p {
    text-wrap: pretty;
  }
  h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
  }

/* General design */

  main{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--Grey-100);
  }
  .testimonials{
    /* border: 2px solid red; */
    display: flex;
    flex-direction: column;
    max-width: 1200px; /* Adjust this value as needed */
    width: 100%;
    margin: 5rem auto; /* Centers the container */
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin:5rem 2rem;
    
    
  }
  
  .testimonial{
    /* border: 2px solid black; */
    
    max-width: 100%;
    background-color: var(--White);
    color: var(--Grey-500);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0.5rem 1rem 1rem rgba(0, 0, 0, 0.3);
  }

  .profile{
    display: flex;
    align-items: center;
    margin-bottom: 1.1rem;
    gap: 1rem;
  }

  picture img{
    width: 35px;
    border-radius: 50%;
    border: 2px solid var(--Grey-100);
    /* margin-right: 1rem; */
  }

  .name{
    font-size: 0.957rem;
    font-weight: var(--fw-500);
  }

  .desig{
    font-style: 0.5rem;
    /* font-weight: var(--fw-500); */
  }

  .testimo__text{
    font-size: 1.25rem;
    font-weight: var(--fw-600);
    line-height: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .testimo__quot{
    font-size: 0.879rem;
    font-weight: var(--fw-500);
  }
/* specific design for chaque cart */

.daniel{
  background-color: var(--Purple-500);
  color: var(--Purple-50);
}
.daniel__img{
  border: 2px solid var(--Purple-300);
}

.jonathan{
  background-color: var(--Grey-500);
  color: var(--Grey-100);
}

.jonathan__img{
  border: 2px solid var(--Grey-400);
}

.patrick{
  background-color: var(--Dark-blue);
  color: var(--Grey-200);
}

.patrick__img
{
  border: 2px solid var(--Purple-500);
}


@media screen and (min-width: 600px) {
  .testimonials{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    /* min-width: 600px; */
  }

  .testimonial{
    min-height: 100%;
  }
  .daniel{
    grid-area: 1 / 1 / 2 / 3;
  }
 .kira {
  grid-area: 1 / 4 / 3 / 5;
  }

  .jeanette{
    grid-area: 2 / 1 / 3 / 2;
  }
  .patrick{
    grid-area: 2 / 2 / 3 / 4;
  }
  .jonathan{
    grid-area: 1 / 3 / 2 / 4;
  }

}