@import url('https://fonts.googleapis.com/css?family=Advent+Pro|Dancing+Script&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Advent Pro', sans-serif;
  padding: 0;
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
}
li {
  list-style-type: none;
}
h2 {
  text-transform: uppercase;
  text-align: center;
  padding-top: 30px;
  font-size: 2em;
}
a {
  text-decoration: none;
  color: black;
}
/* ******************* NAVBAR ******************* */
nav {
  overflow: hidden;
  background-color: #FFFAE1;
  position: fixed;
  width: 100%;
  opacity: 0.9;
}
header li {
  float: right;
  font-size: 1.2em;
}
header li a {
  text-decoration: none;
  display: block;
  text-align: center;
  padding: 18px 16px;
}
#logo {
  font-family: 'Dancing Script', cursive;
  font-weight: bold;
  float: left;
}
/* **************** IMAGE PRINCIPALE ************* */
#imagePrincipale {
  padding-top: 60px;
  background: url(media/image.JPG) no-repeat fixed 50% 50%;
  background-size: cover;
  height: 799px;
  
}
#imagePrincipale h1 {
  font-family: 'Dancing Script', cursive;
  text-align: center;
  color: antiquewhite;
  font-size: 6em;
  margin-top: 100px;
  text-shadow: 1px 3px 2px black;
}
#imagePrincipale1 {
  padding-top: 60px;
  background: url(media/image-principale1.JPG) no-repeat fixed 50% 50%;
  background-size: cover;
  height: 799px;
}

a.easter{

  font-size: 1px;
}

#merci {
  font-family: 'Dancing Script', cursive;
  text-align: center;
  color: black;
  font-size: 6em;
  margin-top: 100px;
  text-shadow: 1px 3px 2px white;
}


h3 {
  text-align: center;
  color:antiquewhite;
  font-size: 3em;
  text-shadow: 1px 3px 2px black;
}
/* *************** PRESENTATION ********************** */
#presentation {
  background-color: rgb(255, 220, 174);
  padding: 10px 0px 100px 0;
}
#texteIntro {
  padding: 0px 20%;
}

#Articles {
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 30px 10%;  
}

#Articles li {
  border-radius: 4px;
  display: flex;
   padding: 15;
   text-align: center;
  align-items: center;
  width: 500px;
  max-width: 5.5%;
  display: inline-block;
  background: white;
  padding: 1em 0em;
  margin: 
  70px;
  
}


#Articles h3 {
  text-align: center;
  color:black;
  font-size: 2em;
  text-shadow: 1px 3px 2px white;
}

#Articles a {
  width: 100%;
  
  text-decoration: none;
  color:black;
  text-shadow: 1px 3px 2px white;
}
#Articles h5 {
  text-align: center;
}


a.tuto{
    font-size: 1cm;
    

}


/* ******************* FOOTER ******************** */
footer {
  background-color: #524A3A;
  color: #FFFAE1;
  padding: 20px 0 10px 0;
  text-align: center;
}
form {
  margin: 0 auto;
  max-width: 900px;
}
input, textarea, button {
  border: none;
  width: 55%;
  padding: 15px 10px;
  margin: 1px 0;
  font-size: 1.2em;
  font-family: 'Advent Pro', sans-serif;
  border-radius: 8px;
}
textarea {
  height: 120px;
}
button {
  font-size: 1.5em;
  background-color: #FFFAE1;
}
button:hover {
  background-color: #e55039;
  color: #FFFAE1;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
#deuxiemeTrait {
  height: 1px;
  width: 75%;
  background-color: #FFFAE1;
  margin: 60px auto;
}
#copyrightEtIcons {
  display: flex;
  margin-bottom: 20px;
  padding: 0 10%;
}
#copyright {
  width: 50%;
  text-align: left;
  color: #FFFAE1;
}
#icons {
  width: 50%;
  text-align: right;
}
#icons a {
  display: inline-block;
  padding: 0 15px;
  font-size: 1.3em;
  color: #FFFAE1;
}
#icons a:hover {
  transform: scale(1.5);
  transition: 0.1s;
}

p {
  margin: 24px 0;
  line-height: 2;
}


/* Gestionnaire des modes nuit jour

body{
  background-color: #ffff;
  color:#333;
}
 :root {
    --ecriture: #333;
    --fond: #f1f1f1;
} 

html {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body {
  background: var(--fond); 
}
hr {
  width: 200px;
}
h1 {
  
  color: var(--ecriture); 
}
.contenu {
  padding: 50px 10%;
  text-align: justify;
   color: var(--ecriture);

}
.btn-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  border: 1px solid #333;
  display: flex;
  justify-content: center;
  align-items: center;    
  cursor: pointer;
}

body.dark {
  color: #fff!important;
  background: #333!important;
}
body.dark .btn-toggle {
  background: #f1f1f1;
  color: #333;
}


/* @media (prefers-color-scheme: light){
  body {
      background-color: #fff;
      color: #333;
  }
}
@media (prefers-color-scheme: dark){
  body {
      background-color: #333;
      color: #f1f1f1;
  }
}  */
