/*Je fais mon background sur la balise html pour que cela prenne aussi en compte la navbar*/
html {
  background-image: linear-gradient(to bottom, #0f2027, #203a43, #2c5364);
  margin: 0;
  /* Supprime les marges par défaut */
  padding: 0;
  /* Supprime les marges internes par défaut*/

}

.filtres {
  margin-top: 15vh;
}

/*Affichage des voyages et les informations*/

.info-over {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
}

.titre {
  font-size: 40px;
  font-family: "Orbitron", sans-serif;
}



.Balade {
  color: rgb(47, 255, 0);
  font-size: 20px;
}

.Moyen {
  color: rgb(255, 230, 0);
  font-size: 20px;
}

.Attention {
  color: #ff0000;
  font-size: 20px;
}


.container-fluid {
  background-color: rgba(0, 0, 0, 0.7);
  margin: 50px auto;
  max-width: 90%;
  border-radius: 25px;
  padding: 20px;
  display: flex;
}



.container-fluid .image {
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  margin-top: 18px;
  margin-left: 50px;
  width: 50vh;
  height: 30vh;
  border-radius: 25px;

}

.image:hover {
  transform: scale(1.1);

}

.Danger {
  display: none;
}

/* Styles pour la section des filtres */


#searchInput {
  width: 250px;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  margin-right: 10px;
}


select {
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: #fff;
}

option {
  background-color: #f2f2f2;
  color: #333;
}

#sortOrder {
  margin-left: 10px;
}

option {
  background-color: #f2f2f2;
  color: #333;
}

option[value="Balade"] {
  background-color: #b3e6ff;
}

option[value="Moyen"] {
  background-color: #ffc266;
}

option[value="Attention"] {
  background-color: #ff9999;
}

option:hover {
  background-color: #ddd;
}


@media screen and (min-width: 769px) {
  a:hover+.infoText {
    left: 50px;
    transition: left 0.3s ease-in-out;
  }

  .infoText {
    position: relative;
    top: 0;
    left: 0;
    transition: left 0.5s linear, top 0.5s linear;
    ;
    color: rgb(255, 255, 255);
    margin-left: 20px;
    flex-grow: 1;
  }
}

@media screen and (max-width: 768px) {

  #searchInput,
  select,
  #sortOrder {
    display: flex;
    flex-direction: column;
    margin-top: 10vh;
  }

  a:hover+.infoText {
    top: 50px;
    transition: top 0.3s ease-in-out;
  }

  .filtres {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .info-over {
    flex-direction: column;
    align-items: flex-start;
  }

  /*Style pour l'affichage des voyages*/

  .container-fluid {
    padding: 10px;
  }

  .container-fluid .image {
    width: 80%;
    height: auto;
    margin-top: 20px;
    margin-left: 8vw;
    margin-right: 8vw;
  }

  .infoText {
    position: relative;
    top: 0;
    left: 0;
    transition: top 0.5s linear;
    color: rgb(255, 255, 255);
    margin-left: 20px;
    flex-grow: 1;
  }

  .titre {
    font-size: 30px;
  }

  .Balade,
  .Moyen,
  .Attention {
    font-size: 16px;
  }
}

@media screen and (max-width: 600px) {
  .filtres {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15vh;
  }

  .titre {
    font-size: 24px;
  }

  .Balade,
  .Moyen,
  .Attention {
    font-size: 14px;
  }

  .container-fluid {
    padding: 5px;
  }

  .container-fluid .image {
    width: 70%;
    height: auto;
    margin-top: 20px;
    margin-left: 12vw;
    margin-right: 12vw;
  }

  .infoText {
    position: relative;
    top: 0;
    left: 0;
    transition: top 0.5s linear;
    color: rgb(255, 255, 255);
    margin-left: 20px;
    flex-grow: 1;
  }

  a:hover+.infoText {
    top: 50px;
    transition: top 0.5s linear;
  }

  .image:hover {
    transform: scale(1.1);
  }
}

@media screen and (max-width: 400px) {

  .container-fluid .image {
    width: 50%;
    height: auto;
    margin-top: 20px;
    margin-left: 12vw;
    margin-right: 12vw;
  }

  .infoText {
    position: relative;
    top: 0;
    left: 0;
    transition: top 0.5s linear;
    color: rgb(255, 255, 255);
    margin-left: 20px;
    flex-grow: 1;
  }


}