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

html,
body {
  height: 100%;
  font-family: sans-serif;
  background-color: hsl(0, 0%, 100%);
}

a {
  text-decoration: none;
  color: inherit;
}

/* ...existing code... */
.attribution a {
  color: hsl(228, 45%, 44%);
  text-decoration: underline; /* Add underline for accessibility */
}
/* ...existing code... */
ul,
ol {
  list-style: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  border: none;
  background-color: none;
  outline: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
:root {
  /* Colors */
  --color-bg-main: hsl(260, 100%, 95%);
  --color-primary: hsl(263, 55%, 52%);
  --color-primary-light: hsl(264, 82%, 80%);
  --color-secondary: hsl(217, 19%, 35%);
  --color-dark: hsl(0, 0%, 7%);
  --color-light: hsl(214, 17%, 92%);
  --color-white: hsl(0, 0%, 100%);

  /* Font sizes */
  --font-base: 1rem;
  --font-heading: 1.2rem;
  --font-heading-lg: 1.3rem;
  --font-heading-sm: 1rem;
  --font-text: 0.9rem;
  --font-text-sm: 0.76rem;
  --font-name: 0.9rem;
  --font-title: 0.8rem;
  /* Spacing */
  --space-xs: 0.3rem;
  --space-sm: 1rem;
  --space-md: 1.6rem;
  --space-lg: 25px;
  --space-gap: 16px;

  /* Border radius */
  --radius: 8px;

  /* Box shadow */
  --shadow: 6px 8px 26px rgba(59, 59, 59, 0.5);
}

main.testimonial-grid {
  max-width: 1110px;
  height: auto;
  /* min-height: 90vh; */
  margin: 1rem auto;
  /* border: 2px solid red; */
  /* padding: px; */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* grid-template-columns: repeat(4, 1fr); */
  /* grid-template-rows: repeat(4, 1fr); */
  gap: 25px;
}

.testimonial-daniel,
.testimonial-jonathan,
.testimonial-jeanette,
.testimonial-patrick,
.testimonial-kira {
  border-radius: 8px;
  box-shadow: 6px 8px 26px rgba(59, 59, 59, 0.5);
  /* box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.12); */
  overflow: hidden;
}

.testimonial-daniel {
  background-image: url(./images/bg-pattern-quotation.svg);
  background-repeat: no-repeat;
  background-position: top right 52px;
  background-color: hsl(263, 55%, 52%);
  color: hsl(214, 17%, 92%);
  /* border: 2px solid green; */
  grid-column: 1 / 3;
  grid-row: 1;
  /* height: 100%; */
}

.testimonial-jonathan {
  background-color: hsl(217, 19%, 35%);
  color: hsl(214, 17%, 92%);
  grid-row: 1;
  grid-column: 3;
  /* height: 100%; */
}
.testimonial-kira {
  background-color: hsl(0, 0%, 100%);
  color: hsl(217, 19%, 35%);
  grid-column: 4;
  grid-row: 1/3;
  /* height: 100%; */
}

.testimonial-jeanette {
  background-color: hsl(0, 0%, 100%);
  color: hsl(217, 19%, 35%);
  grid-column: 1;
  grid-row: 2/3;
  /* height: 100%; */
}

.testimonial-patrick {
  background-color: hsl(0, 0%, 7%);
  color: hsl(214, 17%, 92%);
  grid-row: 2/3;
  grid-column: 2/4;
}

.testimonial {
  height: 100%;
  padding: 0.3rem 1.6rem;
}

p.testimonial__heading {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

p.testimonial__text {
  /* border: 2px solid green; */
  font-size: 0.76rem;
  line-height: 1.5;
  margin: 1rem 0;
}

.testimonial-figure {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 1rem 0;
}

header p {
  /* border: 2px solid saddlebrown; */
  align-self: center;
  /* justify-content: flex-end; */
}

.testimonial__image {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  object-fit: cover;
}

#image-cover {
  border: 3px solid hsl(263, 55%, 52%);
}
#image-cover-danial {
  border: 3px solid hsl(264, 82%, 80%);
}
.name-title h1 {
  font-size: 1rem;
}

.name-title p {
  font-size: 0.8rem;
}
.name-title {
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 1115px) {
  main.testimonial-grid {
    margin: 1rem;
  }
}
@media screen and (max-width: 1024px) {
  main.testimonial-grid {
    margin: 1rem;
    grid-template-columns: repeat(3px, 1fr);
    gap: 16px;
  }
  .testimonial-kira {
    grid-column: 1/4;
    grid-row: 3/4;
  }
  p.testimonial__heading {
    margin-top: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
  }

  p.testimonial__text {
    /* border: 2px solid green; */
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 1rem 0;
  }
}

@media (max-width: 900px) {
  main.testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-daniel {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .testimonial-jonathan {
    grid-column: 1;
    grid-row: auto;
  }
  .testimonial-kira {
    grid-column: 1 / 3;
    grid-row: 4;
  }
  .testimonial-jeanette {
    grid-column: 2/3;
    grid-row: 2;
  }
  .testimonial-patrick {
    grid-column: 1 / 3;
    grid-row: 3;
  }
}

@media (max-width: 600px) {
  main.testimonial-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .testimonial-daniel,
  .testimonial-jonathan,
  .testimonial-jeanette,
  .testimonial-patrick,
  .testimonial-kira {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .testimonial {
    padding: 1rem;
  }
  p.testimonial__heading {
    font-size: 1rem;
  }
  p.testimonial__text {
    font-size: 0.9rem;
  }
  header img {
    width: 40px;
    height: 40px;
  }
}
/* .parent {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 8px;
}
    
.div1 {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3;
}

.div2 {
    grid-row: span 3 / span 3;
    grid-column-start: 3;
}

.div3 {
    grid-row: span 3 / span 3;
    grid-column-start: 1;
    grid-row-start: 4;
}

.div4 {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3;
    grid-column-start: 2;
    grid-row-start: 4;
}

.div5 {
    grid-row: span 6 / span 6;
    grid-column-start: 4;
    grid-row-start: 1;
}
         */
