@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root{
  --main-font: 'Nunito', 'Arial', 'sans-serif';
  --main-color: #374B73;
  --second-color: #FF8197;
  --third-color: #FFCA6C;
}

main{
  padding-bottom: 100px;
}
body {
  height: 100vh;
  /* background-image: linear-gradient(#ffffffdc 35%), url("../img/wave-orange.jpg"); */
  background-image: linear-gradient(#fffcfca9 35%), url("../img/orange-bkg.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* min-height: 100px; */
}
h1, h2, h3, h4, h5, h6 {
  color: var(--main-color);
  margin-bottom: 20px;
  font-family: var(--main-font);
}
h1{
  text-align: center;
  margin-bottom: 40px;
}

li, p{
  color: var(--main-color);
  font-family: var(--main-font);
}
p{
  text-align: justify;
}

header{
  padding: 60px;
}
header img {
  height: 80px;
  display: block;
  margin: 0 auto 30px auto;
}
.container {
  width: 90%;
  margin: 0px auto;
}
.paragraph {
  margin-bottom: 40px;
  line-height: 1.6;
  font-size: 18px;
}
ul{
  margin-bottom: 0px;
  list-style-type: circle;
  padding-left: 60px;
  font-size: 18px;
  line-height: 1.6;
}
#title{
  font-size: 22px;
}
.illu{
  margin: 30px auto;
  width: 35vw;
  max-width: 600px;   /* pour éviter qu'elle ne soit trop large */
  display: block;
  object-fit: cover;

}
.illu img{
  padding: 0;
}
.illu.large{
  width: 50vw;
}

.text-with-img{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.text-with-img2{
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 30px;
}



/* ! FOOTER */

footer{
  height: 7vh;
  width: 100%;
  background: var(--main-color);
  color: white;
  display: flex;
  align-items: center;
  font-family: var(--main-font);
  font-size: 25px;
  position: fixed;
  left: 0; /* s'assurer que le footer occupe toute la largeur */
  right: 0;
  bottom: 0;
  z-index: 1000;
  padding: 0 20px; /* gère l'espace intérieur */
  gap: 0;
  flex-wrap: nowrap; /* tout sur une seule ligne */
}

/* conteneur centré (positionné exactement au centre du footer) */
.footer-center{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 60px; /* espace entre "Contact" et le groupe d'icônes */
}

/* icônes (espacement égal entre chaque icône) */
.footer-center .icons{
  display: flex;
  gap: 70px;
  align-items: center;
}
.icons img{
  width: 50px;
  height: 50px;
  filter: invert(100%);
  vertical-align: middle;
  margin-left: 10px;
}
.footer-center .contact {
    white-space: nowrap;
  }
#copyright{
  font-size: 12px;
  margin: 0;
  padding-left: 30px;
}
footer a{
  color: white;
  text-decoration: none;
  font-weight: bold;
}
footer p{
  color: var(--footer-text);
  letter-spacing: 0.1rem;
}
/* footer i{
  font-size: 40px;
  vertical-align: middle;
  margin-left: 10px;
} */





/* *MEDIA QUERIES */

@media (max-width: 960px) {
  /* Pour un écran < 960px, cette classe CSS s'applique */
  header img {
    height: 80px;
  }
  #copyright{
    font-size: 10px;
  }
  #title{
  font-size: 20px;
}
.icons img{
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 720px) {
  /* Pour un écran < 720px, cette classe CSS s'applique */
  header img {
    height: 60px;
  }
  .container{
    width: 80%;
  }
  footer{
    font-size: 18px;
  }
  .footer-center, .footer-center .icons{
    gap: 8px;
  }
  .text-with-img, .text-with-img2{
    flex-direction: column;
    align-items: center;
    gap: 0px;
  }
  .illu{
    width: 80vw;
  }
  .illu.large{
    width: 80vw;
  }
}

@media (max-width: 540px) {
  /* Pour un écran < 540px, cette classe CSS s'applique */
  header img {
    height: 40px;
    margin-bottom: 0;
  }
  .container p, ul{
    font-size: 15px;
  }
  .container h1{
    font-size: 20px;
  }
  #title{
  font-size: 19px;
}
  footer{
    font-size: 13px;
    gap: 11px;
  }
  .icons img{
    width: 30px;
    height: 30px;
    max-width: 100%;
  }
  #copyright{
  font-size: 7px;
  padding-left: 0px;
  }
}
