@font-face {
  font-family: 'Figtree';
  src: url('./assets/fonts/Figtree-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Figtree';
  src: url('./assets/fonts/Figtree-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Figtree';
  src: url('./assets/fonts/static/Figtree-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Figtree';
  src: url('./assets/fonts/srtatic/Figtree-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Figtree', Arial, sans-serif;
  line-height: 1.6;
  background-color:hsl(47, 88%, 63%) ;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.card{
  background-color: hsl(0, 0%, 100%);
  width: 384px;
  height: 533px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0);
  box-shadow: 10px 10px 0px rgba(0, 0, 0);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card__img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.card__content{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card__category{
  background-color: hsl(47, 88%, 63%);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0px;
  font-family: 'Figtree', Arial, sans-serif;
  font-weight: 800;
  width: 82px;
}

.card__date{
  color: hsl(0, 0%, 7%);
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0px;
  font-family: 'Figtree', Arial, sans-serif;
  font-weight: 500;
}

.card__title{
  color: hsl(0, 0%, 7%);
  font-size: 24px;
  line-height: 150%;
  letter-spacing: 0px;
  font-family: 'Figtree', Arial, sans-serif;
  font-weight: 800;
}

.card__title:hover{
  color: hsl(47, 88%, 63%);
}

.card__description{
  color: hsl(0, 0%, 42%);
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0px;
  font-family: 'Figtree', Arial, sans-serif;
  font-weight: 500;
}

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

.card__author img{
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.card__author-name{
  color: hsl(0, 0%, 7%);
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0px;
  font-family: 'Figtree', Arial, sans-serif;
  font-weight: 800;
}

@media screen and (max-width: 375px){
  .card{
    width: 327px;
    height: 501px;
  }
  .card__title{
    font-size: 20px;
  }
  
}