@font-face{
  font-family: 'Aspades';
  src:url('Aspades-Regular.ttf');
}

body{
  margin: 0;
}

header{
  top:0;
  left:0;
  right:0;
  height: 90px;
  position: fixed;
  background-color: rgba(255,255,255,1);
  border-bottom: 1px solid grey;
  z-index: 2;
}

header h1 a{
  width: 230px;
  margin-top: 25px;
  margin-left: 1%;
  font-family: 'Aspades', Tahoma, Geneva, sans-serif;
  font-size: 40px;
}

header .phrase{
  margin: -83px 0px 10px 35%;
  font-family: 'Aspades', Tahoma, Geneva, sans-serif;
}

header a{
  text-decoration: none;
  color: black;
}

header ul{
  position: absolute;
  list-style:none;
  margin: auto 0px 0px 22%;
  overflow: hidden;
}

header li{
  width:195px;
  height: 38px;
  float:left;
  font-family: Tahoma, Geneva, sans-serif;
}

header ul li a{
  display: block;
  color:black;
  text-decoration: none;
  text-align: center;
  margin-top: 10px;
}

header ul li a:hover{
  color: #DCDCDC;
}

section{
  margin-top: 91px;
  z-index: 1;
}

#service, #etudeCas, #client, #equipe, #contact{
  float: left;
  width: 100%;
}

#etudeCas, #contact, #intro{
  background-color: #FFFAF0;
}

#service{
  height: 1000px;
}

#intro{
  text-align: center;
  font-size: 55%;
  font-family: Tahoma, Geneva, sans-serif;
}

#intro1, #intro2, #intro3, #intro4{
 padding: 10px 0 10px 0;
}

section h1{
  text-align: center;
  font-family: tahoma, Geneva,sans-serif;
  font-size: 200%;
  font-weight: normal;
}

.button-two{
  font-weight: 900;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  position: absolute;
  left: 29%;
  bottom: -31.5%;
  color:#fff;
  background-color:#d35400;
  border: none;
  padding: 10px;
  width: 170px;
  transition: all 0.5s;
}

.button-two span {
  position: relative;
  transition: 0.5s;
  font-family: Tahoma, Geneva, sans-serif;
}

.button-two span:after {
  content: '>';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button-two:hover span {
  padding-right: 25px;
}

.button-two:hover span:after {
  opacity: 1;
  right: 0;
}

#domaine1, #domaine2, #menu{
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}

#domaine1 p, #domaine2 p, #menu p{    
  font-size: 110%;
  font-family:Tahoma, Geneva, sans-serif;
  text-align: center;
  margin-top: 110px;
}

#domaine1 td, #domaine2 td, #menu td{
    width: 50%;
    padding-left: 12px;
    text-align: left;
    vertical-align: top;
    font-size: 113%;
}

#domaine1 th, #domaine2 th, #menu th{
  border-bottom: 2px solid #CD853F;
  height: 43px;
}

#domaine1 .rouge, #domaine2 .rouge, #menu .rouge{
  border-right: 2px solid #CD853F;
}

#domaine1 .rouge span, #domaine2 .rouge span, #menu .rouge span{
  color: red;
}

#domaine1 td span, #domaine2 td span, #menu td span{
  color: green;
  margin-left: -11px;
}

#domaine1 li, #domaine2 li, #menu li{
  display: inline-block;
}

#domaine1 img, #domaine2 img, #menu img{
  width: 500px;
  height: 400px;
}

#domaine1 table, #domaine2 table, #menu table{
  left: 0;
  margin: 3px -17px 0px -17px;
  border-collapse: collapse;
  border-spacing: 0px 5px;
  background-color: rgba(0,0,0,0.8);
  color: white;
  border-radius: 5px;
  height: 395px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 85%;
}

