@font-face {
  font-family: "Figtree";
  src: url("./assets/fonts/Figtree-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("./assets/fonts/Figtree-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h2,
p,
ul {
  margin: 0;
}

body {
  min-height: 100vh;
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
  padding: 0;
}

time {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.card-page-body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #f4d04e;
  padding: 24px;
}

.card {
  background-color: #ffffff;
  border: #111111 solid 1px;
  border-radius: 20px;
  max-width: 384px;
  padding: 24px;
  box-shadow: 8px 8px #111111;
}
.card > * + * {
  margin-top: 24px;
}
.card > img {
  border-radius: 10px;
}

.content > * + * {
  margin-top: 12px;
}

.category {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tag {
  font-family: "Figtree", sans-serif;
  line-height: 150%;
  letter-spacing: 0px;
  font-weight: 800;
  font-size: 14px;
  background-color: #f4d04e;
  border-radius: 4px;
  padding: 4px 12px;
  width: fit-content;
}

.publish-date {
  font-family: "Figtree", sans-serif;
  line-height: 150%;
  letter-spacing: 0px;
  font-weight: 500;
  font-size: 14px;
}

.card-title {
  font-family: "Figtree", sans-serif;
  line-height: 150%;
  letter-spacing: 0px;
  font-weight: 800;
  font-size: 24px;
}
.card-title *:hover, .card-title *:active, .card-title *:focus-visible {
  color: #f4d04e;
}

.card-description {
  font-family: "Figtree", sans-serif;
  line-height: 150%;
  letter-spacing: 0px;
  font-weight: 500;
  font-size: 16px;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author img {
  width: 32px;
}
.author .author-name {
  font-family: "Figtree", sans-serif;
  line-height: 150%;
  letter-spacing: 0px;
  font-weight: 800;
  font-size: 14px;
}

.attribution {
  font-family: "Figtree", sans-serif;
  line-height: 150%;
  letter-spacing: 0px;
  font-weight: 500;
  font-size: 14px;
  position: absolute;
  transform: translate(-50%, 24px);
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
  text-decoration: underline;
}

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