body {
	background-color: #2e582e;
	margin: 60px 0 0 0;
}

/***** TOP MENU SOCIAL NETWORKS BUTTONS *****/

.socialNetworks {
	position: absolute;
	right: 2%;    
	top: 18px;
}

.socialNetworks a {
	color: transparent;
}

.socialNetworks img {
	position: relative;
	margin-left: 10px;
	height: 24px;
	width: 24px;
}

/***** TOP NAVIGATION MENU *****/

/* Add a black background color to the top navigation */
.topBar {
	display: flex;
	transition: top 0.3s; /* Transition effect when sliding down (and up) */
	z-index: 1000;
	position: fixed;
	background-color: #0B230B;
	height: 60px;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
} 

#homeButton {
	cursor: pointer;
	display: flex;
	margin: 10px;
	margin-right: 0px;
	width: 105px;
	height: 40px;
    padding: 0;
    border: 0;
    background: 0;
}

#homeButton img {
	width: 40px;
	max-height: 40px;
}

.topNavigation {
	display: flex;
	justify-content: center;
	overflow: hidden;
	padding: 5 5 0 0;
	height: 50px;
    z-index: -1;
  }
  
  /* Style the links inside the navigation bar */
  .topNavigation a {
	float: left;
	display: block;
	color: #f2f2f2;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 17px;
  }
  
  /* Change the color of links on hover */
  .topNavigation a:hover {
	background-color: #ddd;
	color: black;
  }
  
  /* Add an active class to highlight the current page */
  .topNavigation a.active {
	background-color: #04AA6D;
	color: white;
  }
  
  /* Hide the link that should open and close the topnav on small screens */
  /*.topNavigation .icon {
	display: none;
  }*/

@media (min-width : 1400px) {
	#homeButton #axcellenceIcon {
		display: block;
	}

	#homeButton #homeIcon {
		display: none;
	}
	/* Style the links inside the navigation bar */
	.topNavigation a {
		float: left;
	}

	#burgerMenuButton {
		display: none;
	}

	#topNavigation {
		position: absolute;
		width: 100%;
		top: 0;
	}
	
	#topNavigationLinks {
		display: block !important;
	}
}

@media not (min-width : 1400px) {/* Hide the links inside the navigation menu (except for logo/home) */
	#homeButton #axcellenceIcon {
		display: none;
	}

	#homeButton #homeIcon {
		display: block;
	}

	#burgerMenuButton {
		cursor: pointer;
		display: flex;
		margin: 10px;
		width: 100px;
		height: 40px;
		padding: 0;
		border: 0;
		background: 0;
	}

	#burgerMenuButton::after {
		content: "Menu";
		position: relative;
		font-size: 120%;
		align-self: center;
		text-align: right;
		width: 100%;
		color: white;
		font-family: 'Montserrat', sans-serif;
	}

	#burgerMenuButton img {
		width: 40px;
		max-height: 40px;
	}
	
	#topNavigationLinks {
		--hideOnScroll: 1;
		display: none;
		float: left;
		left: 0;
		background-color: #0B230B;
		top: 60px;
		width: 200px;
		position: absolute;
	}
	
	/* Style navigation menu links */
	.topNavigation a {
		color: white;
		padding: 14px 0;
		text-decoration: none;
		font-size: 1.1em;
		display: block;
		width: 100%;
	}
	
	/* Style the hamburger menu */
	.topNavigation a.icon {
		background: black;
		display: block;
		position: absolute;
		right: 0;
		top: 0;
	}
	
	/* Add a grey background color on mouse-over */
	.topNavigation a:hover {
		background-color: #ddd;
		color: black;
	}
	
	/* Style the active link (or home/logo) */
	.active {
		background-color: #04AA6D;
		color: white;
	}
}

@media (min-width: 480px) and (max-width : 1400px) {
	#homeButton::after {
		content: "Accueil";
		position: relative;
		font-size: 120%;
		align-self: center;
		text-align: right;
		width: 100%;
		color: white;
		font-family: 'Montserrat', sans-serif;
	}
}

@media (max-width: 400px) {
	.socialNetworks > a:not(:last-child) {
		display: none;
	}
}