
*{
  font-family: 'Century Gothic';
  font-size: 20px;
}

/* HAUT DE PAGE */
.top-page{
  background-image: url(../assets/references.jpg);
  background-repeat: no-repeat; /* l'image ne se répète pas s'il n'y a pas assez d'espace */
  background-size: cover;
  width: 100%;
  height: 100vh;
  font-family: 'Century Gothic';
}

.logo-afersys{
  background:url(../assets/logo/logo_large.png) cover no-repeat;
  width: 318px;
  height: 199px;
  margin: 30px;
}

header{
  display: flex;
  align-items: center;
  padding: 10px;
}
header img{
  margin-left: 100px;
  animation-name: slideX;
  animation-duration: 1.5s;
}
nav{ 
  display: flex;
  justify-content: space-between; /* espacement des items du menu */
  list-style: none; /* suppression des puces de la liste */
  margin-left: 15%;
  margin-top: -5%;
  width: 50% ;
}
nav li a{
  color: white;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none; /* suppression du soulignement du lien */
}
nav li a:hover{
  transition: all 0.3s ease-in-out; /* changement de couleur lors de la selection */
  color: #3D7CBB; /* bleu */
}
#flag{
  height: 30px;
  align-self: flex-end;
}

/* GROS TITRE */ 
#big-title{
  display: flex;
  width: 100%;
  height: 100vh;
  text-align: left;
}

#big-title h1{
  color: white;
  font-size: 40px;
  margin-top: 5%;
  max-width: 50%;
  text-align: center;
}


/* CORPS DE LA PAGE */
body{
  background-color: white;
  margin: 0;
}
.section-container{
  width: 100%;
  height: 400px;
  display: flex;
}
.txt-img{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10%;
}
.txt-right{
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  padding-left: 60%;
}
.txt-left{
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  padding-right: 20%;
}
h5{
  font-size: 30px;
  margin: 0;
}

#IT{
  height: 400px;
}

.img-IT{
  background:url(../assets/chiffres_S.jpg) no-repeat;
  background-size: contain;
  width: 450px;
  height: 200px;
  position: absolute;
  right: 15%;
}

#telecom{
  background: #EFEFEF;
}
.img-telecom{
  background:url(../assets/telecom.jpg) no-repeat;
  background-size: contain;
  width: 450px;
  height: 300px;
  position: absolute;
}

.img-tram{
  background:url(../assets/tram.jpg) no-repeat;
  background-size: contain;
  width: 450px;
  height: 300px;
  position: absolute;
  right: 15%;
}

#metro{
  background: #EFEFEF;
}
.img-metro{
  background:url(../assets/metro.jpg) no-repeat;
  background-size: contain;
  width: 450px;
  height: 300px;
  position: absolute;
}

.img-btp{
  background:url(../assets/construction.jpg) no-repeat;
  background-size: contain;
  width: 450px;
  height: 300px;
  position: absolute;
  right: 15%;
}

#medical{
  background: #EFEFEF;
}
.img-medical{
  background:url(../assets/medical.jpg) no-repeat;
  background-size: contain;
  width: 450px;
  height: 300px;
  position: absolute;
}

.img-cimenterie{
  background:url(../assets/cimenterie.jpg) no-repeat;
  background-size: contain;
  width: 450px;
  height: 300px;
  position: absolute;
  right: 15%;
}


/* BAS DE PAGE */
footer{
  background-color: #181818;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 50px;
}

.footer-item{
  width: 20%;
  margin: 20px;
  color: white;
  font-family: 'Century Gothic';
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
#contact{
  height: 40px;
  align-self: flex-end;
}
#enveloppe{
  align-self: center;
  animation-duration: 1s;
  animation-name: jump;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
#contact:hover{
  height: 40px;
  opacity: 0.7;
  transition: 0.7s;
}
@keyframes jump {
  from {
    padding-bottom: 0px;
    padding-top: 10px;
  }
  to {
    padding-bottom: 10px;
    padding-top: 0px;
  }
}
