* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

.blog-main-container {
  height: 100vh;
  width: 100vw;
  background-color: hsl(47, 88%, 63%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-preview-card {
  width: 20.4rem;
  height: 31.35rem;
  border-top: 2px solid black;
  border-left: 2px solid black;
  box-shadow: 9px 8.5px black;
  border-radius: 20px;
  padding: 24px;
  background-color: white;
}

.article-image {
  border-radius: 10px;
  width: 17.44rem;
  height: 12.5rem;
  object-fit: cover;
}

.content {
  padding-block: 24px;
}

.learning-btn {
  height: 1.64rem;
  width: 4.57rem;
  border-radius: 4px;
  border: none;
  outline: none;
  font-weight: bold;
  background-color: hsl(47, 88%, 63%);
}

.publish-date {
  font-size: 14px;
  margin-top: 1rem;
  color: hsl(0, 0%, 20%);
}

.title {
  font-size: 20px;
  margin-top: 1rem;
}

.title:active {
  color: hsl(47, 88%, 63%);
  cursor: pointer;
}

.message {
  color: hsl(0, 0%, 42%);
  margin-top: 1rem;
  text-align: left;
  font-size: 14px;
}

.avator-container {
  display: flex;
  align-items: center;
}

.avator {
  height: 2rem;
  width: 2rem;
  margin-right: 10px;
}

.avator-title {
  font-weight: bolder;
  font-size: 17px;
}

@media (min-width: 375px) {
  .blog-preview-card {
    width: 24rem;
    height: 32.65rem;
  }

  .article-image {
    width: 21rem;
    height: 12.5rem;
  }

  .learning-btn {
    height: 1.85rem;
    width: 5.2rem;
  }

  .publish-date {
    font-size: 15px;
  }

  .title {
    font-size: 23px;
  }

  .message {
    font-size: 16px;
  }
}
