/* figtree-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/figtree-v8-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* figtree-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/figtree-v8-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
    --yellow: hsl(47, 88%, 63%);
    --white: hsl(0, 0%, 100%);
    --gray500: hsl(0, 0%, 42%);
    --gray950: hsl(0, 0%, 7%);
    --box-shadow: 8px 8px rgba(0, 0, 0, 100);
}

body {
    font-size: 16px;
    margin: 0;
    font-family: Figtree,Arial, Helvetica, sans-serif;
    font-weight: 500;
    background-color: var(--yellow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

h1,p {
    margin: 0;
}

.card {
    background-color: var(--white);
    width:  clamp(327px, 90%, 384px);
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--gray950);
    box-shadow: var(--box-shadow);
}

.card:hover {
    box-shadow: 12px 12px rgba(0, 0, 0, 100);
}

.card:hover .card-content .card-content_title {
    color: var(--yellow);
}

.card-img{
    width: 100%;
    height: 200px;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.card-content {
    margin: 24px 0;
    color: var(--gray950);
    line-height: 150%;
}

.card-content_btn {
    border: none;
    background-color: var(--yellow);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 150%;
    font-weight: 800;
    border-radius: 4px;
    margin-bottom: 12px;
}

.card-content_date {
    font-size: 12px;
    margin-bottom: 12px;
}

.card-content_title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.card-content_paragraph {
    font-size: 14px;
    color: var(--gray500);
}

.card-avatar {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray950);
    line-height: 150%;
}

.card-avatar_img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    display: inline-block;
}

.card-avatar_name {
    display: inline-block;
    font-weight: 800;
    font-size: 14px;
}

.attribution {
    font-size: 11px;
    text-align: center;
    margin-top: 24px;
    color: var(--gray500); 
    display: none;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}






