*,
*::before,
*::after {
	box-sizing: border-box;
	list-style: none;
}

html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}

body {
	font-family: 'Quicksand', sans-serif;
	font-size: 89%;
}

h1 {
	font-weight: normal;
}

a {
	transition: color 0.3s;
}

.hidden {
	display: none !important;
}

.visibility {
	visibility: hidden;
}

::-webkit-scrollbar {
	width: 0;
}

/* HEADER */

nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-evenly;
	z-index: 1;
	padding: 5px 0;
	background: rgb(255, 255, 255);
	box-shadow: 0px 3px 8px 1px rgba(0, 0, 0, 0.4);
	border-bottom: 1.5px solid #c89446;
	align-items: center;
}

.menu-item {
	max-width: 20%;
	text-transform: uppercase;
	text-decoration: none;
	color: #5b6856;
	font-weight: bold;
	transition: all 0.4s ease-in-out;
}

.menu-item:hover {
	color: #c89446;
}

.active {
	color: #c89446;
}

.nav-logo {
	vertical-align: middle;
	border-radius: 50%;
}

.bg-img {
	background-image: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0),
			rgba(0, 0, 0, 0.4) 65%,
			rgba(0, 0, 0, 0)
		),
		url('./img/accueil.jpg');
	background-position: bottom center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 100%;
	min-height: 500px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: column;
}

.bg-logo {
	text-align: center;
	opacity: 0.8;
	margin: auto;
}

#logo {
	width: 150px;
	border-radius: 50%;
	transition: all 0.4s ease-in-out;
}

.baseline {
	color: #fff;
	font-size: 1.5rem;
	padding: 5px;
}
/* SIDENAV */

.sidenav {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 1030;
	top: 0;
	left: 0;
	background: rgba(91, 104, 86, 0.95);
	overflow-x: hidden;
	transition: 0.5s;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.sidenav-content {
	text-align: left;
	display: none;
}

.sidenav a,
.dropdown {
	padding: 15px 10px;
	text-decoration: none;
	font-size: 2rem;
	color: #f1f1f1;
	display: block;
	letter-spacing: 5px;
	cursor: pointer;
	outline: none;
}

.fa-caret-down {
	padding-left: 10px;
}

.sidenav a:hover,
.sidenav a:focus {
	color: #c89446;
}

#closeSidenav {
	position: absolute;
	top: 0;
	right: 5%;
	font-size: 5rem;
	padding: 0;
	line-height: 0.5;
}

.dropdown-container {
	padding-left: 50px;
	display: none;
}

/* FENETRE MODALE */
.modal {
	/* Le trame de fond */
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	display: none;
	background: rgba(0, 0, 0, 0.7);
	animation: zoom 0.6s;
	overflow: auto;
	margin: auto;
}

@keyframes zoom {
	from {
		transform: scale(0);
	}
	to {
		transform: scale(1);
	}
}

@-webkit-keyframes zoom {
	from {
		-webkit-transform: scale(0);
	}
	to {
		-webkit-transform: scale(1);
	}
}

/* Sélecteur « target pour afficher l’image » */
.modal:target {
	display: flex;
	justify-content: flex-end;
}

.modal img {
	max-width: 100vw;
	height: auto;
	margin: auto;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

.close-frame {
	position: fixed;
	right: 5%;
	top: 0;
	line-height: 0.3;
	z-index: 1000;
	display: block;
	font-size: 4rem;
	color: darkgray;
}

.close-frame:hover {
	color: #c89446;
}
/* FENETRE MODALE CONTACT */
.modal-contact {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100vh;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content/Box */
.modal-content {
	background-color: #fefefe;
	margin: 20% auto 0 auto;
	padding: 15px;
	border: 1px solid #888;
	max-width: 100%; /* Could be more or less, depending on screen size */
	text-align: center;
	height: auto;
	position: relative;
}

.modal-header {
	background-color: rgba(200, 148, 70, 1);
}

.modal-header h2 {
	color: white;
	margin: 0;
	padding: 5px;
	text-transform: uppercase;
}

.lead {
	font-weight: bold;
	text-align: center;
	margin: 10px auto;
}

.modal-contact .contact a {
	color: #c89446;
	transition: all 0.4s ease;
}

.modal-contact .contact a:hover {
	color: #5b6856;
	font-weight: bold;
	text-decoration: none;
}

.horaires {
	margin: auto;
}

.horaires-bloc {
	margin-bottom: 10px;
}

.horaires p {
	margin: 0;
	text-align: center;
	padding: 0 13% 5px 13%;
}

.horaires h3 {
	text-decoration: underline;
	font-size: 1rem;
}

.underline {
	text-decoration: underline;
}

/* The Close Button */
.close {
	color: #fff;
	font-size: 3rem;
	font-weight: bold;
	line-height: 1;
	position: absolute;
	top: -10%;
	right: 1%;
}

.close:hover,
.close:focus {
	color: #c89446;
	text-decoration: none;
	cursor: pointer;
}

.contactContainer {
	border: 2px solid #c89446;
	padding: 5px;
}

.bold {
	font-weight: bold;
}

section {
	box-shadow: 2px 5px 10px 0 rgba(0, 0, 0, 0.5);
	max-width: 1140px;
	margin: 20px auto;
}

.container,
.container-md {
	width: 100%;
	padding: 20px 15px;
	margin: auto;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.container-fluid {
	max-width: 100%;
}

.row {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin: auto;
}

.justify-center {
	justify-content: center;
}

.align-center {
	align-items: center;
}

.col,
.col-6,
.col-4 {
	flex: 0 0 100%;
	width: 100%;
	padding: 1%;
}

.heading {
	flex: 0 0 66.666667%;
	width: 66.666667%;
}

.tarif {
	flex: 0 0 16.666665%;
	width: 16.666665%;
	text-align: center;
	line-height: 1.3;
}

/* ACCUEIL */

#accueil h1 {
	font-size: 1.3rem;
	letter-spacing: 1px;
}

.text-glow {
	text-shadow: 0 0 80px rgb(192 219 255 / 75%), 0 0 32px rgb(65 120 255 / 24%);
}

/* CARTES */

#carte {
	padding: 30px 0;
}

.heading-container {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.8rem;
	height: 120px;
}

#carte h2 {
	font-size: 3rem;
	font-weight: normal;
	letter-spacing: 1rem;
	color: #fff;
}

