/*-----------------------MISE EN PAGE ELEMENTS-----------------------*/

*{
    margin: 0px;
    padding: 0px;
}


html, body{
    margin: 0;
    min-height: 100%;
	font-family: Calibri;
}


html{
	position: relative;
	scroll-behavior: smooth;
}


/*-----------------------ENTETE LOGO ET TITRE-----------------------*/

#entete{
	text-align: center;
}


#entete h1{
	text-align: center;
	font-size: 50px;
	color: white;
	margin-top: 8px;
	font-family: Arial;
}


#entete .logo{
	z-index: 1;
	float: left;
	left: 20px;
	position: fixed;
	transition-duration: 0.5s;
	animation: fadeIn ease 0.5s;
	-webkit-animation: fadeIn ease 0.5s;
	-moz-animation: fadeIn ease 0.5s;
	-o-animation: fadeIn ease 0.5s;
	-ms-animation: fadeIn ease 0.5s;
}


#entete .logo:hover{
	opacity: 0.5;
}


/*-----------------------CHOIX LANGAGES-----------------------*/

#langages{
	display: flex;
	position: absolute;
	right: 15px;
	top: 15px;
	animation: fadeIn ease 0.5s;
	-webkit-animation: fadeIn ease 0.5s;
	-moz-animation: fadeIn ease 0.5s;
	-o-animation: fadeIn ease 0.5s;
	-ms-animation: fadeIn ease 0.5s;
}


#langages .drapeau{
	width: 50px;
	height: 30px;
	transition-duration: 0.2s;
}


#langages .drapeau:hover{
	opacity: 0.5;
}


#langages .margin{
	margin-left: 20px;
}


#langages .en{
	width: 50px;
	height: 30px;
}


/*-----------------------MENU DE NAVIGATION-----------------------*/

#menu .menu {
	font-family: Arial;
    display: flex;
	padding-top: 14px; 	
    justify-content: center;
	animation: fadeIn ease 0.5s;
	-webkit-animation: fadeIn ease 0.5s;
	-moz-animation: fadeIn ease 0.5s;
	-o-animation: fadeIn ease 0.5s;
	-ms-animation: fadeIn ease 0.5s;
}


#menu ul{
	list-style-type: none;
}


#menu .fond{
	margin-top: 50px;
	margin-bottom: 75px;
    background: rgba(0,0,0,0.4);
	border-top: solid 2px;
	border-bottom: solid 2px;
	height: 80px;
}


#menu .separation{
	background-color: white;
	margin-top: auto;
	margin-bottom: auto;
	height: 40px;
	width: 2px;
}


#menu .menu a{
	font-size: 24px;
	font-weight: bold;
    display: inline-block; /*Toute la surface sera cliquable*/
    text-decoration: none;
    color: white;
    border-bottom: 2px solid transparent;/*Evite le décalage des éléments sous le menu à cause de la bordure en :hover*/
    padding: 10px 0px;            /* Largeur minimale des liens */
	transition-duration: 0.5s;
}


#menu .menu a:hover{
	opacity: 0.8;
	color: yellow;
}


#menu .accueil {
	width: 125px;
	text-align:center;
}


#menu .mcsoft{
	width: 125px;
	min-width: 130px;
	text-align:center;
}


#menu .cv{
	width: 225px;
	min-width: 228px;
	text-align:center;
}


#menu .projets{
	width: 175px;
	min-width: 160px;
	text-align:center;
}


#menu .contact{
	width: 125px;
	text-align:center;
}

#menu .a_propos{
	width: 155px;
	text-align:center;
	position: relative;
	display: inline-block;
}


#menu .chat{
	width: 200px;
	min-width: 170px;
	text-align:center;
}


#menu .galerie{
	width: 200px;
	min-width: 170px;
	text-align:center;
}


#menu .a_propos:hover .a_propos-deroulant{
  	display: block;
}


#menu .a_propos-deroulant a{
  	color: white;
  	padding: 12px 16px;
  	text-decoration: none;
  	display: block;
}


#menu .a_propos-deroulant a:hover{
	background-color: #f1f1f1;
}


#menu .a_propos-deroulant{
  	display: none;
  	position: absolute;
  	background-color: rgba(0,0,0,0.4);
  	min-width: 160px;
  	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  	z-index: 1;
  	border-left: 2px solid ;
  	border-right: 2px solid ;
  	border-bottom: 2px solid ;
}


/*-----------------------INTRODUCTION-----------------------*/

#intro{
	width: 80%;
	margin: 0 auto;
	animation: fadeIn ease 0.5s;
	-webkit-animation: fadeIn ease 0.5s;
	-moz-animation: fadeIn ease 0.5s;
	-o-animation: fadeIn ease 0.5s;
	-ms-animation: fadeIn ease 0.5s;
}


#intro p{
	font-family: Calibri Light;
	font-size: 22px;
	color: white;
	font-weight: bold;
	text-align: center;
}


/*-----------------------BOUTON REMONTER-----------------------*/

.bouton-remonter{
	z-index: 1;
	opacity: 0.2;
	transition-duration: 0.2s;
	float: left;
	position: fixed;
	right: 10px;
	bottom: 10px;
	width: 100px;
	height: 100px;
}


.bouton-remonter:hover{
	opacity: 1;
	transition-duration: 0.2s;
}


/*-----------------------PIED DE PAGE-----------------------*/

#footer .scam{
	position: absolute;
	bottom: 8px;
	left: 8px;
	transition-duration: 0.5s;
}


#footer .scam:hover{
	opacity: 0.5;
}


#footer .conteneur{
	margin-top: 25px;
}


#footer p{
	font-size: 32px;
	color: white;
	font-weight: bold;
	text-align: center;
}


#footer .mentions{
	font-size: 16px;
	color: white;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
}


/*-----------------------KEYFRAMES TRANSITIONS-----------------------*/

@keyframes fadeIn{
	0% {opacity:0;}
	100% {opacity:1;}
}


@-moz-keyframes fadeIn{
	0% {opacity:0;}
	100% {opacity:1;}
}


@-webkit-keyframes fadeIn{
	0% {opacity:0;}
	100% {opacity:1;}
}


@-o-keyframes fadeIn{
	0% {opacity:0;}
	100% {opacity:1;}
}


@-ms-keyframes fadeIn{
	0% {opacity:0;}
	100% {opacity:1;}
}