@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

*{
  margin: 0;
  padding: 0;
  font-family: 'Figtree',sans-serif;
  box-sizing: border-box;
}

body{
  background: hsl(47, 88%, 63%);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container{
  width: 350px;
  background: #fff; 
  border: 1px solid #000;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.8);
  transition: transform 0.3s ease-in-out;
}

.container:hover {
  transform: scale(1.02);
}

.first-sec img{
  width: 100%;
  height: auto; 
  border-radius: 10px; 
  object-fit: cover;
  display: block;
}

.second-sec h3{
  width: fit-content;
  background: hsl(47, 88%, 63%);
  padding: 5px 12px;
  border: none;
  border-radius: 3px;
  margin-top: 15px;
  margin-bottom: 13px;
  font-size: 14px;
  font-weight: bold;
}

.second-sec .date{
  font-size: 13px;
  margin-bottom: 15px;
}

.second-sec h2{
  color: hsl(47, 88%, 63%);
  margin-bottom: 16px;
  font-weight: 800;
}

.second-sec .description{
  color: hsl(0, 0%, 42%);
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 22px;
}

.third-sec{
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.third-sec img{
  width: 30px;
  object-fit: cover;
  margin-right: 10px;
}

.third-sec p{
  font-weight: 800;
  color: #000;
  font-size: 13px;
}

@media (min-width: 768px) {
  .container {
    max-width: 420px;
    padding: 25px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 500px;
  }
}