#carte h3 {
	padding: 0;
	margin: 0;
}

/* PIZZAS */

.pizza-sizes {
	text-align: center;
	margin: 0;
}

#pizzas {
	padding-left: 0;
	padding-right: 0;
}

.heading-pizzas {
	background-image: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.1),
			rgba(54, 54, 54, 0.4) 40%,
			rgba(28, 28, 28, 0.1)
		),
		url('./img/pizzas-heading.jpg');
}

.carte-pizzas {
	display: flex;
	justify-content: center;
	margin: 10px auto;
}

.downloadBtn {
	text-decoration: none;
	padding: 10px;
	margin: 0 auto;
	background-color: #c89446;
	border-radius: 5px;
	border: 2px solid #444;
	font-size: 0.9rem;
	font-weight: bold;
	font-family: 'Quicksand', sans-serif;
	color: #fff;
	text-align: center;
}

.downloadBtn:hover {
	color: #c89446;
	background-color: #fff;
	border-color: #c89446;
}

.indispo {
	font-size: 0.8rem;
	font-weight: normal;
}

.info {
	font-size: 1rem;
	font-weight: normal;
}

.bloc-1,
.bloc-2 {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 15px;
}

.bloc-2 > .row:first-child {
	display: none;
}

.supplements {
	border: 1px solid black;
	padding: 10px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	text-align: center;
	margin-top: 20px;
}

.supplements-title {
	text-align: center;
	font-size: 16px;
}

.supplements-items {
	font-weight: 600;
}
/* MENUS */

.heading-menus {
	background-image: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.1),
			rgba(54, 54, 54, 0.4) 40%,
			rgba(28, 28, 28, 0.1)
		),
		url('./img/menu-heading.jpg');
}

.card {
	max-width: 100%;
	width: 400px;
	height: 400px;
	margin: 10px auto;
	background: #fff;
	border: 2px solid #c89446;
	text-align: center;
	border-radius: 5px;
	box-shadow: 2px 5px 10px 0 rgba(0, 0, 0, 0.5);
	display: flex;
	flex-direction: column;
}

.card-heading {
	background: #c89446;
	color: #fff;
	text-shadow: 1px 0 #000;
	padding: 10px;
	font-weight: bold;
	font-size: 1.1rem;
}

.card-body {
	margin: 0 auto;
	height: 100%;
}

.card-container {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 10px;
	height: 100%;
}

.card-bloc {
	flex: 1;
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#tradition li {
	padding: 2.8%;
}

#npa li {
	padding: 1.5%;
}

#enfant ul,
#enfant li {
	padding: 5%;
}

.solid {
	border-top: 3px solid #c89446;
	width: 100px;
	text-align: center;
	position: absolute;
	bottom: 0;
	left: 50%;
	margin-bottom: -4px;
	transform: translateX(-50%);
}

/* ENTREES */

.heading-entrees {
	background-image: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.1),
			rgba(54, 54, 54, 0.3) 40%,
			rgba(28, 28, 28, 0.1)
		),
		url('./img/entree-heading.jpg');
}
/* SALADES */

.heading-salades {
	background-image: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.1),
			rgba(54, 54, 54, 0.4) 40%,
			rgba(28, 28, 28, 0.1)
		),
		url('./img/salade-heading.jpg');
}

