:root {
    --clr-primary: #F4D04E;
    --clr-neutral-500: #6B6B6B;
    --clr-neutral-950: #111111;
    --clr-neutral-000: #FFFFFF;

    --fs-50: 0.75rem;
    --fs-100: 0.875rem;
    --fs-200: 1rem;
    --fs-300: 1.25rem;
    --fs-400: 1.5rem;
    
    --fw-normal: 500;
    --fw-bold: 800;
    
    --spacing-100: 0.25rem;
    --spacing-200: 0.5rem;
    --spacing-300: 0.75rem;
    --spacing-400: 1.5rem; 

    --card-width: 20.438rem;
    --card-height: 31.313rem;

    --fs-card-title: var(--fs-300);
    --fs-card-paragraph: var(--fs-100);
}

@media (min-width: 375px) {
  :root {
    --card-width: 24rem;
    --card-height: 32.625rem;
    --fs-card-title: var(--fs-400);
    --fs-card-paragraph: var(--fs-200);
  }
}

/* RESET STYLES */

/* 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: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,
picture {
  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;
  }
}

/* UTILITIES */

.text-center {
    text-align: center;
}

.fs-50 {
  font-size: var(--fs-50);
}
.fs-100 {
  font-size: var(--fs-100);
}
.fs-100 {
  font-size: var(--fs-100);
}
.fs-200 {
  font-size: var(--fs-200);
}
.fs-300 {
  font-size: var(--fs-300);
}
.fs-400 {
  font-size: var(--fs-400);
}

@media (min-width: 375px) {
  .fs-md-50 {
    font-size: var(--fs-100);
  }
}


/* GENERAL STYLING */

body {
    font-family: "Figtree", sans-serif;
    background-color: var(--clr-primary);
}

.card-wrapper {
    height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.card {
    width: var(--card-width);
    height: var(--card-height);
    background-color: var(--clr-neutral-000);
    border-radius: 20px;
    padding: var(--spacing-400) ;
    border: 1px solid var(--clr-neutral-950);
    box-shadow: var(--spacing-200) var(--spacing-200) 0 black;
}

.card__image-container {
    margin-bottom: var(--spacing-400) ;
}

.card__image-container img {
    border-radius: 10px;
    height: 200px;
    object-fit: cover;
}

.card__content  > *:nth-child(n+2){
    margin-top: var(--spacing-300);
}

.card__title {
    font-size: var(--fs-card-title);
    line-height: 150%;
}

.card__title:hover {
  color: var(--clr-primary);
  cursor: pointer;
}

.card__paragraph {
    font-size: var(--fs-card-paragraph);
    line-height: 150%;
    color: var(--clr-neutral-500);
    margin-bottom: var(--spacing-400) ;
}

.avatar {
  width: 32px;
  height: 32px;
}

.avatar-title {
  margin: 0px;
  font-weight: var(--fw-bold);
}


.flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--spacing-300);
}

.button {
  background-color: var(--clr-primary);
  font-weight: var(--fw-bold);
  padding-inline: var(--spacing-300);
  padding-block: var(--spacing-100);
  border: 0;
  border-radius: var(--spacing-100);
}