:root {
	font-size: 16px;
}

body {
	font-size: 24px;
	font-family: sans-serif;
}

main {
	width: 40rem;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	position: absolute;
}

h1 {
	font-weight: 600;
	line-height: 1.5;
}

a {
	color: rgb(255, 144, 85);
}

a:hover {
	text-decoration: none;
	color: rgb(255, 180, 89);
}

.card {
	width: 15rem;
	display: none;
	font-size: 1rem;
	color: black;
	position: absolute;
	z-index: 100;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
}

.link-with-preview {
	position: relative;
}

.card img {
	width: 15rem;
}

.card-title {
	font-size: 1.25rem;
}

@media (max-width: 600px) {
	:root {
		font-size: 10px;
	}
	h1 {
		font-size: 4rem;
	}
}