header {
  padding : 10px;
  font-family: Arial;}
h2 {
  font-family:Arial, Helvetica, sans-serif
}
h3 {
  font-family:Arial, Helvetica, sans-serif
}
@font-face {
  font-family: "earth kid";
  src: url('EarthKid.ttf');}

*{
  margin:0px;
  padding:0px;}

a{
  color:black;}

#banniere {
  font-family: earth kid;
  font-size: 3em;
  border:3px solid black;
  
  background-color: rgba(160, 251, 3, 0.7);/*background-color: rgb(52, 247, 204);*/
  background-size: 50%;
}
#entete {
  font-family: Arial;
  background-color: brown;
} 
#menu, #menu ul {
  padding:0;
  margin:0;
  list-style:none;
  text-align:center;
}

#menu a {
  text-decoration:non;
  display:block;
  padding: 8px 32px;
  color:#fff;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
  font-size:1vw;
}
#menu ul a {
  padding: 5px 0;
  font-size: 0px;
}
#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: 35em;
}
/* background des liens menus */
#menu li:first-child{
	background-color: #2980b9;
	background-image:-webkit-linear-gradient(top, #2980b9 0%, #113349 100%);
	background-image:linear-gradient(to bottom, #2980b9 0%, #113349 100%);
}
#menu li:nth-child(2){
	background-color: #27ae60;
	background-image: -webkit-linear-gradient(top, #27ae60 0%, #114929 100%);
	background-image:linear-gradient(to bottom, #27ae60 0%, #114929 100%);
}
#menu li:nth-child(3){
	background-color: #f39c12;
	background-image:-webkit-linear-gradient(top, #f39c12 0%, #845408 100%);
	background-image:linear-gradient(to bottom, #f39c12 0%, #845408 100%);
}
#menu li:nth-child(4){
	background-color: #d35400;
	background-image:-webkit-linear-gradient(top, #d35400 0%, #843602 100%);
	background-image:linear-gradient(to bottom, #d35400 0%, #843602 100%);
}
#menu li:nth-child(5){
	background-color: #35c6ff;
	background-image:-webkit-linear-gradient(top, #35c6ff 0%,  #01709c 100%);
	background-image:linear-gradient(to bottom,  #35c6ff 0%, #01709c 100%);
}
#menu li:last-child{
	background-color: #c0392b;
	background-image:-webkit-linear-gradient(top, #c0392b 0%, #7b261c 100%);
	background-image:linear-gradient(to bottom, #c0392b 0%, #7b261c 100%);
}
/* background des liens sous menus */
#menu li:first-child li{
	background:#2980b9;
}
#menu li:nth-child(2) li{
	background:#27ae60;
}
#menu li:nth-child(3) li{
	background:#f39c12;
}
#menu li:nth-child(4) li{
	background:#d35400;
}
#menu li:nth-child(5) li{
	background: #35c6ff;
}
#menu li:last-child li{
	background:#c0392b;
}
/* background des liens menus et sous menus au survol */
#menu li:first-child:hover, #menu li:first-child li:hover{
	background: #65aedd;}
#menu li:nth-child(2):hover, #menu li:nth-child(2) li:hover{
	background: #76cc9d;}
#menu li:nth-child(3):hover, #menu li:nth-child(3) li:hover{
	background: #f5b655;}
#menu li:nth-child(4):hover, #menu li:nth-child(4) li:hover{
	background: #ff8635;}
  #menu li:nth-child(5):hover, #menu li:nth-child(5) li:hover{
	background: #258bb3;}
#menu li:last-child:hover, #menu li:last-child li:hover{
background: #d55c4f;}

#menu li:hover li a{
	color:#fff;
	text-transform:inherit;
  font-size: 20px}
  
#menu li:hover a, #menu li li:hover a{
	color:#000;
}

nav {
  display:block;
  background-color:#83327bbb;
  /*background-color:#25292b; */
  text-align:center;
  width:100%;
  padding-top:20px;
}
body {
    background-image: url("./img/electrotechnique.jpg") ;
}
#laformation {
  font-family: Arial;
  font-size: 1em;
}
body header {
  padding-top: 1cm;
}
body header li{
  list-style: none;
}
footer {
    clear:left;
    font-family: Arial;
    font-weight :bold;
    background-color:#83327bbb;
}

.container {
  font-family: Arial;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  background-color: rgba(30, 143, 255, 0.5);
}

.container div {
  background-color: #f1f1f1;
  margin: 10px;
  padding: 20px;
  font-size: 30px;
}

div.gallery {
    margin: 2px;
    border: 3px solid #ccc;
    float: left;
    width: 200px;
    height: 200px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.70);
    font-family: Arial, Helvetica, sans-serif;
}
  
  div.gallery:hover {
    border: 3px solid rgb(219, 137, 4);
    background-color: rgba(160, 251, 3, 0.7);

  }
  
  div.gallery img {
    width: 200px;
    height: 150px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }
  
div.desc {
    padding: 5px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}
#TexTintro {
  padding:10px;
  font-family: Arial;
  font-size: 150%;
  background-color: rgba(255, 255, 255, 0.70);

}
#TexTintro ul{

  list-style: square inside;
}


table {
  border-collapse: collapse;
  border: 2px solid rgb(140 140 140);
  font-family: sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

caption {
  caption-side: top;
  padding: 10px;
  font-weight: bold;
}

thead,
tfoot {
  background-color: rgb(228 240 245);
}

th,td {
  border: 1px solid rgb(160 160 160);
  padding: 8px 10px;
}

td:last-of-type {
  text-align: left;
}

tbody > tr:nth-of-type(even) {
  background-color: rgb(237 238 242);
}