html {
  font-size: 62.5%;
  margin: 0;
}

body {
  font-family: "Figtree", serif;
  letter-spacing: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: hsl(47, 88%, 63%);
}

/* Typography */
h1 {
  font-size: 2.4rem;
  font-weight: 800;
  white-space: nowrap;
  color: hsl(0, 0%, 7%);
  text-decoration: none;
  margin: 0;
}

h1:hover {
  color: hsl(47, 88%, 63%);
  cursor: pointer;
  transition: color 0.3s ease;
}

/* Regular variant */
p {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 150%;
  color: hsl(0, 0%, 42%);
  margin: 0;
}

/* Regualr bold variant */
.articleType p,
.authorSection p {
  font-weight: 800;
  color: hsl(0, 0%, 7%);
}

.publishDate {
  color: hsl(0, 0%, 7%);
}

/* BlogPreviewCard */
.BlogPreviewCard {
  display: flex;
  flex-direction: column;
  padding: 2.4rem;
  width: 327px;
  max-width: 384px;
  box-sizing: border-box;
  border-radius: 1rem;
  border: 1px solid rgb(17, 17, 17);
  box-shadow: 0.8rem 0.8rem rgba(17, 17, 17, 1);
  background-color: hsl(0, 0%, 100%);
}

.articleImage {
  border-radius: 1rem;
  margin-bottom: 2.4rem;
}

.articleType {
  display: inline-block;
  align-self: flex-start;
  padding: 0.4rem 1.2rem 0.4rem 1.2rem;
  border-radius: 0.4rem;
  background-color: hsl(47, 88%, 63%);
  margin-bottom: 1.2rem;
}

.publishDate {
  margin-bottom: 2.4rem;
}

.articlePreview {
  margin: 2.4rem 0 2.4rem 0;
}

.authorSection {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.authorImage {
  width: 3.2rem;
  height: 3.2rem;
}

.authorSection p {
  margin-left: 1.2rem;
}
