@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: hsl(47, 88%, 63%);
  font-family: "Figtree", serif;
  height: 100vh;
}

.card_container {
  margin: 100px auto;
  background-color: white;
  width: 350px;
  padding: 20px;
  border: 1px solid black;
  border-radius: 10px;
  box-shadow: 5px 5px;
}

.image img {
  width: 100%;
  border-radius: 10px;
}

p.learning {
  font-size: 14px;
  font-weight: 600;
  background-color: hsl(47, 88%, 63%);
  width: 80px;
  padding: 3px 10px;
  margin: 15px 0;
  border-radius: 4px;
}

p.date {
  font-weight: 500;
  padding: 5px 0;
}

body {
  font-size: 14px;
  line-height: 23px;
}

h2 {
  font-size: 21px;
  padding: 8px 0;
}

h2:hover {
  color: hsl(47, 88%, 63%);
  cursor: pointer;
}

p.description {
  color: hsl(0, 0%, 42%);
  font-weight: 500;
  padding: 5px 0;
}

a.profile_img {
  display: flex;
  align-items: center;
  padding: 15px 0 5px;
}

img {
  width: 40px;
}

span {
  color: hsl(0, 0%, 7%);
  font-size: 14px;
  font-weight: 700;
  padding: 10px;
  text-decoration: none;
}

a:hover {
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 375px) {
  .card_container {
    width: 340px;
  }
}