/* PATES */

.heading-pates {
	background-image: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.1),
			rgba(54, 54, 54, 0.4) 40%,
			rgba(28, 28, 28, 0.1)
		),
		url('./img/pates-heading.jpg');
}

/* PLATS */

.heading-plats {
	background-image: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.1),
			rgba(54, 54, 54, 0.4) 40%,
			rgba(28, 28, 28, 0.1)
		),
		url('./img/plats-heading2.jpg');
}
.comm {
	text-align: center;
}

/* GALERIE */

#gallery {
	padding-top: 50px;
}

.gallery__container {
	background: none;
}

.gallery__img {
	width: 100%;
	height: 300px;
	max-height: 100%;
	object-fit: cover;
	border: 1px solid #ddd;
	padding: 10px;
	box-shadow: 2px 5px 10px 0 rgba(0, 0, 0, 0.5);
	transition: all 0.4s ease;
}

.gallery__img:hover,
.gallery__img:focus {
	box-shadow: 0 0 1px 1px rgba(200, 148, 70, 0.8);
}

/* FOOTER */
footer {
	background-color: #555;
	border-top: 1.5px solid rgb(200, 148, 70);
	padding-top: 10px;
	padding-bottom: 7px;
	color: white;
	text-align: center;
	margin: 0;
	font-size: 90%;
}

.contact p {
	margin: 0 auto;
	padding: 2px;
}

footer .contact p {
	display: inline-block;
	padding-top: 5px;
	margin: 0 5px;
}

footer i {
	color: #c89446;
}

footer a {
	color: #fff;
	transition: all 0.4s ease;
}

footer a:hover {
	text-decoration: none;
	color: #c89446;
	font-weight: bold;
}

.logo-footer {
	border-radius: 50%;
	border: 1px solid #fff;
}

.index-footer {
	background-color: transparent;
	border: none;
	font-size: 0.6rem;
}

.index-footer ul {
	margin: 0;
	padding: 0;
}

.mentions-legales-link {
	padding: 5px 0;
	margin: 0;
	font-size: 0.8rem;
}
.credit {
	padding-top: 2.5px;
	font-size: 0.6rem;
}

/* MENTIONS LEGALES */

.mentions-legales {
	text-align: left;
	margin-top: 40px;
}

.mentions-legales h2 {
	text-align: center;
	padding: 10px;
	text-transform: uppercase;
}

/* ASIDE */
.carte-aside {
	background-color: rgba(127, 165, 246, 0.9);
	text-align: center;
	width: 100%;
	z-index: 1;
	position: fixed;
	top: 51.5px;
	font-weight: bold;
	color: #fff;
	line-height: 1.4;
	height: 0;
	transform: scaleY(0);
	transition: all 0.3s ease;
	padding-top: 16px;
	padding-left: 16px;
	padding-right: 16px;
}

.carte-aside.visible {
	height: auto;
	transform: scaleY(1);
}
@media (min-width: 576px) {
	.container {
		max-width: 540px;
	}

	.modal-content {
		width: 40%;
		min-width: 450px;
		margin: 100px auto 0 auto;
	}

	.heading-container {
		height: 200px;
	}
}

@media (min-width: 768px) {
	#accueil h1 {
		font-size: 2rem;
	}

	#carte h2 {
		font-size: 4rem;
	}

	.container {
		max-width: 720px;
	}

	.col-6-sm {
		flex: 0 0 50%;
		max-width: 50%;
		padding-left: 1%;
	}

	body {
		font-size: 100%;
	}

	.menu-item {
		letter-spacing: 2px;
		padding: 0 10px;
	}

	.bg-logo #logo {
		width: 200px;
	}

	.baseline {
		font-size: 1.7rem;
	}

	nav {
		padding: 5px 80px;
	}
	.nav-logo {
		width: 50px;
	}

	.heading-container {
		height: 250px;
	}

	.index-footer,
	.credit {
		font-size: 0.7rem;
	}

	.carte-aside {
		top: 61.5px;
	}
}

@media (min-width: 992px) {
	.col-6 {
		flex: 0 0 50%;
		max-width: 50%;
		padding-left: 1%;
	}

	.col-4 {
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
	}
	#entrees .container,
	#salades .container,
	#pates .container,
	#plats .container {
		padding-left: 2%;
	}
	.bloc-2 .row:first-child {
		display: inline-flex;
	}

	.container,
	.container-md {
		max-width: 960px;
	}

	.card {
		max-width: 30%;
		min-width: 300px;
	}

	.heading-container {
		height: 300px;
	}

	.supplements {
		width: auto;
	}
}

@media (min-width: 1200px) {
	.container,
	.container-md {
		max-width: 1140px;
	}
}

@media (min-width: 1400px) {
	.carte-aside {
		padding-top: 0;
	}
}
