:root {
    --footer-background-color: #595959; /* Medium gray */
    --footer-text-color: #ffffff; /* White */
    --footer-home-button-color: #4CAF50; /* Green */
    --footer-home-text-color: white; /* White */
    --fonte: Arial, sans-serif;
}

/* NAVBAR */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: var(--footer-background-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
}

#nav-title {
  font-size: 1.5rem;
  font-family: var(fonte);
  color: var(--footer-text-color);
  text-align: center;
  flex-grow: 1;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Ajoute une ombre subtile pour améliorer la lisibilité */
}

/* FOOTER */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: var(--footer-background-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    padding: 0 20px;
    z-index: 1000;
}

footer p {
    font-size: 1rem; /* Texte légèrement plus petit */
    color: var(--footer-text-color);
}

#footer-logo {
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  margin-left: 10px;
}

#footer-home {
  font-size: 1rem;
  color: var(--footer-home-text-color);
  background-color: var(--footer-home-button-color);
  border-radius: 10px;
  padding: 10px 12px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /*Ombre subtile pour améliorer la lisibilité*/
  text-decoration: none; /*Supprime l'underline par défaut*/
  display: inline-block; /*Permet de définir la largeur et la hauteur*/
  width: 50px;
  margin-right: 10px;
  text-align: center; /*Ajout pour centrer le texte*/
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, transform 0.2s;
  font-weight: bold;
  cursor: pointer;
}

#footer-home:hover {
    background-color: #367c39;
    transform: scale(1.05);
}
