/******************************** GLOBAL **********************************************************/

/* ------------------------------- INITIALISATION ----------------------------------------------------------- */

* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	font-family: sans-serif;
}

li {
	list-style: none;
}

a:visited {
	color: black;
}

body {
	width: 100%;
	height: 100dvh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	overflow: hidden;
}

:root {
	--pipeline-primary_color: #1f1f1f;
	--pipeline-primary_color-opacity: #1f1f1f25;
	--pipeline-secondary_color: #a16026;
	--pipeline-third_color: #ffffff;
	--pipeline-item_color: #ffffffb6;
	--pipeline_bottom_navigation_color: #e8e8e8;
	--pipeline-border-color: rgb(223, 223, 223);
	--pipeline-box-shadow: 1px 1px 5px rgb(207, 207, 207);
	--pipeline-radius-light: 12px;
	--pipeline-font-family-one: "Teko", sans-serif;
	--pipeline-font-family-two: "Cairo", sans-serif;
	--pipeline-height-header: 50px;
	--pipeline-height-footer: 50px;
}

p {
	font-family: var(--pipeline-font-family-two);
}

/* ------------------------------- UTILITAIRES ----------------------------------------------------------- */

.rotateZ {
	rotate: 180deg;
}

.invert-color {
	filter: invert(100);
}

.reveal-top {
	animation: reveal-top 0.5s linear forwards;
}

.d-none {
	display: none;
}

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

.flex-between {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.unreveal {
	animation: unreveal 0.3s ease-in-out forwards;
}

.no-opacity {
	opacity: 0;
}

/* ---------------------------- HOME PAGE ----------------------------------------------------- */

.main_dark {
	background-color: var(--pipeline-primary_color);
}
.main_light {
	background-color: var(--pipeline-third_color);
}

.header {
	background-color: var(--pipeline-primary_color);
	width: 100%;
	height: 50px;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	row-gap: 10px;
	align-content: center;
	position: relative;
	z-index: 10;
}

.header h1 {
	color: var(--pipeline-third_color);
	font-size: 1.1em;
	font-family: var(--pipeline-font-family-two);
}

.header img {
	width: 35px;
	height: 30px;
	object-fit: contain;
	margin-right: 10px;
}

main {
	width: 100%;
	height: calc(100dvh - var(--pipeline-height-header) - var(--pipeline-height-footer));
	padding: 20px;
	overflow-y: scroll;
	overflow-x: hidden;
}

.illustration {
	object-fit: cover;
	filter: drop-shadow(1px 1px 1px var(--pipeline-primary_color-opacity));
	position: absolute;
	top: 50%;
	left: 50%;
	scale: 5;
	translate: -50%;
}

.header {
	background-color: var(--pipeline-primary_color);
	width: 100%;
	height: 50px;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	row-gap: 10px;
	align-content: center;
	position: relative;
	z-index: 10;
}

.header h1 {
	color: var(--pipeline-third_color);
	font-size: 1.1em;
	font-family: var(--pipeline-font-family-two);
}

.header img {
	width: 35px;
	height: 30px;
	object-fit: contain;
	margin-right: 10px;
}

.bottom_nav {
	position: absolute;
	bottom: 10%;
	left: 50%;
	translate: -50% 0;
	z-index: 10;
	background-color: var(--pipeline_bottom_navigation_color);
	padding: 5px;
	border-radius: 20px;
}

.tab {
	display: inline-block;
	margin: 0 20px;
	outline: transparent;
	border: none;
	background-color: transparent;
	display: flex;
	justify-content: center;
	align-items: center;
}

.active_tab {
	background-color: var(--pipeline-secondary_color);
	width: 30px;
	height: 30px;
	padding: 6px;
	border-radius: 50%;
	filter: hue-rotate(176deg) invert(1);
}

.menu-section {
	min-height: 50px;
	height: auto;
	margin-bottom: 20px;
}

.article-list-close {
	height: 1px;
	opacity: 0;
	transform-origin: top center;
	transform: scaleY(0);
	transition: 0.2s;
}

.article-list-open {
	transform-origin: top center;
	transform: scaleY(1);
	opacity: 1;
	transition: 0.4s;
}

.title_section {
	text-transform: uppercase;
	font-family: var(--pipeline-font-family-one);
	display: flex;
	align-items: center;
	font-size: 20px;
}

.menu-section-sub:first-child {
	margin-top: 20px;
}

.title_section-sub {
	margin: 10px 0;
}

.icon_title_section {
	margin-right: 5px;
}

.arrow-section {
	margin-left: 5px;
}

.tag {
	display: inline-block;
	padding: 4px 8px;
	border-radius: var(--pipeline-radius-light);
	background-color: var(--pipeline-secondary_color);
	color: var(--pipeline-third_color);
	font-weight: 700;
	font-size: 12px;
	margin: 10px 5px 0 0;
}

.home_logo_animation-left {
	opacity: 0;
	rotate: -180deg;
	translate: -1000px;
	animation: start_home_page ease-out 0.8s forwards;
}

.home_logo_animation-right {
	opacity: 0;
	rotate: 180deg;
	translate: 1000px;
	animation: start_home_page ease-out 0.8s forwards;
}

.home_logo {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--pipeline-primary_color);
	z-index: 100;
	overflow: hidden;
}

