* {
  padding: 0;
  margin: 0;
}

body {
  background-color: var(--yellow);
  color: var(--gray-950);
  font-family: "Figtree";
  height: 100vh;
  line-height: 150%;
}

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

@font-face {
  font-family: "Figtree";
  src: url(../../assets/fonts/static/Figtree-ExtraBold.ttf);
  font-size: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url(../../assets/fonts/static/Figtree-Medium.ttf);
  font-size: 500;
  font-style: normal;
  font-display: swap;
}
:root {
  --white: #fff;
  --gray-950: #111;
  --gray-500: #6b6b6b;
  --yellow: #f4d04e;
  --duration: 0.2s;
}

.card {
  width: 384px;
  height: 522px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--white);
  border: 1px solid rgb(17, 17, 17);
  border-radius: 20px;
  box-shadow: 8px 8px 0px 0px rgb(0, 0, 0);
}
@media (width <= 767.98px) {
  .card {
    width: 324px;
    height: 500px;
  }
}
.card__image {
  max-width: 336px;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.card__body {
  margin-top: 24px;
}
.card__body-category {
  display: inline;
  background: rgb(244, 207, 77);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
}
@media (width <= 767.98px) {
  .card__body-category {
    font-size: 12px;
  }
}
.card__body-publishDate {
  margin: 12px 0px;
  font-size: 14px;
  font-weight: 500;
}
@media (width <= 767.98px) {
  .card__body-publishDate {
    font-size: 12px;
  }
}
.card__body-title {
  font-size: 24px;
  font-weight: 800;
  transition-duration: var(--duration);
}
@media (width <= 767.98px) {
  .card__body-title {
    font-size: 20px;
  }
}
.card__body-title:hover {
  color: var(--yellow);
}
.card__body-description {
  color: var(--gray-500);
  margin: 12px 0px 24px;
  font-size: 16px;
  font-weight: 500;
}
@media (width <= 767.98px) {
  .card__body-description {
    font-size: 14px;
  }
}
.card__author {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 12px;
}
.card__author-logo {
  width: 32px;
}
.card__author-name {
  font-size: 14px;
  font-weight: 800;
}

.content-padding {
  padding: 24px;
}

.attribution {
  max-width: 300px;
  margin: 0 auto;
  margin-top: 50px;
  background-color: var(--white);
  border: 1px solid rgb(17, 17, 17);
  border-radius: 20px;
  box-shadow: 8px 8px 0px 0px rgb(0, 0, 0);
}
.attribution__text {
  font-size: 16px;
  text-align: left;
  color: hsl(228, 45%, 44%);
}

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