@font-face {
	font-family: "EB Garamond";
	src: url("fonts/EBGaramond.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}
body {
	background-color: #fbeff0; /* or any of the above */
	margin: 0;
	padding: 0;
	font-family: "EB Garamond", serif;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	color: #2c2c2c;
}

main {
	max-width: 640px;
	padding: 2rem;
	text-align: center;
	animation: fadeIn 1.2s ease-out;
}

.quote {
	font-size: 2rem;
	line-height: 1.5;
	letter-spacing: 0.4px;
}

footer {
	margin-top: 3rem;
	font-size: 1.2em;
}

footer a {
	text-decoration: none;
	color: #999;
	transition: color 0.3s ease;
}

footer a:hover {
	color: #333;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}


dialog {
	font-size: 1.2rem;
	line-height: 1.6;
	max-width: 500px;
	border: none;
	border-radius: 12px;
	padding: 2rem;
	background: rgba(255, 255, 255, 0.95);
	color: #333;
	font-family: "EB Garamond", serif;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
	animation: fadeIn 0.4s ease-in-out;
}

dialog::backdrop {
	background: rgba(0, 0, 0, 0.3);
}

dialog.fade-out {
	animation: fadeOut 0.4s ease-in-out forwards;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
	from { opacity: 1; transform: translateY(0); }
	to   { opacity: 0; transform: translateY(10px); }
}

form button {
	background: none;
	border: none;
	margin-top: 1.5rem;
	color: #888;
	cursor: pointer;
	font-family: inherit;
	font-size: 1rem;
}

form button:hover {
	color: #222;
}
.copy-line {
	text-align: center;
	font-size: 1em;
	margin-top: 1.5rem;
	color: #888;
}

.copy-link {
	text-decoration: none;
	color: #666;
	cursor: pointer;
}

.copy-link:hover {
	text-decoration: none;
}

.copied-msg {
	color: #888;
}
.copied-show {
	opacity: 1;
	transition: opacity 0.6s ease-in-out;
}
.copied-hide {
	opacity: 0;
	transition: opacity 0.6s ease-in-out;
}

@media (prefers-color-scheme: dark) {
	body {
		background-color: #1a1a1a;
		color: #e6e6e6;
	}

	dialog {
		background: rgba(30, 30, 30, 0.95);
		color: #e6e6e6;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	}

	dialog::backdrop {
		background: rgba(0, 0, 0, 0.5);
	}

	.copy-line {
		color: #bbb;
	}

	.copy-link {
		color: #aaa;
	}

	.copied-msg {
		color: #bbb;
	}

	form button {
		color: #bbb;
	}

	form button:hover {
		color: #fff;
	}

	footer a {
		color: #aaa;
	}

	footer a:hover {
		color: #ddd;
	}
}


  