@import url('https://fonts.googleapis.com/css2?family=Poppins%3Awght%40100%3B200%3B300%3B400%3B500%3B600&display=swap%27%29%3B');
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background-color: #f4f4f4;
  color: #333;
  background-image: url(imagefondaccueil.png);
  padding-top: 80px; /* Ajuste en fonction de la hauteur du header */
}

header {
  background-color: transparent;
  color: white;
  padding: 20px 0;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

nav {
    width: 200px;
    height: 100%; /* prend toute la hauteur */
    background-color: transparent;
    padding-top: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed; /* reste à gauche même en scrollant */
    top: 0;
    left: 0;
}

nav a {
    color: #f4f4f4;
    text-decoration: none;
    margin: 15px 0;
    font-weight: 500;
    transition:  0.3s ease;
    padding: 10px 20px;
    width: 100%;
    text-align: center;
    border-bottom: 3px solid transparent;
}


nav a:hover {
  text-decoration: none;
  color: #b74b4b;
  transition-duration: 0.4s;
  border-radius: 10px;
  font-size: 20px;
}

.container {
  padding: 30px;
  max-width: 900px;
  margin: auto;
}

.intro {
  text-align: center;
  color: white;
}

.intro a{
    color: #00b4db;
    text-decoration: none;
}

.features {
    display: flex;
    flex-wrap: wrap-reverse;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
    text-align: center;
    
}
/**/
.feature {
  flex: 1;
  min-width: 250px;
  background: linear-gradient(to bottom, #fafafa, #d4d4d4);
  padding: 20px;
  transition: background-color 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature:hover{
    background: linear-gradient(to right, #8601c4, #4e026d);
    font-weight: bold;

    width: 100%;
}

h3{
    text-align: center;
}

@media screen and (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    z-index: 1000;
  }

  nav a {
    margin: 0 10px;
    padding: 10px;
    font-size: 14px;
    border-bottom: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
  }

  .container {
    padding-top: 100px;
  }
}


footer {
  text-align: center;

  background-color: transparent;
  color: white;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}