body {
  font-family: "Play", sans-serif;
  background-image: url(/image/hp_image/degrade_bg.png);
  background-attachment: fixed;
  margin-top: 130px;
  max-width: 100%;
  max-height: 100%;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.header_text {
  text-align: center;
  justify-content: center;
  align-items: center;
}
#logo {
  height: 100px;
}

nav {
  background: linear-gradient(#ffffffec, #ffffff00);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  font-size: larger;
}

nav ul {
  display: flex;
  justify-content: space-between;
  width: 60%;
}

nav li {
  list-style: none;
}

nav a {
  color: black;
  text-decoration: none;
  transition: 0.2s ease;
  border: 2px solid black;
  border-radius: 25px;
  padding: 7.5px;
  background-color: #d8d8d8c8;
}

nav a:hover {
  color: black;
  font-size: larger;
  background-color: #d8d8d8;
  border-radius: 25px;
  padding: 12.5px;
}

#icons {
  cursor: pointer;
  transition: linear;
  animation-duration: 0.1s;
  transform-origin: center;
  animation-timing-function: linear;
}

.button_active {
  font-weight: larger;
  border-radius: 25px;
  padding: 12.5px;
}

/*----Slide----*/

.slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 5px;
  width: max-content;
  text-align: center;
  border-radius: 20px;
  background-color: #d8d8d880;
  padding: 30px;
  box-shadow: 0 30px 50px #505050;
}

.slide img {
  background-color: #ffffff00;
  border-radius: 30px;
  border: 1.5px;
  border-color: black;
  border-style: solid;
  transition: 0.5s ease;
  width: max-content;
  height: 272px;
  text-align: center;
}

.slide img:hover {
  transform: scale(1.025);
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.24);
}

.slide-content {
  display: flex;
  align-items: center;
  max-width: 100%;
}

.slide-content p {
  margin-left: 20px;
  font-size: larger;
  justify-content: center;
  text-align: left;
}

.text-part {
  padding: 10px;
  margin: 50px;
  text-align: left;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 50%;
  font-size: larger;
  background-color: #d8d8d880;
  border-radius: 20px;
  box-shadow: 0 30px 50px #505050;
}

.text-image {
  margin: auto;
  display: block;
  background-color: #ffffff00;
  border-radius: 30px;
  border: 1.5px;
  border-color: black;
  border-style: solid;
  transition: 0.5s ease;
  width: max-content;
  height: 272px;
  text-align: center;
}

.text-image-plusieurs {
  display: flex;
  justify-content: space-between;
}

.text-image:hover {
  transform: scale(1.025);
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.24);
}

.medias_image {
  text-align: center;
  justify-content: center;
  align-items: center;
}

.medias_image img {
  max-width: 272px;
  margin: 20px;
}

.text-part ul {
  display: inline-block;
  margin: auto;
  text-align: left;
  padding: 20px;
}

#roadbook {
  background-color: white;
}

.texte-image-seule-zoom {
  background-color: rgb(168, 168, 168);
  border-radius: 30px;
  border: 2px;
  border-color: black;
  border-style: solid;
  transition: 0.5s ease;
  width: max-content;
  max-width: 100%;
  margin: auto;
  transition: 0.5s ease;
  display: block;
}

.texte-image-seule-zoom:hover {
  transform: scale(1.15);
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.24);
}

@media screen and (max-width: 1028px) {
  /* Styles spécifiques à exécuter pour les écrans inférieurs à 600px */
  .slide {
    max-width: 95%;
    height: auto;
    display: block;
    padding: 5px;
  }

  .slide-content {
    display: block;
  }

  .text-part {
    max-width: 95%;
    font-size: medium;
  }

  .text-image {
    max-width: 100%;
    height: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .text-image-plusieurs {
    display: block;
    margin: auto;
    width: 50%;
  }

  #icons {
    display: block;
  }
  #icons:before {
    content: "\2630";
  }
  .active #icons:before {
    content: "\2715";
  }

  #icons.active_animation {
    animation-name: rotate;
  }
  .active #icons.active_animation {
    animation-name: rotate;
  }

  nav {
    padding: 10px 2.5% 10px 2.5%;
  }

  nav img {
    background: rgb(255, 255, 255);
    background: radial-gradient(
      circle,
      rgba(255, 255, 255, 0.9696472338935574) 0%,
      rgba(255, 255, 255, 0.2133447128851541) 100%
    );
    border-radius: 20px;
    padding: 2.5px;
    box-shadow: 0 0 30px 10px #d8d8d8;
  }

  nav ul {
    position: fixed;
    top: -100%;
    left: 0px;
    flex-direction: column;
    font-size: larger;
    color: black;
    transition: 0.2s ease;
    background-color: #e0e0e0f0;
    border-radius: None;
    box-shadow: None;
    padding: 20px 20px;
    text-align: center;
    width: calc(100% - 40px);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  nav li {
    padding: 5px;
  }

  nav.active img {
    box-shadow: none;
    background-color: #e0e0e0f0;
  }

  nav.active ul {
    top: 100px;
  }

  nav.active li {
    margin: 5px;
  }

  nav.active a {
    border: none;
    background-color: none;
  }

  nav.active a:hover {
    font-size: inherit;
  }

  nav.active .button_active {
    border-radius: 25px;
    color: black;
    font-weight: larger;
    background-color: #d0d0d000;
  }

  nav.active a {
    color: black;
    text-decoration: none;
    transition: 0.2s ease;
    border: unset;
    border-radius: none;
    padding: 3.5px;
    background-color: #d8d8d800;
    margin: 5px;
  }

  nav.active {
    background-color: #e0e0e0f0;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(90deg);
  }
}
