/*  Fichier CSS pour le site de Brun Aurélie */
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@200;400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=The+Nautigal&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Clicker+Script&family=The+Nautigal&display=swap');
gal&display=swap');



body {
  padding: 0;
  position: absolute;
  left: 10%; /* marge à gauche et à droite en dessous*/ 
  right: 10%;
  font-family: "Raleway", sans-serif;
}

nav {
  margin-top: 10px;/* marge en haut de la page*/ 
  display: flex; /* aligner le logo avec les onglets */ 
  flex-wrap: wrap; /* Pour que mes onglets puissent se mettre à la ligne s'ils ne  peuvent pas s'aligner*/ 
  justify-content: space-between;

}

nav .logo a {
  text-decoration: none; /* on ne souligne pas le lien en bleu*/ 
  color: #34675c;
  font-weight: bold;
	font-size: 180%;
  
}
nav .onglets a {
	/* CSS du menu presentation ....*/ 
	margin-right: 10px; /* espacement entre les onglets*/ 
  text-decoration: none;
  color: #34675c;

}
nav .onglets a:hover { /* effet lorsque le curseur est au dessus de l'onglet*/ 
  text-decoration: underline;
  color: #b3c100;

}
    
.hrclass1{ /* Ligne séparation encadré*/ 
        height: 1px;
        background-color: #727b47;
        border: none;
}

.hrclass2{ /* Ligne HAUTE HEADER*/ 
        height: 40px;
        background-color: #6caa2e;
        border: none;
		padding: 20px;
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8); /* Ajouter une légère ombre pour un effet stylé */
}

 
header {
  margin-top: 30px;
  display: flex; /* on centre le header */
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  
  /* https://html-css-js.com/css/generator/box-shadow/ -----> ce site permet de générer les ombres */
  box-shadow: -4px 6px 29px -11px rgba(166, 166, 166, 0.75);
  -webkit-box-shadow: -4px 6px 29px -11px rgba(166, 166, 166, 0.75);
  -moz-box-shadow: -4px 6px 29px -11px rgba(166, 166, 166, 0.75);
  
  background-image: url("feuillesvertes.gif");
  background-repeat:no-repeat;
  background-size:100% auto; 
  margin-bottom: 40px;
  padding: 20px;
  text-align : center;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
  color: #4f6457;  
  font-family: "Raleway", sans-serif;
            
}


/* Appliquer l'image de fond uniquement à la section .background-image de la page index*/
.background-image {
  background-image: url("feuillesvertes.gif");
  background-repeat: no-repeat;
  background-size: 100% 100%; /* L'image occupe toute la zone de la section */
  max-width: 600px;
   margin-left: auto;
  margin-right: auto;
  padding: 20px;
  text-align: center;
}

/* Ajouter un fond blanc derrière le texte pour qu'il soit lisible */
.header-content {
  background-color: rgba(255, 255, 255, 0.8); /* Fond blanc avec 80% d'opacité */
  padding: 20px;
  margin: auto;
  max-width: 600px;
  border-radius: 10px; /* Pour des coins légèrement arrondis */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8); /* Ajouter une légère ombre pour un effet stylé */
}

h2, h3, h4 {
  color: #4f6457;
  font-family: "Raleway", sans-serif;
}


header h3 {
  margin-top: -10px;
  
   
}
header h4 {
  font-size: 80%;
}
header h10 {
    background: rgba(255, 255, 255, 0.6);
	
}
header h2 {
  margin-left: 20px;
  margin-right: 20px;
}

.Paragraphes {
  margin-top: 50px;
  display: flex;
  flex-direction: column; /* je n'aligne pas mes paragraphes */
  align-items: center;
  color: #4f6457;
   
}
.Paragraphes .para {
  border: 2px solid #cce39d;
  max-width: 600px;
  margin-bottom: 40px;
  padding: 20px;
  text-align : justify;
}
.Paragraphes .para h1 {
  margin-top: 0px;
  text-transform: uppercase; /* je met tout en majuscule*/
  text-justify;
  font-size: 100%;
}
.Paragraphes .para a { /*mes liens dans les paragraphes*/
  text-decoration: none;
  font-weight: bold;
  color: #80c051; /*lien En savoir plus*/
 
}
.Paragraphes .para a:hover { /*mes liens dans les paragraphes*/
  text-decoration: none;
  font-weight: bold;
  color: #b3c100;
  
 
}

.Paragraphes .para p {
  font-family: "Raleway", sans-serif;
  font-size: 80%;
}

footer {
  background-color: #6caa2e;
  padding: 20px;
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* pour avoir un espace entre le gauche et le droite*/
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8); /* Ajouter une légère ombre pour un effet stylé */
  
}
footer .droite {
  display: flex;
  
}
footer .droite p {
  margin-top: 0px;
  margin-right: 10px;
  cursor: pointer; /* on a un pointeur */
}

@media screen and (max-width: 640px) {
  header {
    margin-top: 20px;
    text-align: left;
	text-align: center;
  }
  nav .logo {
    margin-bottom: 10px;
  }
}

