@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");
:root {
	--White: hsl(0, 0%, 100%);
	--Slate300: hsl(212, 45%, 89%);
	--Slate500: hsl(216, 15%, 48%);
	--Slate900: hsl(218, 44%, 22%);
	--Blue600: #2c7dfa;
	--Blue500: #2c7dfa;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Outfit", serif;
	font-optical-sizing: auto;
	font-style: normal;
}

body {
	background-color: var(--Slate300);
}

section {
	background-color: var(--White);
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 80%;
	margin: 5rem auto;
	border-radius: 10px;
	padding: 1rem;
	text-align: center;

	.image-container {
		background-color: var(--Blue600);
		display: flex;
		width: 100%;
		aspect-ratio: 1;
		border-radius: 10px;
		justify-content: center;
		img {
			align-items: center;
			border-radius: 10px;
			object-fit: cover;
			max-width: 100%;
		}
	}
}
h3 {
	color: var(--Slate900);
	font-size: 1.3rem;
	margin: 1rem 0.2rem 0.5rem 0.2rem;
	/* margin-bottom: 0.5rem; */
}
p {
	color: var(--Slate900);
	font-size: 0.9rem;
	margin: 1rem 0.2rem 0.5rem 0.2rem;
}

.attribution {
	font-size: 11px;
	text-align: center;
}
.attribution a {
	color: hsl(228, 45%, 44%);
}

@media only screen and (min-width: 768px) {
	section {
		max-width: 20%;
	}
}
