/* Font and Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Barlow Semi Condensed', sans-serif;
  background-color: hsl(210, 46%, 95%);
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1110px;
  width: 100%;
  grid-template-areas:
    "daniel daniel jonathan kira"
    "jeanette patrick patrick kira";
  grid-template-columns: repeat(4, 1fr);
   align-items: stretch;
}



.card {
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: white;
  height: 100%;
}



.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.card h2 {
  font-size: 1rem;
  font-weight: 600;
}

.verified {
  font-size: 0.75rem;
  opacity: 0.6;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.quote {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.9;
}

.card--purple {
  background-color: hsl(263, 55%, 52%);
  background-image: url("./images/bg-pattern-quotation.svg");
  background-repeat: no-repeat;
  background-position: top right 80px;
  grid-area: daniel;
}

.card--gray {
  background-color: hsl(217, 19%, 35%);
  grid-area: jonathan;
}

.card--white {
  background-color: white;
  color: hsl(217, 19%, 35%);
  }

.card--tall{
    grid-area: kira;
    height: 100%;
}

.card--white .verified,
.card--white .quote {
  color: hsl(217, 19%, 35%);
  opacity: 0.8;
}

.card--white h2 {
  color: hsl(217, 19%, 35%);
}

.card--white h3 {
  color: hsl(217, 19%, 35%);
}

.card--dark {
  background-color: hsl(219, 29%, 14%);
  grid-area: patrick;
}

.card--jeanette {
  grid-area: jeanette;
}

.card--kira {
  grid-area: kira;
  height: 100%;
  
  
}

.attribution {
  text-align: center;
  font-size: 0.8rem;
  margin-top: 50rem;
}

.attribution a {
  color: hsl(228, 74%, 42%);
  font-size: 1rem;
  text-decoration: none;
}

/* Responsive fallback */
@media (max-width: 768px) {
  .grid {
    grid-template-areas: none;
    grid-template-columns: 1fr;
  }
}