@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600&display=swap');

.haut {
	text-align: center;
	font-family: 'Fredoka', 'Comic Sans MS', cursive, sans-serif;
	color: black;
	width: 100%;
	height: 250px;
	margin: 0px 0px 0px 0px;
	background-color: #fff9e6;
	position: fixed;
	border-bottom: 4px solid #ffde59;
	transition: background-image 1s ease-in-out;
	z-index: 1000;
}

#haut a {
	text-decoration: none;
}

#haut a:hover {
	text-decoration: none;
}

#haut h1 {
	color: #ff5757;
	font-size: x-large;
	text-decoration: none !important;
	font-weight: 600;
}

#haut h2 {
	color: black;
	font-size: medium;
	font-weight: normal;
}

* {
	margin: 0px;
	padding: 0px;
	font-family: 'Fredoka', 'Comic Sans MS', cursive, sans-serif;
}

.logo {
	transition: all 0.5s ease-in-out;
	width: 90px;
}

.adresse {
	font-size: small;
}

.shrink {
	transition: all 0.3s ease-in-out;
	height: 140px;
}

.shrink .logo {
	width: 50px;
}

.shrink .adresse {
	height: 0;
	opacity: 0;
	margin: 0;
	font-size: 0;
}

nav {
	width: 100%;
	margin: 0 auto;
	background-color: white;
	position: sticky;
	top: 0px;
}

nav ul {
	list-style-type: none;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

nav ul li {
	width: auto;
	text-align: center;
	position: relative;
}

/* Clearfix removed as we use flexbox */

nav a {
	display: block;
	text-decoration: none;
	color: black;
	border-bottom: 2px solid transparent;
	padding: 10px 20px;
}

nav a:hover {
	color: #ff914d;
	border-bottom: 3px solid #ffde59;
	text-decoration: none;
	background-color: #fffdfa;
	border-radius: 8px 8px 0 0;
}

.sous {
	display: none;
	box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
	background-color: white;
	position: absolute;
	width: 220px;
	z-index: 1000;
	left: 0;
	border-radius: 0 0 8px 8px;
}

nav>ul li:hover .sous {
	display: block;
}

.sous li {
	float: none;
	width: 100%;
	text-align: left;
}

.sous a {
	padding: 10px;
	border-bottom: none;
	text-decoration: none;
}

.sous a:hover {
	border-bottom: none;
	background-color: rgba(178, 176, 176, 0.1);
	text-decoration: none;
}

.deroulant>a::after {
	font-size: 12px;
}

.conteneur {
	margin: 50px 20px;
	height: 1500px;
}

#filrouge {
	font-size: small;
	font-family: Avenir, sans-serif;
	/*Haut, droite, bas, gauche*/
	margin: -10px, 0px, 0px, 100px;
}

.toggle-submenu {
	display: none;
}