@import url("https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@300&display=swap");

html {
	font-size: 9px;
}

.main-container {
	width: 100%;
	padding: 0 3rem;
}

.logo {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100dvh;
}

.footer {
	display: flex;
	padding: 15rem 0 3rem;
}

.footer .social {
	display: flex;
	justify-content: space-between;
	width: 100%;
	font-family: "Source Sans Pro", sans-serif;
	font-size: 1.3rem;
	line-height: 1.3rem;
	color: #e62a4c;
	text-transform: uppercase;
}

.footer .social a {
	display: flex;
	justify-content: center;
	align-items: center;
}

.social-item {
	font-family: "Merriweather", serif;
	color: #666;
	text-transform: lowercase;
}

.social-icon {
	width: 4rem;
	height: auto;
}

.menu-title {
	font-family: "Source Sans Pro", sans-serif;
	font-weight: 400;
	font-size: 3rem;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: -0.1rem;
	margin-bottom: 5rem;
}

.menu-category:not(:last-child) {
	margin-bottom: 5rem;
}

.category-name {
	font-family: "Zen Old Mincho", serif;
	font-weight: 700;
	font-size: 2.5rem;
	line-height: 100%;
	letter-spacing: -3%;
	color: #e62a4c;
	margin-bottom: 1.5rem;
}

.item-group {
	display: flex;
	flex-direction: column;
}

.item-row {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: baseline;
}

.item {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	gap: 0 0.75rem;
}

.item-name,
.item-price {
	font-family: "Source Sans Pro", sans-serif;
	font-weight: 400;
	font-size: 2rem;
	text-transform: lowercase;
	color: #333;
	white-space: nowrap;
}

.item-long-description,
.item-short-description {
	font-family: "Merriweather", serif;
	font-weight: 300;
	font-size: 1.5rem;
	text-transform: lowercase;
	color: #666;
}

.item-long-description {
	margin-top: 0.618rem;
	margin-bottom: 2rem;
	line-height: 2.25rem;
	text-align: justify;
}

.item-group .item-long-description:is(:last-child) {
	margin-bottom: 0;
}

.vegan-icon {
	height: 1.5rem;
	width: auto;
	display: inline-block;
	vertical-align: middle;
	max-width: 2.5rem;
}

.page-break {
	break-before: page;
}

.r {
	outline: 1px solid red;
}

/* Print styles for the PDF generation */

@media print {
	@page {
		size: A4 portrait;
		margin: 2.45cm 4.5cm;
	}

	html {
		font-size: 9.5px;
	}

	body {
		width: auto;
		margin: 0;
	}

	.main-container {
		width: auto;
		margin: 0;
		padding: 0;
	}

	.logo,
	.menu-title,
	.footer {
		display: none;
	}
}

/* Tablet breakpoint */
@media (min-width: 769px) and (max-width: 1024px) {
	html {
		font-size: 10px;
	}
}

/* Desktop breakpoint */
@media (min-width: 1025px) {
	html {
		font-size: 11px;
	}

	.main-container {
		width: 750px;
		margin: 0 auto;
		padding: 0;
	}

	.category-name {
		margin-bottom: 2.85rem;
	}

	.item {
		flex-direction: row;
		align-items: baseline;
		gap: 0 0.75rem;
	}

	.footer .social {
		font-size: 1.5rem;
		line-height: 1.5rem;
	}
}
