@font-face {
  font-family: "Figtree normal";
  src: url("../../assets/fonts/Figtree-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}
@font-face {
  font-family: "Figtree italic";
  src: url("../../assets/fonts/Figtree-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}
.card {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 8px 8px 0 0 #000000;
  margin-top: auto;
  max-width: 327px;
  padding: 24px;
  width: 100%;
}
.card__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.card__image {
  border-radius: 10px;
  margin-bottom: 24px;
  width: 100%;
}
.card__category {
  background-color: #f4d04e;
  border-radius: 4px;
  padding: 4px 12px;
  width: min-content;
}
.card__category p {
  font-weight: 900;
  font-size: 12px;
  color: #111111;
}
.card__date {
  font-weight: 500;
  font-size: 12px;
  color: #111111;
}
.card__title {
  font-weight: 900;
  font-size: 20px;
  color: #111111;
}
.card__title:hover {
  color: #f4d04e;
  cursor: pointer;
}
.card__text {
  font-weight: 500;
  font-size: 14px;
  color: #6b6b6b;
}
.card__footer {
  align-items: center;
  display: flex;
  gap: 12px;
}
.card__author-avatar {
  height: 32px;
  width: 32px;
}
.card__author-name {
  font-weight: 900;
  font-size: 14px;
  color: #111111;
}

@media (min-width: 640px) {
  .card {
    max-width: 384px;
  }
  .card__category p, .card__date p {
    font-size: 14px;
  }
  .card__title {
    font-size: 24px;
  }
  .card__text {
    font-size: 16px;
  }
}
.attribution {
  margin-top: auto;
  margin-bottom: 12px;
}

body {
  background-color: #f4d04e;
  font-family: "Figtree normal", sans-serif;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

body {
  /* 3. Add accessible line-height */
  line-height: 1.5;
  /* 4. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
  9. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}

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