: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%);

	/* Spacing */
	--space-50: 0.25rem;
	--space-100: 0.5rem;
	--space-200: 1rem;
	--space-300: 1.5rem;
	--space-400: 2rem;
	--space-500: 2.5rem;

	/* radius */
	--radius: var(--space-100);
	/* Typography */
	--family-sans: 'Barlow Semi Condensed', sans-serif;
	--text-preset-1: 1.25rem;
	--text-preset-2: 0.8125rem;
	--text-preset-4: 0.6875rem;
	--line-height-1: 1.2;
	--line-height-2: 1.1;
	--line-height-3: 1.4;
	--letter-preset: 0px;

}
/* 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;
	/* 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;
}

/*
    9. Create a root stacking context
  */
#root,
#__next {
	isolation: isolate;
}

body {
    font-family:var(--family-sans); 
    font-weight: 500;
    font-style: normal;
    font-size: var(--text-preset-2);
    line-height: var(--line-height-2);
    letter-spacing: var(--letter-preset);
    color: var(--grey-500);
    background-color: #F6F5F6;  
  }
  .testimonial-grid{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "daniel" "jonathan"
     "jeanette" "patrick" "kira";
     gap: var(--space-400);
     min-height: 100dvh;
     place-content: center;
     padding: 2rem;

     
  }
  .card{
    padding: var(--space-400);
    border-radius: var(--radius);
  }
  .card__profile{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: var(--space-200);
  }
  .card__avatar{
    border-radius: 50%;
  }
  
  .card__profile-status{
    font-size: var(--text-preset-4);
    margin-top: 4px;
  }
  .card__quotes p:first-child{
    font-size: var(--text-preset-1);
    line-height: var(--line-height-1);
    font-weight: 600;
    padding-block: var(--space-200);

  }
  .card__quotes p:last-child{
    line-height: var(--line-height-3);
  }
  .card--daniel{
    background-color: var(--purple-500);
    grid-area: daniel;
  }
  .card--jonathan{
    background-color: var(--grey-500);
    grid-area: jonathan;
  }
  .card--jeanette{
    background-color: var(--white);
    grid-area: jeanette;
  }
  .card--patrick{
    background-color: var(--dark-blue);
    grid-area: patrick;
  }
  .card--kira{
    background-color: var(--white);
    grid-area: kira;
  }
  .white{
    color:var(--white);
  }
  .purple-50{
    color: var(--purple-50);
  }
  .grey-100{
    color: var(--grey-100);
  }
  .grey-200{
    color: var(--grey-200);
  }
  .grey-400{
    color:var(--grey-400);
  }
  .grey-500{
    color: var(--grey-500);
  }
  .stroke-daniel{
    border: var(--space-100) solid #A775F1;
  }
  .stroke-patrick{
    border: var(--space-100) solid  var(--purple-500);
  }
  @media(min-width:42em){
    .testimonial-grid{
     grid-template-columns: repeat(2, 1fr);
     grid-template-areas: "daniel daniel"
      "jonathan jeanette" "patrick patrick"
      "kira kira";
      /* max-width: calc(768px + 2rem); */
   
    }
    .quote{
      position: relative;
      z-index: 1;
    }
    .quote::before{
      content:url("images/bg-pattern-quotation.svg");
      position: absolute;
      display: block;
      bottom: 40px;
      right:180px;
      z-index: -2;
    }
    
  }
  @media(min-width:62.5em){
    body{
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100dvh;
    }
    .testimonial-grid{
        margin: 0;
        padding: 0;
        max-width: calc(1110px + 2rem);
        grid-template-columns: repeat(4, 1fr);
        grid-template-areas: "daniel daniel jonathan kira"
        "jeanette patrick patrick kira";
      }
      .quote::before{
        content:url("images/bg-pattern-quotation.svg");
        position: absolute;
        display: block;
        bottom: 60px;
        right:60px;
        z-index: -2;
      }
      /* .card--daniel{
        background-image: url(images/bg-pattern-quotation.svg);
        background-repeat: no-repeat;
        background-position: top  right 20%;
      } */
}