.menu1, .menu2, .menu3, .menu4, .menu5, .menu6{
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.menu1 figure, .menu2 figure, .menu3 figure, .menu4 figure, .menu5 figure, .menu6 figure{
  height: 300px;
  margin: 0;
  padding: 0;
}

.menu1 figcaption, .menu2 figcaption, .menu3 figcaption, .menu4 figcaption, .menu5 figcaption, .menu6 figcaption{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  box-sizing: border-box;
  padding: 0px 20px;
  opacity: 0;
  transition-delay: .3s;
  transition: .5s ease;
}

.menu1:hover figcaption, .menu2:hover figcaption, .menu3:hover figcaption, .menu4:hover figcaption, .menu5:hover figcaption, .menu6:hover figcaption{
  opacity: 1;
}

#domaine1 .phrase, #domaine2 .phrase, #menu .phrase{
  left: 0;
  margin: 25% -17px 0px -17px;
  background-color: rgba(0,0,0,0.8);
  color: white;
  border-radius: 5px;
  height: auto;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 130%;
}

.expert{
  width: 999px;
  height: 333px;
  margin: auto;
}

.datasc{
  width: 333px;
  height: 333px;
  margin: auto;
}

.expert div, .datasc div{
  float: left;
}

#equipe{
  height: 915px;
}

#equipe p{
  font-size: 120%;
  text-align: center;
  font-family:Tahoma, Geneva, sans-serif;
}

.container {
  position: relative;
  width: 333px;
}

.image {
  opacity: 1;
  display: block;
  width: 333px;
  height: 333px;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  width: 320px;
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%)
}

.container:hover .image {
  opacity: 0.3;
}

.container:hover .middle {
  opacity: 1;
}

.text {
  background-color: #4CAF50;
  color: white;
  font-size: 16px;
  padding: 16px 0px 16px 0px;
  width: 320px;
  text-align: center;
}

#publi{
  margin: 0 20% 0 20%;
}

#publi ul{
  list-style: none;
  display: inline-block;
  text-decoration: none;
}

#etudeCas{
  height: 555px;
}

#etudeCas a{
  text-decoration: none;
}

.egal_hf, .absent{
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.egal_hf figure, .absent figure{
  height: 300px;
  margin: 0;
  padding: 0;
}

.egal_hf figcaption, .absent figcaption{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  box-sizing: border-box;
  padding: 0px 20px;
  transition-delay: .3s;
  transition: .5s ease;
}

#contact form {
    margin: 0 auto;
    width: 401px;
    padding: 1em;
    border: 1px solid #CCC;
    border-radius: 1em;
    background-color: white;
}

#contact form div + div {
  margin-top: 1em;
}

#contact label {
  display: inline-block;
  width: 97px;
  text-align: right;
}

#contact input, textarea {
  font: 1em sans-serif;
  width: 300px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #999;
}

#contact .button {
  padding-left: 90px;
}

#contact form button {
  margin-left: .5em;
}

#contact ul, #equipe ul{
  list-style:none;
  text-align: center;
}

#contact ul a{
  text-decoration: none;
  color: black;
}

#contact ul a:hover{
  color: red;
}

@media screen and (max-width: 1524px){
	#service{
		height: 1900px;
	}
  /*header ul{
    margin-left:15%;
  }

  header .phrase{
    margin-left: 25%;
  }*/
}

@media screen and (max-width: 1020px){
  /*#equipe .expert{
    margin: 0;
  }*/
  header ul{
  	margin-left: 90px;
  }
  #service{
  	height: 2800px;
  }
  #etudeCas{
  	height: 1000px;
  }
}

@media screen and (max-width: 982px){
  header ul{
    margin-left:10%;
  }

  header ul li{
    width: 130px;
  }
}

@media screen and (max-width: 820px){
  header h1{
    margin-left: 40%;
  }

  header .phrase{
    display: none;
  }

  header ul{
    margin-top: -35px;
  }
}

@media screen and (max-width: 640px){
  header ul{
    margin-left:1%;
  }
}

@media screen and (max-width: 584px){
  header{
    height: 150px;
  }

  section{
    margin-top: 160px;
  }

  header h1{
    display: none;
  }
  
  header ul{
    margin: 0 auto;
    width: 200px;
    margin-left: 30%;
  }
}*/