/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 1920px;
}

/* GENERAL */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
  line-height: 1.6;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-repeat: no-repeat;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

main {
  position: relative;
  flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 10px;
}

/* HEADER & NAVIGATION */

#header {
  display: flex;
  position: fixed;
  z-index: 990;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 60px;
  gap: 100px;
}

header a {
  font-family: "Space-Grotesk", sans-serif;
}

.menu {
  display: flex;
  align-items: center;
}

.menu ul {
  display: flex;
  align-items: center;
  gap: 40px;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-size: 1.3rem;
}

#logo {
  height: 60px;
  background-color: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0 0 10px 0;
  top: 0;
  left: 0;
  position: absolute;
}

/* Style du bouton hamburger */
.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #ef7214;
  margin-left: auto;
}

/* FOOTER */

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  background-position-x: center;
  background-color: #d9e7f3;
}

.footerContain {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70%;
}

.copyright {
  color: black;
  font-size: medium;
}

footer a {
  color: #ef7214;
  font-weight: 600;
}

footer ul {
  display: flex;
  gap: 50px;
  font-size: 20px;
}

footer img {
  height: 100px;
  padding: 5px;
  border-radius: 10px 10px 0 0;
}

/* MEDIA QUERIES */

@media (max-width: 1024px) {
  #header {
    justify-content: flex-end;
    width: 100vw;
  }

  .menu .hamburger {
    display: flex;
  }

  .menu ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #322c79;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    gap: 10px;
  }

  .hamburger {
    display: block;
    margin-right: 10px;
  }

  .menu ul.show {
    display: flex;
    justify-content: center;
  }

  .menu ul li {
    margin: 10px 0;
  }

  .menu ul li a {
    color: #fff;
    padding: 10px;
    display: block;
  }

  #logo {
    height: 50px;
  }

  footer img {
    margin: 0;
  }

  footer {
    display: flex;
    justify-content: space-between;
  }
}

/* Gestion de la couleur des liens dans le hamburger */
@media (max-width: 1024px) {
  #nav-links {
    background-color: rgba(0, 0, 0, 0.5);
    width: 90%;
    border-radius: 25px;
  }
  #nav-links a {
    color: white !important;
  }
  .footerContain {
    display: none;
  }
}

@media (max-width: 768px) {
  footer img {
    width: 50%;
    height: 50%;
  }
  .mentions-legale {
    font-size: x-small;
  }
  .copyright {
    font-size: x-small;
  }
}

@media (max-width: 650px) {
  #header {
    background-color: #322c79 !important;
  }
}

@media (max-width: 350px) {
  #logo {
    width: 250px;
  }
}

/*Style tarteaucitron*/
/* Conteneur de l'icône */
#tarteaucitronRoot {
  bottom: 15px; /* Position en bas */
  right: 15px; /* Position à droite */
  padding: 10px; /* Espace intérieur */
  width: 50px; /* Taille */
  height: 50px; /* Taille */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icône à l'intérieur */
#tarteaucitronRoot img {
  height: auto;
  max-height: 140px;
  content: url(../assets/images/logo-google.png);
}

/* Survol de l'icône */
#tarteaucitronRoot:hover {
  background-color: transparent; /* Couleur au survol */
  color: white;
  cursor: pointer;
}
