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

*{
    margin: 0;
    padding: 0;
}

:root{
    --Yellow: #f4d04e;
    --White: #ffffff;
    --Gray-500: #6b6b6b;
    --Gray-950: #121212;
    
    --fw-medium: 500;
    --fw-extra-bold: 800;
}

/* Regular & bold weights in one variable font */
@font-face {
    font-family: 'Figtree';
    src: url('./assets/fonts/Figtree-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: 'Figtree';
    src: url('./assets/fonts/Figtree-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
  }
  
body{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--Yellow);
    font-family: "Figtree", sans-serif;
}

.card{
    position: relative;
    padding: 1.5rem;
    display: block;
    background-color: var(--White);
    border: solid black 1px;
    border-radius: 20px;
    width: 90vw;
    max-width: 384px;
    justify-self: center;
    align-self: center;

    box-shadow:
    /*   [ offset‑x offset‑y [ blur‑radius ]? [ spread‑radius ]? color [ inset ]? ]  */
    /*big drop shadow */
    10px 8px  black, 
    /*sharp edge shadow */
    4px 4px black;    
}

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

.category{
    background-color: var(--Yellow);
    border-radius: 4px;
    margin: 24px 254px 12px 0px;
    height: 29px;
    width: 83px;
    text-align: center;
    align-content: center;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0px;
    font-weight: var(--fw-extra-bold);
    color: var(--Gray-900);
}

.date{
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0px;
    font-weight: var(--fw-medium);
    color: var(--Gray-900);
}

.title{
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0px;
    font-weight: var(--fw-extra-bold);
    margin: 12px  0px;
    color: var(--Gray-900);
}

.subtitle{
    font-size: 16px;
    color: var(--Gray-500);
    line-height: 150%;
    letter-spacing: 0px;
    font-weight: var(--fw-medium);
}

.profile{
    display: flex;
    margin: 24px 0px;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0px;
    font-weight: var(--fw-extra-bold);
    color: var(--Gray-900);
    align-items: center;
}

.profile img{
     width: 32px;
     margin-right: 12px;
}