html {
    background-color: #e6e9e9;
    background-image: -webkit-linear-gradient(270deg,rgb(230,233,233) 0%,rgb(216,221,221) 100%);
    background-image: linear-gradient(270deg,rgb(230,233,233) 0%,rgb(216,221,221) 100%);
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0 auto;
    padding: 2em 2em 4em;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5em;
    /*color: #545454;*/
    color: #000000;
    background: url("images/background.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover; 
  background-size: cover; 
  
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.06);
}

h1, h2, h3, h4, h5, h6 {
    color: #222;
    font-weight: 600;
    line-height: 1.3em;
}


#menu, #menu ul{
  padding:0;
  margin:0;
  list-style:none;
  text-align:center;
    z-index: 1;
}
#menu li{
  display:inline-block;
  position:relative;
  border-radius:8px 8px 0 0;
}
#menu ul li{
  display:inherit;
  border-radius:0;
}
#menu ul li:hover{
  border-radius:0;
}
#menu ul li:last-child{
  border-radius:0 0 8px 8px;
}
#menu ul{
  position:absolute;
  max-height:0;
  left: 0;
  right: 0;
  overflow:hidden;
  -moz-transition: .8s all .3s;
  -webkit-transition: .8s all .3s;
  transition: .8s all .3s;
}
#menu li:hover ul{
  max-height:15em;
}
/* background des liens menus */
#menu li:first-child{
  background-color: #65537A;
  background-image:-webkit-linear-gradient(top, #65537A 0%, #2A2333 100%);
  background-image:linear-gradient(to bottom, #65537A 0%, #2A2333 100%);
}
#menu li:nth-child(2){
  background-color: #729EBF;
  background-image: -webkit-linear-gradient(top, #729EBF 0%, #333A40 100%);
  background-image:linear-gradient(to bottom, #729EBF 0%, #333A40 100%);
}
#menu li:nth-child(3){
  background-color: #F6AD1A;
  background-image:-webkit-linear-gradient(top, #F6AD1A 0%, #9F391A 100%);
  background-image:linear-gradient(to bottom, #F6AD1A 0%, #9F391A 100%);
}

#menu li:nth-child(4){
  background-color: #0A014B;
  background-image:-webkit-linear-gradient(top, #0A014B 0%, #000028 100%);
  background-image:linear-gradient(to bottom, #0A014B 0%, #000028 100%);
}
#menu li:last-child{
  background-color: #CFFF6A;
  background-image:-webkit-linear-gradient(top, #CFFF6A 0%, #677F35 100%);
  background-image:linear-gradient(to bottom, #CFFF6A 0%, #677F35 100%);
}
/* background des liens sous menus */
#menu li:first-child li{
  background:#2A2333;
}
#menu li:nth-child(2) li{
  background:#333A40;
}
#menu li:nth-child(3) li{
  background:#9F391A;
}
#menu li:last-child li{
  background:#677F35;
}
/* background des liens menus et sous menus au survol */
#menu li:first-child:hover, #menu li:first-child li:hover{
  background:#65537A;
}
#menu li:nth-child(2):hover, #menu li:nth-child(2) li:hover{
  background:#729EBF;
}
#menu li:nth-child(3):hover, #menu li:nth-child(3) li:hover{
  background:#F6AD1A;
}
#menu li:last-child:hover, #menu li:last-child li:hover{
  background:#CFFF6A;
}
/* les a href */
#menu a{
  text-decoration:none;
  display:block;
  padding:8px 32px;
  color:#fff;
  font-family:arial;
}
#menu ul a{
  padding:8px 0;
}
#menu li:hover li a{
  color:#fff;
  text-transform:inherit;
}
#menu li:hover a, #menu li li:hover a{
  color:#000;
}

section{
    z-index: -1;
    border: 1px black solid;
    border-radius: 10px;
    padding = 10px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0 auto;
    opacity: 0.7;
    background-color: azure;
  width: 1000px;
  display: block;
}

footer{
    margin: 10px;
}


header #logo a{
    max-width: 50%;
    max-height: auto;
}

header #logo a img{
  display: block;
    max-width: 100%;
 
    max-height: auto;
  margin: 0 auto;
}
header #logo{
  display:block;
  max-width: 50%;
    max-height: auto;
  margin-right: auto;
  margin-left: auto;
  margin: 0 auto;
}

header{
  display:inline-block;
  }

header #news{
  border-radius: 10px;
    margin:10px;
  padding: 20px;
    opacity: 0.7;
  height: 250px;
  width:550px;
    background-color: azure;
  overflow: scroll;
  display:inline-block;
}

#slideshow{
  opacity:1;
  }
