body {
  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*/

}

.main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: rgb(0, 0, 0, 0.5);
  border-radius: 25px;
  margin-top: 20vh;
  margin-right: 30vh;
  margin-left: 30vh;
}

.main .image {
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  width: 50vh;
  height: 30vh;
  border-radius: 25px;
}

.main * {

  padding: 30px;
}

p {

  color: #fff;
}

H1,
H2 {
  font-family: "Orbitron", sans-serif;
  color: #fff;
}

/*Style pour l'affichage des voyages + Media Queries*/

.info-over {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  color: #fff;
}




.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);

}


@media screen and (min-width: 769px) {
  .image:hover+.infoText {
    left: 50px;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
  }

  .infoText {
    position: relative;
    top: 0;
    left: 0;
    transition: left 0.5s linear;
    color: rgb(255, 255, 255);
    margin-left: 20px;
    flex-grow: 1;
  }
}

@media screen and (max-width: 768px) {
  .main {
    margin: 20vh 10vh;
  }

  .info-over {
    flex-direction: column;
    align-items: flex-start;
  }

  .container-fluid {
    padding: 10px;
  }

  .container-fluid .image {
    width: 85%;
    height: auto;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
  }

  .infoText {
    position: relative;
    top: 0;
    left: 0;
    transition: top 0.5s linear;
    color: rgb(255, 255, 255);
    margin-left: 20px;
    flex-grow: 1;
  }

  .image:hover+.infoText {
    top: 20px;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
  }
}

@media screen and (max-width: 600px) {
  .main {
    margin: 40vh 5vh;

  }

  .main .image {
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    width: 40vh;
    height: 30vh;
    border-radius: 25px;
  }

  h1,
  h2 {
    font-size: 24px;
  }

  .container-fluid {
    margin: 10px 5px;
    padding: 10px;
  }

  .container-fluid .image {
    width: 70%;
    height: auto;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
  }

  .infoText {
    position: relative;
    top: 0;
    left: 0;
    transition: top 0.5s linear;
    color: rgb(255, 255, 255);
    margin-left: 20px;
    flex-grow: 1;
  }

  .image:hover+.infoText {
    top: 20px;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
  }
}






/* Styles pour le formulaire */


#form {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 75%;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
}

h2,
h3 {
  color: #ffffff;
  font-family: 'Arial', sans-serif;
}

label {
  font-weight: bold;
}

#form span::not(.form_title) {
  font-weight: bold;
  color: red;
}

#form {
  color: #fff;

}



.required {
  color: red;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
select {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

input[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 15px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

label {

  color: #ffffff;
}

input[type="submit"]:hover {
  background-color: #45a049;
}


#totalPrice {
  color: red;
  font-weight: bold;
}


select {
  background-color: #fff;
}


option {
  background-color: #f2f2f2;
  color: #333;
}

option:hover {
  background-color: #ddd;
}


.removeButton {
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 4px;
  transition-duration: 0.4s;
}

.removeButton:hover {
  background-color: #ff0000;
}