/* Base styles */
body {
  display: flex;
  min-height: 100vh;
  background: url("../items/affiche 02.jpg") no-repeat center center fixed;
  background-size: cover;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  font-family: Arial, sans-serif;
  flex-direction: column;
}

.listliks {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-left: 150px; /* Adjust as necessary */
  margin-top: 40%; /* Pushes the list to the bottom */
}

.listliks li {
  flex: 0 0 calc(33.33% - 10px);
  margin-bottom: 5px;
  list-style: none;
  width: 50%;
}

.listliks li a {
  display: block;
  text-align: center;
}

.listliks li a img {
  width: 15vw;
  height: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  body {
    background: url("../items/affiche0.jpg") no-repeat center center fixed;
    background-size: cover;
  }

  .listliks {
    margin-left: 0;
    margin-top: 10%;
  }

  .listliks li {
    flex-basis: calc(50% - 10px);
    justify-content: center;
    margin-top: 10%;
  }

  .listliks li a {
    width: 30vw;
  }

  .listliks li a img {
    width: 12vw;
  }
}

@media (max-width: 768px) {
  .listliks {
    margin-top: auto;
  }

  .listliks li {
    flex-basis: calc(50% - 10px);
    margin-top: 15%;
  }

  .listliks li a {
    width: 40vw;
  }

  .listliks li a img {
    width: 15vw;
  }
}

@media (max-width: 480px) {
  .listliks {
    margin-top: 140%;
    flex-direction: column;
    align-items: center;
  }

  .listliks li {
    flex-basis: calc(100% - 10px);
    margin-top: 22%;
    overflow: hidden;
  }

  .listliks li a {
    width: 80%;
    margin: 0 auto;
  }

  .listliks li a img {
    width: 100%;
  }
}

/* Fixed button style */
.fixed-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
  margin-left: 15%;
}

.fixed-button:hover {
  background-color: transparent;
}
