@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');
* {
	margin: 0;
	padding: 0;
}

:root {
	--color-yellow:hsl(47, 88%, 63%);
	--color-white:hsl(0, 0%, 100%);
	--color-gray-500:hsl(0, 0%, 42%);
	--color-gray-950:hsl(0, 0%, 7%);
	--ff:"Figtree", sans-serif;
	--ff-500: 500;
	--ff-800: 800;
}

body {
	height: 100vh;
	/* display: grid;
	place-items: center; */
	background-color: var(--color-yellow);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 1em;
}

#container {
	/* style card */
	max-width: 35dvh;
	display: flex;
	flex-direction: column;
	align-items:flex-start;
 	background-color: var(--color-white);
	box-shadow: 0.5em 0.5em black;
	border: 1px solid black;
	border-radius: 15px;
	padding: 1.5em;
	gap:1.5em;

	/* typo */
	font-family: var(--ff);
}

.picture {
	width: 100%;
	border-radius: inherit;
	align-self: center;
}

.date {
	font-weight: 600;
}

.resume {
	color: var(--color-gray-500);
}
.topic {
	font-weight: var(--ff-800);
	background-color: var(--color-yellow);
	padding: 3%;
	border-radius: 5px;
	/* border-radius: 10%; */
}

.link { 
	color: black;
	text-decoration: none;
	font-size: 0.75em;
}

.link:hover {
	color: var(--color-yellow);
}

.author {
	display:flex;
	flex-direction: row;
	align-items: center;
	align-self: flex-start;
	gap: 1em;
	font-weight: var(--ff-800);
}

.author img {
	width: 20%;
}