@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Outfit:wght@100..900&display=swap");

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

html {
  font-size: 1rem;
}

body {
  font-family: "Figtree", sans-serif;
  line-height: 1.5;
}

.container {
  min-width: 100vw;
  min-height: 100vh;
  background-color: #f4d04e;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  background-color: #fff;
  color: #111;
  padding: 24px 24px 0;
  border: 1px solid #111;
  border-radius: 20px;
  min-width: 327px;
  max-width: 384px;
  box-shadow: 10px 10px 0 #111;
}

.card img {
  width: 100%;
  border-radius: 10px;
}

.card .content {
  margin: 24px auto;
}

.card .category {
  background-color: #f4d04e;
  padding: 4px 12px;
  font-size: 0.875rem;
  font-weight: 800;
  border-radius: 4px;
}

.card .date {
  font-weight: 500;
  font-size: 1rem;
  margin: 12px 0;
}

.card h1 {
  font-size: 1.5rem;
  font-weight: 800;
  padding: 0;
  margin: 0 0 12px;
}

.card h1:hover,
.card h1:active,
.card h1:focus {
  color: #f4d04e;
  cursor: pointer;
}

.card .description {
  font-size: 1rem;
  font-weight: 500;
  color: #6b6b6b;
  margin: 0;
}

.card .author {
  margin: 0 0 24px;
  display: flex;
  gap: 12px;
}

.card .author img {
  width: 32px;
  height: 32px;
}

.card .author p {
  font-size: 0.875rem;
  font-weight: 800;
  align-self: center;
}
