:root {
  --yellow: hsl(47, 88%, 63%);
  --gray-950: hsl(0, 0%, 7%);
  --gray-500: hsl(0, 0%, 42%);
  --white: hsl(0, 0%, 100%);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Figtree", sans-serif;
  background-color: var(--yellow);
  display: flex;
  flex-direction: column;
  height: 100vh;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.container {
  filter: drop-shadow(12px 14px);
}

.card {
  max-width: 384px;
  min-height: 522px;
  background-color: var(--white);
  border-radius: 20px;
  padding: 24px 24px;
}

.card_content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.date {
  font-size: 14px;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 0px;
  color: var(--gray-950);
}

.heading {
  font-size: 24px;
  font-weight: 800;
  line-height: 150%;
  letter-spacing: 0px;
  color: var(--gray-950);
}

.heading:hover {
  color: var(--yellow);
  cursor: pointer;
}

.details {
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 0px;
  color: var(--gray-500);
}

.user_details p {
  font-size: 14px;
  font-weight: 800;
  line-height: 150%;
  letter-spacing: 0px;
  color: var(--gray-950);
}

.tag {
  background-color: var(--yellow);
  border-radius: 4px;
  width: 82px;
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.tag p {
  font-size: 14px;
  font-weight: 800;
  line-height: 150%;
  letter-spacing: 0px;
  color: var(--gray-950);
}

.user_details {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user_img {
  width: 32px;
  height: 32px;
}

@media (max-width: 700px) {
  .card {
    max-width: 327px;
    min-height: 501px;
    background-color: var(--white);
    border-radius: 20px;
    padding: 24px 24px;
  }

  .card_img {
    width: 279px;
    /* height: 200px; */
  }

  .details {
    font-size: 14px;
  }

  .heading {
    font-size: 20px;
  }

  .date {
    font-size: 12px;
  }

  .tag p {
    font-size: 12px;
  }
}
