:root {
    --yellow: rgb(244, 208, 78);
    --darkgray: rgb(17, 17, 17);
    --lightgray: rgb(107, 107, 107);
    --white: rgb(255, 255, 255);
}

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

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



body {
    font-family: 'FigtreeMedium';
    background-color: var(--yellow);
    height: 100vh;
    margin: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.text {
    line-height: 150%;
    letter-spacing: 0px;
}

.flex-container {
    background-color: var(--white);
    width: 330px;
    height: 490px;
    padding: 25px;
    border: 2px solid rgb(0, 0, 0);
    border-radius: 15px;

    display: flex;
    flex-direction: column;

    box-shadow:  8px 8px 1px rgb(0, 0, 0);
    transition-duration: 500ms;
}

.flex-container:hover {
    
    box-shadow: 15px 15px 1px  rgb(0, 0, 0);
}



.image1 {
    border-radius: 10px;
}

.tag {
    font-family: 'FigtreeExtraBold';
    font-size: 14px;
    margin-top: 20px;
    width: max-content;
    background-color: var(--yellow);
    padding:  5px 12px  5px 12px;
    border-radius: 5px;

    display: inline-block;
}

.date {
    font-size: 14px;
    margin: 0;
    margin-top: 13px;
}

.flex-container .title {
    font-family: 'FigtreeExtraBold';
    font-size: 24px;
    margin: 0px;
    margin-top: 15px;

    transition-duration: 500ms;
    transition-property: color;
}

.flex-container:hover .title {
    color: var(--yellow);
}

.flex-container .title:hover {
    cursor: pointer;
}

.description {
    font-size: 16px;
    color: var(--lightgray);
}

.user-info {
    margin-top: 10px;
}

.user-info > .avatar {
    width: 32px;
    height: 32px;

    display: inline-block;
}

.user-info > .name {
    font-family: 'FigtreeExtraBold';
    font-size: 14px;
    height: 35px;
    display: inline-block;
    vertical-align: top;
    padding-top: 8px;
    padding-left: 8px;

}



