/* CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* My Code */
* {
    font-family: "Figtree", serif;
    font-size: 14px;
    letter-spacing: 0px;
    line-height: 150%;
    font-weight: 500;
}

html {
    background-color: #f4d04e;
}

main {
    height: 98vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-card {
    width: 90%;
    max-width: 350px;
    background-color: #FFF;
    padding: 1.5rem;
    border: 1px #000 solid;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 1rem;
    box-sizing: border-box;
    box-shadow: 7px 7px #000;
}

.blog-img {
    border-radius: .75rem;
}

.blog-category {
    background-color: #f4d04e;
    border-radius: .25rem;
    font-weight: 800;
    padding: .25rem 0;
    width: 28%;
    text-align: center;
    flex-shrink: 0;
    margin-top: .5rem;
}

.blog-published {
    margin-top: -.25rem;
}

.blog-title {
    font-size: 20px;
    font-weight: 800;
    transition: color .25s ease-in-out;
}
.blog-title:hover {
    color: #f4d04e;
    cursor: pointer;
}

.blog-desc {
    color: #6B6B6B;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: .5rem;
}

.author-img {
    width: 10%;
}

.author-name {
    font-size: 16px;
    font-weight: 800;
}

.attribution { 
    font-size: 11px; 
    text-align: center;
}
.attribution a { 
    color: hsl(228, 45%, 44%);
}

