@import url("https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap");

:root {
	--card-color: hsla(255, 100%, 97%, 1);
	--text-color: hsla(255, 100%, 50%, 1);
	--embossed-color: hsla(255, 100%, 75%, 1);
	--embossed-shadow-color: hsla(255, 100%, 25%, 0.1);
	--embossed-highlight-color: rgba(255, 255, 255, 0.7);
}

* {
	box-sizing: border-box;
}

body {
	font-family: "Times New Roman", Times, serif;
	background-color: white;
	margin: 0px;
}

section {
	width: 100%;
	max-width: 540px;
	margin: 60px auto;
	padding: 0px 20px;
}

.card {
	background-color: var(--card-color);
	width: 100%;
	height: 300px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	box-sizing: border-box;
	border-radius: 3px;
	box-shadow: 0px 5px 40px rgba(0, 0, 0, 0.1), inset 1px 1px 0px var(--embossed-highlight-color), inset -1px -1px 0px var(--embossed-shadow-color);
	margin-bottom: 20px;

	.inner {
		flex: 1;
		position: relative;
		border: 1px solid var(--embossed-color);

		display: flex;
		justify-content: center;
		align-items: center;
	}
}

.card .dot {
	position: absolute;
	width: 20px;
	height: 20px;
	background-color: var(--card-color);
	border: 1px solid var(--embossed-color);
}

.card, .card .dot {
	background-image: url(/img/paper.jpg);
	background-blend-mode: overlay;
	background-size: 540px 300px;
	background-position: center center;
}

.card .dot.upper-left {
	top: -1px;
	left: -1px;
	border-radius: 0 0 100% 0;
	border-left: none;
	border-top: none;
}
.card .dot.upper-right {
	top: -1px;
	right: -1px;
	border-radius: 0 0 0 100%;
	border-right: none;
	border-top: none;
}
.card .dot.lower-right {
	bottom: -1px;
	right: -1px;
	border-radius: 100% 0 0 0;
	border-right: none;
	border-bottom: none;
}
.card .dot.lower-left {
	bottom: -1px;
	left: -1px;
	border-radius: 0 100% 0 0;
	border-left: none;
	border-bottom: none;
}

.card .content {
	font-size: 40px;
	color: var(--text-color);
	text-shadow:
		-1px -1px 0px var(--embossed-shadow-color),
		1px 1px 0px var(--embossed-highlight-color);
	font-weight: bold;
	letter-spacing: 5px;
	text-transform: uppercase;
	text-align: center;
}

.card .easter-egg {
	font-family: "Permanent Marker", sans-serif;
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
	text-align: center;
	font-size: 40px;
	color: black;
	text-decoration: none;
}

@media (max-width: 600px) {
	.card {
		height: 220px;
	}
	.card .content {
		font-size: 24px;
		font-weight: 500;
	}
	.card .easter-egg {
		font-size: 30px;
	}
}