@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");

/* ----------------------------------------------------------------------- */
/* COMMON                                                                  */
/* ----------------------------------------------------------------------- */

html {
	font-size: 9px;
}

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

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

	& > svg {
		position: absolute;
		width: 2rem;
		bottom: 7rem;
		color: #ee8b9d;
		animation: 0.618s ease-in-out infinite alternate pulse;
	}
}

@keyframes pulse {
	from {
		scale: 1;
	}
	to {
		scale: 1.382;
	}
}

.area {
	padding: 15rem 0;
}

.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 {
	display: flex;
	align-items: center;
	line-height: 1rem;
	margin: 1rem 0;
	gap: 0.4rem;
	font-family: "Merriweather", serif;
	font-size: 1.4rem;
	color: #666;
	text-transform: lowercase;
}

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

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

#spinner-menu,
#spinner-agenda {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	font-family: "Source Sans Pro", sans-serif;
	font-weight: 400;
	font-size: 2rem;
	text-transform: uppercase;
	color: #666;

	& svg {
		width: 3rem;
		animation: 3s linear infinite spin;
	}
}

@keyframes spin {
	from {
		rotate: 0;
	}
	to {
		rotate: 360deg;
	}
}

/* ----------------------------------------------------------------------- */
/* INTRO                                                                   */
/* ----------------------------------------------------------------------- */
#section-intro {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#section-intro .break {
	display: none;
}

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

#section-intro .item-long-description {
	font-family: "Merriweather", serif;
	font-weight: 300;
	font-size: 1.7rem;
	color: #666;
	text-align: center;
	margin-bottom: 1.5rem;
	/* text-wrap: nowrap; */

	& > a {
		text-decoration: underline;
		&:hover {
			color: #e62a4c;
		}
	}
}

/* ----------------------------------------------------------------------- */
/* AGENDA                                                                  */
/* ----------------------------------------------------------------------- */

#section-agenda .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: 7rem;
}

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

#section-agenda .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;
}

#section-agenda .item-group {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

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

#section-agenda .item {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
	gap: 3rem;
	font-family: "Source Sans Pro", sans-serif;
	font-weight: 400;
	width: 100%;
	height: auto;
}

#section-agenda .item:not(:last-child) {
	padding-bottom: 2rem;
	border-bottom: 1px solid #ccc;
}

#section-agenda .item-date {
	display: flex;
	flex-direction: column;
	align-items: start;
	gap: 0.618rem;
	width: 25%;
	height: auto;
	/* outline: 1px solid blue; */
}

#section-agenda .item-infos {
	display: flex;
	flex-direction: column;
	align-items: start;
	gap: 1rem;
	width: 75%;
	height: auto;
	/* outline: 1px solid blue; */
}

#section-agenda .item-day {
	font-size: 3rem;
	line-height: 3rem;
}

#section-agenda .item-weekday {
	font-size: 2rem;
	line-height: 2rem;
	color: #e62a4c;
}

#section-agenda .item-openclose {
	font-size: 2rem;
	line-height: 2rem;
	color: #888;
}

#section-agenda .item-name {
	max-width: 90%;
	font-size: 2.25rem;
	line-height: 2.5rem;
}

#section-agenda .item-short-description {
	font-family: "Merriweather", serif;
	font-weight: 300;
	font-size: 1.5rem;
	line-height: 2rem;
	color: #666;
}

#section-agenda .social-icon {
	line-height: 1rem;
}

/* ----------------------------------------------------------------------- */
/* MENU                                                                    */
/* ----------------------------------------------------------------------- */

#section-menu .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: 7rem;
}

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

#section-menu .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;
}

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

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

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

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

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

#section-menu .item-long-description {
	text-transform: initial;
}

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

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

#section-menu .page-break {
	break-before: page;
}

/* ----------------------------------------------------------------------- */
/* Tablet breakpoint                                                       */
/* ----------------------------------------------------------------------- */

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

	#section-agenda .item {
		gap: 5rem;
	}

	#section-agenda .item .item-date {
		align-items: end;
	}
}

/* ----------------------------------------------------------------------- */
/* 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;
	}

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

	#section-intro .break {
		display: block;
	}

	#section-agenda .item {
		flex-direction: row;
		align-items: stretch;
		gap: 7rem;
	}

	#section-agenda .item .item-date {
		align-items: end;
		width: 30%;
	}

	#section-agenda .item .item-infos {
		width: 70%;
	}
}

/* ----------------------------------------------------------------------- */
/* 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;
	}

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

	#section-menu {
		padding: 1rem;
	}
}
