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

:root {
  --yellow: hsl(47, 88%, 63%);
  --white: hsl(0, 0%, 100%);

  --gray-500: hsl(0, 0%, 42%);
  --gray-950: hsl(0, 0%, 7%);
}
@font-face {
  font-family: "Figtree";
  src: url(assets/fonts/Figtree-VariableFont_wght.ttf);
}

body {
  min-height: 100vh;
  font-family: "Figtree", sans-serif;
  background: var(--yellow);
  color: var(--gray-950);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: first baseline;
  justify-content: center;
  text-align: left;
  background: var(--white);
  width: clamp(300px, 90vw, 400px);
  padding: 25px;
  border-radius: 20px;
  border: 1px solid var(--gray-950);
  box-shadow: 8px 8px 0px var(--gray-950);
  margin-bottom: 20px;
}

.article-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 25px;
}

.tags {
  font-weight: 800;
  background: var(--yellow);
  padding: 5px 10px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.date {
  margin-bottom: 15px;
  font-weight: 500;
}

.title {
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-950);
  text-decoration: none;
  margin-bottom: 15px;
}
.title:hover {
  color: var(--yellow);
  cursor: pointer;
}
.description {
  line-height: 1.5;
  color: var(--gray-500);
  font-weight: 500;
  margin-bottom: 20px;
}

.author {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-self: flex-start;
  gap: 10px;
}

.author img {
  width: 30px;
  display: inline-block;
}

.author p {
  font-weight: 800;
}
