* {
  margin: 0;
}

body {
  font-family: 'Manrope', sans-serif;
  font-size: 1em;
  background-color: rgb(176, 222, 179);
}


a {
  color: #242424;
  text-decoration: none;
}

h1 {
  font-size: 3.5em;
  color: #425944;
  font-family: 'Manrope', sans-serif;
  text-align: center;
}

h2 {
  color: #000000;
  margin-top: 20px;
  font-weight: bolder;
}

p,
li {
  font-size: 1.1em;
  color: black;
  text-align: justify;
}

header,
footer {
  background-color: whitesmoke;
  padding: 20px 50px;
}

.cta {
  display: inline-block;
  background: linear-gradient(#79956e, #8bd26f);
  color: #425944;
  font-weight: bolder;
  border-radius: 50px;
  padding: 20px 30px;
  margin-top: 50px;
}

a:hover {
  text-decoration: underline;
}

.cta:hover {
  background: linear-gradient(#8bd26f, #79956e);
  text-decoration: none;
  transform: rotate3d(1, 0, 0, 360deg);
  transition: transform 0.5s ease;
}

.lien-icone:hover {
  opacity: 0.5;
}

section {
  padding: 40px;
}

footer,
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

nav a {
  margin-left: 30px;
}

@media screen and (max-width: 996px) {
  #navbar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

  header nav img {
    margin-bottom: 20px;
  }

  header,
  footer {
    padding: 20px 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
body {
  margin-top: 80px;
}
  h1 {
    font-size: 2em;
  }

  nav a {
    margin-left: 10px;
    margin-right: 10px;
  }
}

#liste-consommation {
  color: #000000;
}

#logothi {
  width: 70px;
  border-radius: 10px;
}

.photo:hover {
  transform: scale(1.05);
  box-shadow: 10px 10px 10px black;
  transition: transform 0.3s ease;
}

#logothi:hover {
  transform: scale(1.15);
  transition: transform 0.5s ease;
}

.photo {
  box-shadow: 10px 5px 5px black;
  transition: transform 0.3s ease;
}

section img {
  max-width: 600px;
}

.source {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: #f1f5f9;
  color: #334155;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.source a {
  color: #2563eb;
  text-decoration: none;
}

.source a:hover {
  text-decoration: underline;
}
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #f1f5f9;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: top 0.9s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
}
body {
  padding-top: 50px;
}