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

body{
  font-family: Figtree, sans-serif;
  overflow: hidden;
}

.container{
  background: #F4D04E;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #111;
}

.card{
  display: flex;
  width: 384px;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex-shrink: 0;
  border-radius: 20px;
  border: 1px solid #111;
  background: #FFF;
  box-shadow: 8px 8px 0 0 #000;
}

.card img{
  border-radius: 10px;
}

.content{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
}

.learning-tag{
  display: flex;
  padding: 4px 12px;
  justify-content: center;
  align-items: center;
  color: #111;
  font-style: normal;
  font-weight: 800;
  line-height: 150%; /* 21px */
  border-radius: 4px;
  background: #F4D04E;
}

.content h2{
  color: #111;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 21px */
}

.content h1{
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  line-height: 150%; /* 36px */
  align-self: stretch;
}

.content p{
  color: #6B6B6B;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 24px */
  align-self: stretch;
}

.author{
  display: flex;
  align-items: center;
  gap: 12px;
}

.author img{
  width: 32px;
  height: 32px;
}

.author h2{
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  line-height: 150%; /* 21px */
}



@media (max-width: 375px){
  .card{
    width: 327px;
  }

  .card>img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
  }

  .learning-tag{
    font-size: 12px;
  }

  .content h2{
    font-size: 12px;
  }

  .content h1{
    font-size: 20px;
  }

  .content p{
    font-size: 14px;
  }
}

