/****************************
ANDY BELL'S MODERN CSS RESET
*****************************/
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core root defaults */
html {
  height: 100%;
}

html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
*::before,
*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
:root {
  --moderate-violet: hsl(263, 55%, 52%);
  --dark-grayish-blue: hsl(217, 19%, 35%);
  --dark-blackish-blue: hsl(217, 30%, 14%);
  --white: hsl(0, 0%, 100%);
  --neutral-light-gray: hsl(0, 0%, 81%);
  --neutral-grayish-blue: hsl(210, 46%, 95%);
  --ff-barlow: "Barlow Semi Condensed", sans-serif;
}

body {
  font-size: 0.8125rem;
  font-family: var(--ff-barlow);
  font-weight: 500;
}

.main__card {
  padding: 1.625rem 2rem 2rem;
  border-radius: 0.4375rem;
  margin-bottom: 1.5rem;
}
.main__card .excerpt {
  font-size: 1.25rem;
  line-height: 1.5rem;
  font-weight: 600;
  margin: 1.125rem 0 1rem;
}
.main__card .desc {
  line-height: 1.125rem;
  opacity: 0.7;
}
.main__card h2 {
  font-size: 0.8125rem;
  line-height: 0.8125rem;
}
.main__card .grid-wrapper {
  display: grid;
  grid-template-columns: 2.3125rem 1.0625rem 1fr;
}

.main__card--daniel {
  background-color: var(--moderate-violet);
  background-image: url(../../images/bg-pattern-quotation.svg);
  background-repeat: no-repeat;
  background-position: top right 1.5rem;
}
.main__card--daniel .profile__pic {
  border: solid 0.125rem #A775F1;
}
.main__card--daniel .excerpt {
  margin-bottom: 2.5rem;
}

.main__card--jonathan {
  background-color: var(--dark-grayish-blue);
}

.main__card--jeanette {
  background-color: var(--white);
}

.main__card--patrick {
  background-color: var(--dark-blackish-blue);
}
.main__card--patrick .profile__pic {
  border: solid 0.125rem #A775F1;
}

.main__card--kira {
  background-color: var(--white);
}

.color-light {
  color: var(--white);
}

.verified {
  display: block;
  opacity: 0.5;
  font-size: 0.6875rem;
  line-height: 0.6875rem;
}

.color-dark {
  color: var(--dark-grayish-blue);
}

.profile__pic {
  grid-row: 1/3;
  border-radius: 50%;
}

.title-offset {
  grid-column: 3;
  align-self: center;
}

.verified-offset {
  grid-column: 3;
  align-self: center;
}

body {
  display: grid;
  place-content: center;
  margin: 4.4375rem 1.5rem;
  background-color: var(--neutral-grayish-blue);
}
@media (min-width: 1200px) {
  body {
    margin: 0;
  }
}

main {
  display: grid;
  place-content: center;
  grid-template-columns: repeat(auto-fit, minmax(20.4375rem, 0.75fr));
}
@media (min-width: 450px) {
  main {
    gap: 1.5rem;
  }
}
@media (min-width: 1200px) {
  main {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .main__card--daniel {
    grid-row: 1;
    grid-column: 1/span 2;
    width: 33.75rem;
    height: 17.625rem;
  }
  .main__card--daniel .excerpt {
    margin-bottom: 1rem;
  }

  .main__card--jonathan {
    grid-row: 1;
    grid-column: 3;
    width: 15.9375rem;
    height: 17.625rem;
  }

  .main__card--kira {
    grid-row: 1;
    grid-column: 4;
    width: 15.9375rem;
    height: 35.75rem;
  }

  .main__card--jeanette {
    grid-row: 1;
    grid-column: 1;
    width: 15.9375rem;
    height: 16.625rem;
    transform: translateY(19.125rem);
  }

  .main__card--patrick {
    grid-row: 1;
    grid-column: 2/span 2;
    width: 33.75rem;
    height: 16.625rem;
    transform: translateY(19.125rem);
  }
}

/*# sourceMappingURL=main.css.map */
