
*{
	font-family: 'Century Gothic';
	font-size: 20px;
}

/* HAUT DE PAGE */
.top-page{
	background-image: url(../assets/accueil.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;
	background-position: center;
	width: 100%;
	height: 100vh;
	font-family: 'Century Gothic';
}
.logo-sabr{
	width: 400px;
	height: 60px;
	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: 2%;
	width: 80% ;
}
nav li a{
	color: white;
	font-size: 20px;
	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 */
}

/* GROS TITRE */ 
#big-title{
	display: flex;
	align-content: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-align: center;
}

#big-title h1{
	margin-left: 25%;
	margin-right: 25%;
	margin-top: 5%;
}

h1 span{
	position: relative;
	color: white;
	font-size: 35px;
	margin-bottom: 10%;
}


/* CORPS DE LA PAGE */
body{
	background-color: white;
	margin: 0;
}

section{ /* SUPPRIME LE VIDE ENTRE LES SECTIONS */
	display: table;
	width: 100%;
}
.section-container{
	display: flex;
	justify-content: center;
	flex-direction: column;
	margin-right:5%;
}
h5{
	font-size: 30px;
	margin: 0;
}

.title{
	font-size: 40px;
	color: #404040;
}

/* PRESENTATION */
#presentation{
	background-color: #fff;
	height: 600px;
}
.txt{
	padding-left: 15%;
	padding-right: 15%;
	margin: 0;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}
.txt-img{
	padding-left: 15%;
	padding-right: 15%;
	padding-top: 20px;
	padding-bottom: 50px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: line;
}


/* CHIFFRES */
#chiffres{
	background-image: url(../assets/chiffres.jpg);
	background-size: cover;
	height: 600px;
}
.stats{
	padding: 5%;
	margin-left: 5%;
	margin-right: 5%;
	color: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
#chiffres .round{
	max-height: 255px;
	margin-top: 30px;
	margin-bottom: 20px;
	position: relative;
}
#chiffres .round strong{
	position: absolute;
	top: 48%;
	left: 38%;
	margin-top: -50px;
	transform-style: translate(-50%);
	font-weight: 100;
	font-size: 40px;
	color: #EEEEEE;
}
#chiffres span{
	display: block;
	font-size: 40px;
	margin-top: 20px;
	color: #EEEEEE;
	text-transform: uppercase;
}
.num{
	font-size: 40px;
}
.col{
	flex: 1;
	text-align: center;
	padding: 30px;
	font-size: 50px;
}
.col i{
	font-size: 50px;
	color: white;
}
.line{
	display: flex;
	flex-direction: line;
	justify-content: center;
}


/* ROLE */
#role{
	background-color: white;
}
.img-conseil{
	background: url(../assets/conseil.jpg) no-repeat;
	background-size: contain;
	width: 600px;
	height: 300px;
	margin-top: 100px;
}
.img-ingenierie{
	background: url(../assets/ingenierie.jpg) no-repeat;
	background-size: contain;
	width: 600px;
	height: 300px;
	margin-right: 10%;
}

/* SOLUTIONS */
#solutions{
	background: #EFEFEF;
}
.img-solutions{
	background: url(../assets/solutions.jpg) no-repeat;
	background-size: contain;
	width: 600px;
	height: 200px;
	margin-top: 2%;
}

/* INTERVENTION */
#intervention{
	background-color: #fff;
	height: 400px;
}
.intervention-img{
	position: relative;
	width: 700px;
	height: 300px;
	margin-right: 10%;
}
.box{
	position: absolute;
	width: 100%;
	height: 100%;
}
.box:nth-child(1){
	background: url(../assets/intervention.jpg);
	background-repeat: no-repeat;
	background-size: cover;
}
.box:nth-child(2){
	background: url(../assets/intervention1.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	z-index: 2;
	transition: 0.5s;
	clip-path: polygon(0 0, 50% 0, 50% 100%, 0% 100%);
}
.box:nth-child(2):hover{
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
.box:nth-child(1):hover ~ .box:nth-child(2){
	clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
}


/* BAS DE PAGE */
footer{
	background-color: #181818;
	height: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 50px;
}

.footer-item{
	width: 25%;
	margin: 20px;
	color: white;
	font-family: 'Century Gothic';
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}
#contact{
  height: 40px;
 	align-self: flex-end;
}
#contact:hover{
  height: 40px;
 	opacity: 0.7;
  transition: 0.7s;
}
#enveloppe{
  align-self: center;
  animation-duration: 1s;
  animation-name: jump;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
@keyframes jump {
  from {
    padding-bottom: 0px;
    padding-top: 10px;
  }
  to {
    padding-bottom: 10px;
    padding-top: 0px;
  }
}