@font-face {
    font-family: "Figtree Extra Bold";
    src: url(assets/fonts/static/Figtree-ExtraBold.ttf);
}

@font-face {
    font-family: "Figtree Medium";
    src: url(assets/fonts/static/Figtree-Medium.ttf);
}

@media (max-width: 600px) {
    .card {
      margin: 0 1rem;
      width: auto;
    }
  }

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
  }

body {
    display: flex;
    justify-content: center; /* Расположение содержимого по основной оси */
    align-items: center; /* Расположение содержимого по побочной оси */
    background-color: hsl(47, 88%, 63%);
}

.card {
    box-sizing: border-box; /*Place border inside div*/
    width: 385px;
    border: solid 1px;
    border-radius: 20px;
    border-color: hsl(0, 0%, 7%);
    background-color: hsl(0, 0%, 100%);
    box-shadow: 8px 8px 0px black;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.card-tag {
    margin: 0;
    background-color: hsl(47, 88%, 63%);
    color: hsl(0, 0%, 7%);
    border-radius: 4px;
    font-size: 14px;
    padding: 4px 12px;
    font-family: "Figtree Extra Bold";
    text-decoration: none;
    line-height: 150%;
}


.card-content{
    display: flex;
    flex-direction: column;
}

.card-image {
    border-radius: 20px;
}

.card-date {
    margin: 0;
    font-family: "Figtree Medium";
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    color: hsl(0, 0%, 7%);
}

.card-title {
    margin-top: 8px;
    color: hsl(0, 0%, 7%);
    text-decoration: none;
    font-family: "Figtree Extra Bold";
    font-size: 24px;
    line-height: 150%;
}

.card-title:hover{
    color: hsl(47, 88%, 63%);
}

.card-desc {
    font-family: "Figtree Medium";
    font-size: 16px;
    line-height: 150%;
    color: hsl(0, 0%, 7%);
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: hsl(0, 0%, 7%);
    font-family: "Figtree Extra Bold";
    font-size: 14px;
    line-height: 150%;
}
.author img{
    height: 32px;
}