/* Septembre 2022 JFL */
/* Importation police écriture RALEWAY de Google Font */
/* @import url("https://fonts.googleapis.com/css2?family=Raleway&display=swap"); Raleway Bold 400  */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap'); /* Raleway Bold 700  */

body {
  margin: 0;
  padding: 0;
  font-family: "Raleway", sans-serif;
}

header {
  text-align: center;
  color: white;
  background-color: orangered;
}

header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

header nav a {
  color: LightGoldenrodYellow;
  text-decoration: none;
  margin: 30px 40px 0px 40px;
  padding: 10px;  
  border: 1px solid LightGoldenrodYellow;
  background-color: DarkRed;
}

header nav a:hover {
  color: white;
  font-weight: 700;  
  border-bottom: 1px solid black;
  background-color: FireBrick;
}

header .principal {
  padding: 20px;
}

/* Section contenant toutes les lignes de vignettes et de textes */
section {
  text-align: center;
  background-color: tan;
}

/* Lignes de vignettes et de textes ... largeur totale 1200 px */
section .vignette {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

section .vignette .image1 {
  height: 180px;
  width: 240px;
  border: 15px solid coral;
  margin: 20px;
  box-shadow: 5px 5px 5px black;
}

section .vignette .image2 {
  height: 180px;
  width: 240px;
  border: 15px solid white;
  margin: 20px;
  box-shadow: 5px 5px 5px black;
}

section .vignette .texte {
  background-color: white;
  text-align: justify;
  min-height:180px; /* Aadaptation automatique de la hauteur du DIV en fonction de l'importance du texte */
  width: 510px;
  border: 15px solid white;
  margin: 20px;
  box-shadow: 5px 5px 5px black; /* Ombre portée */
}

section .vignette .texte h3 {
  display: inline;
  text-align: left;
}


section .vignette .texte .lien {
  text-align: left;
  line-height: 3em;
}

section .vignette .texte .lien a {
  color: tomato;
  text-decoration: none;	
  margin: 20px 20px 20px 0px;
  padding: 3px;
  border: 1px solid OrangeRed;
}

section .vignette .texte .lien a:hover {
  color: Black;
  background-color: Cornsilk;
  text-decoration: underline;
}

footer {
  text-align: left;
  color: white;
  background-color: #18212B;
}  
	
footer .ligne-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;	
}	

footer .ligne-footer .bloc {
  min-height: 180px; /* min-height : permet une bonne organisation du bloc lorsque l'image est rétrécie sur les écrans de smartphone. */
  width: 500px;
  margin: 0px 30px 30px 30px; 
}

/* Ligne de logos fournisseurs */
footer .ligne-logo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background-color: AntiqueWhite;  
}

footer .ligne-logo .bloc  img {
  height: 90px;
  width: 180px;
  margin: 10px;
}

