:root {
  --yellow: hsl(47, 88%, 63%);
  --white: hsl(0, 0%, 100%);
  --gray-500: hsl(0, 0%, 42%);
  --gray-950: hsl(0, 0%, 7%);
  --font-size-paragraph: 16px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
}

body {
  box-sizing: border-box;
  font-size: 1.6rem;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--yellow);
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  line-height: 1.5;
}

h1 {
  position: absolute;
  top: -5rem;
}

.main {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  background-color: var(--white);
  padding: 2.4rem;
  width: clamp(32.7rem, 50vw, 38.4rem);
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  outline: 0.1rem solid var(--gray-950);
  box-shadow: 0.8rem 0.8rem;
}
.card__header {
  width: 100%;
  height: 20rem;
  position: relative;
}
.card__header__image {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  object-fit: cover;
}
.card__body {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  font-size: var(--font-size-paragraph);
}
.card__body__tag {
  padding: 0.4rem 1.2rem;
  border-radius: 0.4rem;
  background-color: var(--yellow);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  width: fit-content;
}
.card__body__published-at {
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
}
.card__body__title {
  font-weight: 800;
  color: var(--gray-950);
  font-size: clamp(2rem, 3.5vw, 2.4rem);
}
.card__body__title:hover {
  color: var(--yellow);
  cursor: pointer;
}
.card__body__description {
  color: var(--gray-500);
  font-size: clamp(1.4rem, 2.4vw, 1.6rem);
}
.card__footer {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.card__footer__author-avatar {
  --size: 3.2rem;
  height: var(--size);
  width: var(--size);
}
.card__footer__author-avatar__image {
  width: 100%;
  height: 100%;
}
.card__footer__author-name {
  font-weight: 800;
  font-size: 1.4rem;
}

.footer {
  padding: 2rem 0;
}
.footer__attribution {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 11px;
  text-align: center;
}
.footer__attribution a {
  color: hsl(228, 45%, 44%);
}
@media (max-width: 512px) {
  .footer__attribution {
    flex-direction: column;
    gap: 1rem;
  }
}

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