.degre_alochol,
.degre_alochol_free {
	font-size: 16px;
	font-style: italic;
	font-weight: bodler;
	color: var(--pipeline-primary_color);
}

.home_logo img {
	width: 250px;
	height: 250px;
	object-fit: contain;
}

.li_element {
	box-shadow: var(--pipeline-box-shadow);
	border-radius: var(--pipeline-radius-light);
	margin: 10px 0;
	padding: 20px;
	background-color: var(--pipeline-item_color);
	border: 1px solid rgb(223, 223, 223);
}

.name_article {
	color: var(--pipeline-secondary_color);
	font-weight: bold;
	text-transform: uppercase;
	font-family: var(--pipeline-font-family-one);
	font-size: 20px;
}

.origin {
	font-weight: bold;
	margin: -5px 0 0 0;
}

.description_article {
	font-size: 15px;
	line-height: 15px;
}

.social_network_bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	background-color: var(--pipeline-primary_color);
	width: 100%;
	color: var(--pipeline-third_color);
	font-weight: bold;
	position: relative;
	z-index: 5;
}

.social_network_bar a {
	font-size: 1px;
	color: transparent;
}

.social_network_bar ul img {
	margin: 0 10px;
	object-fit: contain;
}

.prices {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	font-size: 12px;
	text-transform: uppercase;
	margin-top: 5px;
}

.price {
	font-size: 15px;
	font-weight: bold;
	margin-right: 4px;
}

.wrapper-img-fullscreen {
	width: 100%;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
	background-color: var(--pipeline-primary_color);
	animation: scaleup 20s linear 4s alternate forwards;
}

.img-fullscreen {
	width: 100%;
	height: 100%;
	object-position: center;
	object-fit: contain;
}

.pagination_event {
	position: absolute;
	top: 10%;
	left: 5%;
	display: flex;
	flex-direction: column;
	border-radius: var(--pipeline-radius-light);
	z-index: 5;
	padding: 5px 8px;
	background-color: var(--pipeline-item_color);
	opacity: 0.5;
}

.item_pagination_event {
	background-color: black;
	border-radius: 50%;
	width: 15px;
	height: 15px;
	margin: 15px 0;
}
.item_pagination_event_active {
	background-color: var(--pipeline-secondary_color);
	transition: 0.3s;
}

.food-information {
	text-align: center;
	padding-bottom: 50px;
	position: relative;
	z-index: 10;
}

.information-text {
	font-style: italic;
	font-size: 12px;
}

.allergen-list {
	font-size: 12px;
	line-height: 16px;
}

.allergen {
	font-weight: bold;
	font-size: 12px;
}

.language-select {
	position: absolute;
	top: 50%;
	right: 20px;
	translate: 0 -50%;
}

.language-select select {
	background-color: rgb(104, 104, 104);
	padding: 5px;
	outline: transparent;
	border: none;
}

.french_name {
	font-size: 12px;
	font-style: italic;
	margin-left: 8px;
}

/* // to delete soon */

.in-progress {
	background-color: #1f1f1f;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: -1;
}

.in-progress h2,
.in-progress p {
	translate: 0 240px;
	color: white;
	font-size: 16px;
	padding: 10px 50px;
}

/********************************** ANIMATION *****************************************************************/

@keyframes start_home_page {
	60% {
		opacity: 0;
	}
	100% {
		translate: 0;
		rotate: 0deg;
		opacity: 1;
	}
}

@keyframes unreveal {
	99% {
		opacity: 0;
	}

	99%,
	100% {
		z-index: -10;
		opacity: 0;
		display: none;
	}
}

@keyframes reveal-top {
	0% {
		opacity: 0;
		translate: 0 -200px;
	}
	40% {
		opacity: 0;
		translate: 0px 100px;
	}
	100% {
		translate: 0 0;
		opacity: 1;
	}
}

@keyframes scaleup {
	100% {
		scale: 1.15;
	}
}

.bluring {
	width: 100%;
	animation: bluring 0.3s linear;
}

@keyframes bluring {
	0% {
		filter: blur(0px);
	}

	70% {
		scale: 1.3;
		filter: blur(20px);
		background-color: var(--pipeline-primary_color);
	}
}

@media screen and (min-width: 799px) {
	body {
		background-color: var(--pipeline-third_color);
	}

	.header {
		width: 800px;
	}

	main {
		width: 800px;
		height: 100vh;
	}
}
