/* barlow-semi-condensed-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 500;
  src: url("./fonts/barlow-semi-condensed-v15-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* barlow-semi-condensed-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 600;
  src: url("./fonts/barlow-semi-condensed-v15-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  /*Primary*/
  --purple50: hsl(260, 100%, 95%);
  --purple300: hsl(264, 82%, 80%);
  --purple500: hsl(263, 55%, 52%);

  /*Neutral*/
  --white: hsl(0, 0%, 100%);
  --grey100: hsl(214, 17%, 92%);
  --grey200: hsl(0, 0%, 81%);
  --grey400: hsl(224, 10%, 45%);
  --grey500: hsl(217, 19%, 35%);
  --darkblue: hsl(219, 29%, 14%);
  --black: hsl(0, 0%, 7%);
  --color-shadow: rgba(25, 33, 46, 0.1);

  --font-family: "Barlow Semi Condensed", Arial, Helvetica, sans-serif;
  --font-weight-500: 500;
  --font-weight-600: 600;
  --font-size-13px: 0.8125rem; /* 13px */
  --size-10px: 0.625rem; /* 10px */
  --size-15px: 0.9375rem; /* 15px */
  --size-32px: 2rem; /* 32px */
  --size-36px: 2.25rem; /* 36px */
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-weight: var(--font-weight-500);
  font-size: var(--font-size-13px);

  @media (min-width: 75rem) {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
  }
}

h1,
h2,
p {
  margin: 0;
}

.container {
  width: 100vw;
  margin: 4.5rem 0;
  background-color: var(--white);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--size-36px);
  padding: 0 var(--size-36px);

  @media (min-width: 48rem) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media (min-width: 75rem) {
    margin: 0;
    padding: 0;
    max-width: clamp(75rem, 80%, 84.375rem);
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  width: 100%;
  padding: var(--size-32px);
  border-radius: var(--size-10px);
  box-shadow: 0 var(--size-10px) var(--size-15px) rgba(0, 0, 0, 0.05),
    0 25px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 0;
}

.image-question {
  display: none;

  @media (min-width: 75rem) {
    object-fit: cover;
    display: block;
    width: 7.75rem;
    height: 7.75rem;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    right: 4rem;
    z-index: -1;
  }
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-header__image {
  width: var(--size-36px);
  border-radius: 50%;
  object-fit: cover;
}

.card-header__name {
  font-weight: var(--font-weight-500);
  font-size: var(--font-size-13px);
  line-height: 150%;
  font-size: 0.875rem;
}

.card-header__role {
  display: block;
  font-size: 0.7rem;
  line-height: 150%;
}

.card-content__text1 {
  font-weight: var(--font-weight-600);
  font-size: 1.2rem;
  line-height: 150%;
  margin-bottom: 1.5rem;
}

.daniel-avatar {
  border: 2px solid var(--purple300);
}

.grey100-rol {
  color: var(--grey100);
}

.grey200-rol {
  color: var(--grey200);
}
.grey400-rol {
  color: var(--grey400);
}
.grey500-rol {
  color: var(--grey500);
}

.daniel {
  color: var(--white);
  background-color: var(--purple500);

  @media (min-width: 75rem) {
    grid-column: 1 / 3;
  }
}

.jonathan {
  color: var(--white);
  background-color: var(--grey500);
}

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

  @media (min-width: 75rem) {
    grid-column: 1 / 2;
  }
}

.patrick {
  color: var(--white);
  background-color: var(--darkblue);

  @media (min-width: 75rem) {
    grid-column: 2 / 4;
  }
}

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

  @media (min-width: 75rem) {
    grid-column: 4 / 5;
    grid-row: 1 / 3;
  }
}
