* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  /* Variables */
  /* Colors */
  --yellow: #f4d04e;
  --gray-950: #111111;
  --gray-500: #6b6b6b;
  --white: #fff;

  /* Spacing/Size */
  --s-300: 24px;
  --s-150: 12px;
  --s-100: 8px;
  --s-50: 4px;

  /* Typography */
  font-family: "Figtree", sans-serif;
  line-height: 150%;
  letter-spacing: 0;
  color: var(--gray-950);

  /* Type Preset Styles */
  /* Font Weight */
  --text-preset-1-4-weight: 800;
  --text-preset-2-3-weight: 500;
  /* Font Size */
  --text-preset-1-size: var(--s-300);
  --text-preset-2-size: 16px;
  --text-preset-3-4-size: 14px;
}

.text-preset-1 {
  font-weight: var(--text-preset-1-4-weight);
  font-size: var(--text-preset-1-size);
}
.text-preset-2 {
  font-weight: var(--text-preset-2-3-weight);
  font-size: var(--text-preset-2-size);
  color: var(--gray-500);
}
.text-preset-3 {
  font-weight: var(--text-preset-2-3-weight);
  font-size: var(--text-preset-3-4-size);
}
.text-preset-4 {
  font-weight: var(--text-preset-1-4-weight);
  font-size: var(--text-preset-3-4-size);
}

a {
  text-decoration: none;
  color: var(--gray-950);
  transition: 250ms;
}

a:hover {
  color: var(--yellow);
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: var(--yellow);
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--s-300);
  background-color: var(--white);
  padding: var(--s-300);
  border-radius: 20px;
  border: 1px solid var(--gray-950);
  max-width: 384px;
  height: max-content;
  filter: drop-shadow(8px 8px 0px var(--gray-950));
}

.category {
  background-color: var(--yellow);
  width: fit-content;
  padding: var(--s-50) var(--s-150);
  border-radius: var(--s-50);
}

.details {
  display: inherit;
  flex-direction: inherit;
  gap: var(--s-150);
}

.author {
  display: inherit;
  flex-direction: row;
  align-items: center;
  gap: var(--s-150);
}
