/*pour reseter les margin et padding par défaut*/
*{
  margin: 0;
  padding: 0;
}


/*GENERAL*/
* {
  font-family: Roboto, Arial, sans-serif;
}
h1{
  font-weight: 900;
  font-size: 1.9em;
  padding-bottom: 0.7em;
}
h2 {
  font-weight: bold;
  font-size: 2.1em;
  color: #444;  /*margin-bottom: 0.5em;*/
}
h3{
  color: #444;
}

.line{ /*la ligne de décoration sous les h2*/
  width: 8em;
  margin: auto;
  border-bottom: 1px solid #D2D9DB;
  /*margin-top: -1em;*/
  padding-top: 1.5em;
  margin-bottom: 1.5em;
  position: relative;
}
.line i{ /*le point de la ligne sous les h2*/
  color: #5EB5D9;
  font-size: 0.8em;
  border: 2px solid white;
  border-radius: 100%;
  position: absolute;
  top: 65%;
  left: 44%;
}


/*HEADER AVEC LE LOGO ET LE MENU*/
.menu {
  display: flex;
  justify-content: space-around;
  position: fixed;
  z-index: 100;
  top: 0;
  background-color: white;
  width: 100%;
  height: 80px;
  /*padding-top: 10px;*/
  box-shadow: 0 0 7px grey;
}
.menu p{
  padding-top: 10px;
}
.menu ul{
  display: flex;
  justify-content: flex-end;
}
.menu li {
  list-style-type: none;
  padding: 17px;
}
.menu a {
  text-decoration: none;
  color: black;
  position: relative;
  top: 10px;
}
.menu li:hover{
  border-top: 3px solid #5EB5D9;
}


/*SECTION AVEC LE SLIDER*/
#slider{ /*toute la section avec le slider*/
  color: white;
  width: 100%;
  position: relative;
  top: 80px;
}
#slider .images i{ /*les boutons pour faire défiler le slider*/
  position: absolute;
  top: 43%;
  font-size: 1.5em;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
}
#avant{ /*le bouton de gauche*/
  left: 0;
  padding: 20px 15px 20px 5px;
  border-top-right-radius: 100px 100px;
  border-bottom-right-radius: 100px 100px;
}
#apres{ /*le bouton de droite*/
  right: 0;
  padding: 20px 5px 20px 15px;
  border-top-left-radius: 100px 100px;
  border-bottom-left-radius: 100px 100px;
}
#slider .images img{
  width: 100%;
}
.barre{
  width: 10%;
  height: 5px;
  background-color: #5EB5D9;
  position: absolute;
  bottom: 5px;
}
.text_slider{
  position: absolute;
  top: 20%;
  left: 10%;
  width: 45%;
  word-wrap: break-word;
}
.text_slider strong{
  color: #5EB5D9;
  font-weight: 900;
}
.text_slider p{
  margin-bottom: 3em;
}
.text_slider .button{
  background-color: #5EB5D9;
  text-decoration: none;
  color: white;
  font-size: 1.1em;
  padding: 2%;
  border-radius: 3px;
  border-bottom: 3px solid #299BCA;
}


/*SECTION AVEC LA LISTE DES SERVICES*/
#services{ /*toute la section des services*/
  width: 90%;
  margin: auto;
  padding-bottom: 80px;
  padding-top: 100px;
  color: #444;
}
#services p{ /*tous les paragraphes de la section*/
  font-size: 0.9em;
  line-height: 150%;
}
.header_services{ /*le titre et le paragraphe de présentation*/
  text-align: center;
  line-height: 150%;
  margin-bottom: 2%;
}
.main_services{ /*l'image et le bloc avec les 3 services*/
  display: flex;
  justify-content: space-between;
}
.main_services img{ /*l'image*/
  display: block;
  width: 50%;
  margin: auto;
  text-align: center;
}
.main_services aside{ /*le bloc avec les 3 services*/
  margin: auto;
}
.design{ /*chacun des services*/
  padding: 1.5em 0 1em 5em;
  position: relative;
}
.design p{
  text-align: justify;
}
#arrow, #cubes, #pie{ /*les 3 icones*/
  color: #5EB5D9;
  font-size: 1.7em;
  border: 1px solid #D2D9DB;
  border-radius: 100%;
  padding: 0.6em;
  position: absolute;
  left: -0.5em;
  top: 1.3em;
}
.design .fa-circle{ /*le rond sur les icones*/
  color: #5EB5D9;
  font-size: 0.5em;
  border: 3px solid white;
  border-radius: 100%;
  position: absolute;
  left: 83%;
  top: 34%;
}


