@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@500;800&display=swap');

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

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  background-color: hsl(47, 88%, 63%);
  font-family: "Figtree", sans-serif;
  justify-content: center;
  align-items: center;
}

p {
  font-size: 16px;
}

.card {
  background-color: hsl(0, 0%, 100%);
  border-radius: 10px;
  width: 320px;
  padding: 15px;
  border: 2px solid black;
  box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
}

.image-container {
  width: 100%;
  margin-bottom: 20px;
}

.published {
  font-size: 0.8rem;
  margin-top: 15px;
  margin-bottom: 15px;
  color: hsl(0, 0%, 42%);
  font-weight: 800;
}

.html-title {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: hsl(0, 0%, 7%);
  font-weight: 800;
}

.description {
  font-weight: 500;
  color: hsl(0, 0%, 42%);
  margin-bottom: 15px;
}

.image-container img {
  width: 100%;
  border-radius: 10px;
}

.learning-span {
  background-color: hsl(47, 88%, 63%);
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 5px;
  margin-top: 10px;
}

.person-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.person-icon {
  width: 30px;
  height: 30px;
}

.user-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: hsl(0, 0%, 7%);
}

@media(min-width:768px) {
  .card {
    width: 320px;
  }
}

@media(min-width:1024px) {
  .card {
    width: 320px;
  }
}