@font-face {
font-weight: 100 900;
src: url("/fonts/Figtree-VariableFont_wght.ttf") format("truetype");
font-family: "Figtree";
}
*,
*::before,
*::after {
box-sizing: border-box;
* {
margin: 0;
img {
display: block;
max-width: 100%;
body {
display: flex;
justify-content: center;
align-items: center;
background-color: #f4d04e;
padding: 24px;
min-height: 100dvh;
.card {
flex-direction: column;
gap: 24px;
filter: drop-shadow(8px 8px black);
border: 1px black solid;
border-radius: 20px;
background-color: white;
max-width: 24rem;
.image-container {
border-radius: 10px;
overflow: hidden;
height: 200px;
object-fit: cover;
.content {
gap: 12px;
.learning {
border-radius: 4px;
padding: 4px 12px;
width: fit-content;
font-weight: 800;
font-size: 14px;
line-height: 1.5;
.date {
font-weight: 500;
.heading {
font-size: 24px;
.description {
color: #7f7f7f;
font-size: 16px;
@media (max-width: 576px) {
font-size: 12px;
& h1 {
font-size: 20px;
.author {
p {