/*SECTION PROJETS POUR LE PORTFOLIO*/
#projets{
  background-color: #F4F4F0;
  width: 100%;
  margin: auto;
  padding-top: 80px;
  color: #444;
}
.header_projets{ /*titre et texte de la section Projets*/
  text-align: center;
  margin-top: 1em;
  margin-bottom: 2em;
}
#projets ul {
  display: flex;
  justify-content: center;
  margin-bottom: 1.3em;
}
#projets li{ /*tous les boutons de tri des projets*/
  list-style-type: none;
  background-color: lightgrey;
  color: #444;
  font-size: 0.9em;
  font-weight: bold;
  padding: 1em;
  text-align: center;
  position: relative;
}
#projets li:first-child{ /*premier bouton*/
  border-radius: 5px 0 0 5px;
}
#projets li:last-child{ /*dernier bouton*/
  border-radius: 0 5px 5px 0;
}
#projets ul span{ /*la flèche sous les boutons*/
  position: absolute;
  bottom: -16px;
  left: 41%;
  font-size: 1.6em;
  visibility: hidden;
}
#projets li:hover{ /*au survol des boutons, la couleur change*/
  background-color: #5EB5D9;
  color: white;
  border-bottom: 3px solid #299BCA;
  visibility: visible;
}
#projets li:hover > span { /*au survol des boutons, la flèche apparaît*/
  color: #299BCA;
  visibility: visible;
}
.portfolio { /*la liste des projets*/
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: center;
}
.portfolio img{
  width: 75%;
  margin-bottom: 7%;
}
figure{ /*tous les projets*/
  position: relative;
  width: 25%;
}
figcaption{ /*les légendes et liens vers les projets*/
  visibility: hidden;
  width: 75%;
  position: absolute;
  bottom: 14%;
  left: 12.5%;
  padding: 7px;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  font-size: 70%;
  box-sizing: border-box;
  text-align: left;
}
figcaption span{ /*les sites des projets*/
  font-weight: bold;
  font-size: 120%;
}
figcaption i{ /*l'icone de l'oeil*/
  position: absolute;
  top: -22%;
  left: 85%;
  background-color: #5EB5D9;
  color: white;
  font-size: 1em;
  border-radius: 100%;
  border: 2px solid white;
  padding: 0.4em;
}
figure:hover figcaption{ /*au survol du projet, le descriptif apparaît*/
  visibility: visible;
}


/*CONTACT ET MAP*/
#contact{
  background-color: #F4F4F0;
  width: 100%;
  height: 550px;
  padding-top: 80px;
  position: relative;
}
iframe{ /*la map google*/
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.7;
}
.masque_bleu{ /*le masque bleu sur la map*/
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 1;
  bottom: 0;
  top: 80px;
  background-color: #5EB5D9;
}
form{ /*le formulaire de contact*/
  width: 27%;
  min-width: 220px;
  padding: 1em;
  position: absolute;
  z-index: 3;
  right: 10%;
  top: 25%;
  background-color: rgba(255, 255, 255, 0.8)
}
#contact p, input, textarea{ /*les champs du formulaire*/
  margin-bottom: 1em;
  width: 95%;
  padding: 0.3em;
}
#contact h4{
  font-size: 1.4em;
  padding: 0.3em;
}
#contact span{
  font-weight: bold;
}
.send{ /*le bouton d'envoi*/
  background-color: #5EB5D9;
  color: white;
  border-bottom: 3px solid #299BCA;
  width: auto;
  padding: 0.3em;
}
