html, body {
margin: 0;
padding: 0;
font-family: 'Manrope', sans-serif;
}
/* =================
Layout
================= */
main {
/*
Challenge:
1. Set up the "main" element as a grid container.
2. Specify a template of one column with 1fr width.
3. Place 1em of space between each grid item.
*/
}
/* =================
Article Card
================= */
a:hover, a:focus {
filter: brightness(0.9);
}
a:focus {
outline: 3px solid #5a5a5a;
box-shadow: 0 0 0 3px rgba(135,18,113,0.5);
transition: outline 0.2s ease, box-shadow 0.2s ease;
}
article {
border-radius: 0.2em;
background-color: #e5e5e5;
height: 100%;
}
.article-header {
box-sizing: border-box;
padding: 1em;
width: 100%;
}
/* =================
Typography
================= */
h1 {
color: #0F0F0F;
letter-spacing: 0.04em;
font-family: "Source Code Pro", sans-serif;
margin: 0;
padding: 0;
}
a {
text-decoration: none;
}
h2 {
font-size: 0.88rem;
color: #5D0E50;
margin: 0;
letter-spacing: 0.065em;
text-transform: uppercase;
}
h3 {
font-size: 1rem;
margin: .4em 0;
letter-spacing: 0.03em;
color: #111111;
font-weight: 500;
}
p {
margin: 0;
font-size: .85rem;
color: #7c7c7c;
}
/* =================
Images
================= */
img {
width: 100%;
border-top-left-radius: .2em;
border-top-right-radius: .2em;
}