

@import url('https://fonts.googleapis.com/css2?family=Limelight&family=Montserrat:wght@300&display=swap');
@media screen and (min-width: 950px) {

body{
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f2f2f2;
}

/*css provisoire */
.travaux-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height:100%;
    background-color: #f2f2f2;
}
.travaux-form{
    width: auto;
    height: auto;
    text-align: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
}
/*---------------------------------------------------------*/

/*css de page profil */

  .profile-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);

  }
  .image{
    position: relative;
    height: 150px;
    width: 150px;
  }
  .image .profile-pic{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  }
  .data{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
  }
  .data h2{
    font-size: 23px;
    font-weight: 600;
  }
  span{
    font-size: 18px;
  }
  .row{
    display: flex;
    align-items: center;
    margin-top: 10px;
  }
  .row .info{
    text-align: center;
    padding: 0 10px;
  }
  .buttons{
    display: flex;
    align-items: center;
    padding: 10px;

  }
  .buttons .btn{
    padding: 10px;
    width: 110px;
    text-align:center;
    border-radius: 4px;
    border: none;
    text-decoration: none;
    background-color: #FFD700;
    color: #fff;
    cursor: pointer;
    margin: 5px;
  }
  .buttons .btn:hover{
    background-color: black;
  }

/*-------------------------------------*/
/*Css de tout les formulaires de site connexion , inscription , contacts , trajet , recherche */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height:auto;
    padding: 10px;
    background-color: #f2f2f2;
    
}
.login-form{
    width: 400px;
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}
.login-form h2{
    text-align: center;
    margin-bottom: 20px;
}

.login-form form {
    display: flex;
    flex-direction: column;
}
.login-form label{
    font-weight: bold;
    margin-bottom: 10px;
}
.login-form input[type="text"],.profile-card input[type="text"],
.login-form input[type="email"], .profile-card input[type="email"],
.login-form input[type="password"],
.login-form input[type="text"],
.login-form  input[type="password"], .profile-card input[type="password"],
.login-form textarea ,   
.login-form input[type="date"],
.login-form input[type="number"],
.login-form input[type="time"] {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}
.login-form p {
    color: red;
    margin-bottom: 10px;
}
.login-form input[type="submit"], .profile-card input[type="submit"],
.login-form input[type="submit"] {
    padding: 10px;
    border-radius: 4px;
    border: none;
    background-color: #FFD700;
    color: #fff;
    cursor: pointer;
}

.login-form input[type="submit"]:hover, .profile-card input[type="submit"]:hover,
.login-form input[type="submit"]:hover {
    background-color: black;
}
/*--------------------------------------------------------------*/






/* CSS de partie navbar de header.inc.php */
.navbar {
    background-color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar img {
    width: 120px;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar ul li {
    margin-left: 10px;
}

.navbar ul li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    padding: 5px;
    border-radius: 4px;
}


.forgot-password {
    text-align: center;
    margin-top: 10px;
}

.forgot-password a {
    color: #999;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}
.navbar {
    background-color: #FFFFFF; /* Couleur de fond blanche */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    font-family: 'Montserrat', sans-serif;
}

.navbar img {
    width: 10px;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
#eng_profil:not(:first-child){
    margin-left: 100px;
    margin-right: 50px;
}
.navbar ul li:not(:first-child) {
    margin-left: 30px;
}
.navbar li {
    margin-right: 20px;
    position: relative;
}

.navbar li a {
    color: #000000; /* Couleur du texte noir */
    text-decoration: none;
    font-size: 14px;
    padding: 10px;
    position: relative;
    z-index: 1; /* Mettre le texte au-dessus du cercle */
}

.navbar li a:before  {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background-color: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: -1; /* Mettre le cercle en arrière-plan */
}

.navbar li a:hover:before {
    width: 30px; /* Largeur du cercle jaune */
    height: 30px; /* Hauteur du cercle jaune */
    background-color: #FFD700; /* Couleur du cercle jaune */
}
.navbar li a.icon:hover:before {
    background-color: white; /* Couleur du cercle jaune */
}



.navbar .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #FFFFFF;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 8px;
    z-index: 1;
}

.navbar li:hover .dropdown-menu {
    display: block;
}

.navbar .dropdown-menu a {
    display: block;
    color: #000000;
    text-decoration: none;
    padding: 0.5px;
    font-size: 12px;
}
/*-----------------------------------------------------------------*/
/*css de footer */
footer {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    
  }
  
  .container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }
  
  .column {
    flex: 1;
  }
  
  h3 {
    margin-bottom: 10px;
  }
  
  ul {
    list-style-type: none;
    padding: 0;
  }
  
  li {
    margin-bottom: 5px;
  }
  
  a {
    text-decoration: none;
    color: #333;
  }
  
/*----------------------------------------------------------------*/
/*Css des tableaux de gestions*/
table {
  width: 100%;
  border-collapse: collapse;
}

table td, table th {
  padding: 10px;
  border: 1px solid #ccc;
}

table thead {
  background-color: #f2f2f2;
}

table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.image3 {
  width: 50px;
  height: auto;
}
/*---------------------------------------------------*/
/*css de pages mentions légales */

/* Réinitialisation des marges et des paddings */
body, h1, p {
  margin: 0;
  padding: 0;
}

/* Centre le contenu de la page */
.content {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}

/* Centre le titre */
h1.center {
  text-align: center;
}

/* Ajoute une indentation aux paragraphes de texte */
.indent {
  text-indent: 20px;
}

/*-------------------------------------------------*/
/*css de la page reservations et publication*/
/*-------------------------------------------------*/
/* Réinitialisation des marges et des paddings */
body, h1, p {
  margin: 0;
  padding: 0;
}

/* Centre le contenu de la page */


.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.trip {
  background-color: #fff;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.trip .title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.trip .location {
  font-size: 18px;
  margin-bottom: 10px;
}

.trip .time {
  font-size: 16px;
  color: #888;
  margin-bottom: 10px;
}

.trip .details {
  font-size: 16px;
  margin-bottom: 10px;
}

.trip .button {
  padding: 10px 20px;
  background-color: #FFD700;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.trip .button:hover {
  background-color: black;
}

.trip .button:focus {
  outline: none;
}
    /* Styles CSS */


    main {
      max-width: 400px;
      padding: 20px;
      box-sizing: border-box;
      background-color: #fff;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      border-radius: 5px;
    }

    #listing {
      margin-top: 20px;
    }

    .photo {
      margin-bottom: 20px;
    }

    .photo p {
      margin: 0;
      font-size: 16px;
      line-height: 1.5;
    }

    .photo label {
      font-weight: bold;
    }

    .photo button {
      padding: 10px 20px;
      background-color: #FFD700;
      color: #fff;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 16px;
      margin-top: 10px;
    }

    .photo button:hover {
      background-color: #000000;
    }

    .photo button:focus {
      outline: none;
    }

    /* Styles pour les données de profil de trajets */
    .profil {
      border: 1px solid #ccc;
      padding: 10px;
      margin-top: 10px;
      background-color: #f9f9f9;
    }

    .profil label {
      font-weight: bold;
      color: #555;
    }

    .profil p {
      margin: 0;
      color: #888;
    }
  /*-----------------------------------------------------*/
  /*css de page index */ 
  
  section {
    width: auto;
    background-color: #fff;
    padding: 20px;
  }
  
  .indexdiv {
    width: auto;
    height: auto ;
    margin: 0 auto;
    background-image: url('../imgs/index1.webp');
    background-position: right;
    background-repeat: no-repeat;
  }
  .indexdiv1 {
    width: auto;
    height: auto ;
    margin: 0 auto;
    background-image: url('../imgs/photo1.webp');
    background-position: right;
    background-repeat: no-repeat;
    background-size: 40%;
  }
  .indexdiv3 {
    width: auto;
    height: auto ;
    margin: 0 auto;
    background-color: #f2f2f2;
    background-repeat: no-repeat;
    background-size: auto;
  }
  .indexdiv2 {
    display: auto;
    align-items: center;  
    height: auto;
    width: 60%;
  }
  .indexdiv32 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;  
    height: auto;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
  }
    .indexdiv12 {
    display: auto;
    align-items: center;  
    height: auto;
    width: 50%;
    text-align: left;
  }
  h1 {
    font-size: 62px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 900;
  }
  
  .indexp {
    font-size: 30px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 30px;
  }
  
  .indexa {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFD700ff;
    color: #fff;
    text-decoration: none;
    font-size: 40px;
    border-radius: 4px;
  }
  
  .indexa:hover {
    background-color: #000000;
  }
  

  
  /*------------------------------------------------------*/ 
}
 /*---------------------------------------------------------------------------------------------------------*/



















 /*---------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 950px) {
*{
flex-wrap: wrap;
}
body{
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f2f2f2;
}

/*css provisoire */
.travaux-container{
  display: flex;
  justify-content: center;
  align-items: center;
  height:100%;
  background-color: #f2f2f2;
}
.travaux-form{
  width: auto;
  height: auto;
  text-align: center;
  background-color: #fff;
  border-radius: 1%;
  padding: 1.2%;
}
/*---------------------------------------------------------*/

/*css de page profil */

.profile-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 2px;
  padding: 5px;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);

}
.image{
  position: relative;
  height: 50px;
  width: 50px;
}
.image .profile-pic{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.data{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5px;
}
.data h2{
  font-size: 14px;
  font-weight: 60;
}
span{
  font-size: 8px;
}
.row{
  display: flex;
  align-items: center;
  margin-top: 2px;
}
.row .info{
  text-align: center;
  padding: 0 2px;
}
.buttons{
  display: flex;
  align-items: center;
  padding: 2px;

}
.buttons .btn{
  padding: 2px;
  width: 89px;
  text-align:center;
  border-radius: 4px;
  border: none;
  text-decoration: none;
  background-color: #FFD700;
  color: #fff;
  cursor: pointer;
  margin: 1px;
}
.buttons .btn:hover{
  background-color: black;
}

/*-------------------------------------*/
/*Css de tout les formulaires de site connexion , inscription , contacts , trajet , recherche */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height:auto;
  padding: 2px;
  background-color: #f2f2f2;
  
}
.login-form{
  width: 90%;
  background-color: #fff;
  border-radius: 2px;
  padding: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
}
.login-form h2{
  text-align: center;
  margin-bottom: 4px;
}

.login-form form {
  display: flex;
  flex-direction: column;
}
.login-form label{
  font-weight: bold;
  margin-bottom: 2px;
}
.login-form input[type="text"],.profile-card input[type="text"],
.login-form input[type="email"], .profile-card input[type="email"],
.login-form input[type="password"],
.login-form input[type="text"],
.login-form  input[type="password"], .profile-card input[type="password"],
.login-form textarea ,   
.login-form input[type="date"],
.login-form input[type="number"],
.login-form input[type="time"] {
  padding: 1.2px;
  border-radius: 1px;
  border: 1px solid #ccc;
  margin-bottom: 1.2px;
}
.login-form p {
  color: red;
  margin-bottom: 2px;
}
.login-form input[type="submit"], .profile-card input[type="submit"],
.login-form input[type="submit"] {
  padding: 2px;
  border-radius: 1px;
  border: none;
  background-color: #FFD700;
  color: #fff;
  cursor: pointer;
}

.login-form input[type="submit"]:hover, .profile-card input[type="submit"]:hover,
.login-form input[type="submit"]:hover {
  background-color: black;
}
/*--------------------------------------------------------------*/






/* CSS de partie navbar de header.inc.php */
.navbar {
  background-color: #fff;
  padding: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar img {
  width: 20px;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.navbar ul li {
  margin-left: 10px;
}

.navbar ul li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  padding: 1px;
  border-radius: 1px;
}


.forgot-password {
  text-align: center;
  margin-top: 1px;
}

.forgot-password a {
  color: #999;
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: underline;
}
.navbar {
  background-color: #FFFFFF; /* Couleur de fond blanche */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px;
  font-family: 'Montserrat', sans-serif;
}

.navbar img {
  width: 1px;
}

.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
#eng_profil:not(:first-child){
  margin-left: 10px;
  margin-right: 5px;
}
.navbar ul li:not(:first-child) {
  margin-left: 3px;
}
.navbar li {
  margin-right: 2px;
  position: relative;
}

.navbar li a {
  color: #000000; /* Couleur du texte noir */
  text-decoration: none;
  font-size: 8px;
  padding: 1px;
  position: relative;
  z-index: 1; /* Mettre le texte au-dessus du cercle */
}

.navbar li a:before  {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background-color: transparent;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: -1; /* Mettre le cercle en arrière-plan */
}

.navbar li a:hover:before {
  width: 6px; /* Largeur du cercle jaune */
  height: 6px; /* Hauteur du cercle jaune */
  background-color: #FFD700; /* Couleur du cercle jaune */
}
.navbar li a.icon:hover:before {
  background-color: white; /* Couleur du cercle jaune */
}



.navbar .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #FFFFFF;
  box-shadow: 0px 1px 6px 0px rgba(0,0,0,0.2);
  padding: 1px;
  z-index: 1;
}

.navbar li:hover .dropdown-menu {
  display: block;
}

.navbar .dropdown-menu a {
  display: block;
  color: #000000;
  text-decoration: none;
  padding: 0.5px;
  font-size: 7px;
}
/*-----------------------------------------------------------------*/
/*css de footer */
footer {
  background-color: #ffffff;
  padding: 2px;
  text-align: center;
  bottom:0px;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.column {
  flex: 1;
}

h3 {
  margin-bottom: 1px;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin-bottom: 5px;
}

a {
  text-decoration: none;
  color: #333;
}

/*----------------------------------------------------------------*/
/*Css des tableaux de gestions*/
table {
width: 100%;
border-collapse: collapse;
}

table td, table th {
padding: 1px;
border: 1px solid #ccc;
}

table thead {
background-color: #f2f2f2;
}

table tbody tr:nth-child(even) {
background-color: #f9f9f9;
}

.image3 {
width: 15px;
height: auto;
}
/*---------------------------------------------------*/
/*css de pages mentions légales */

/* Réinitialisation des marges et des paddings */
body, h1, p {
margin: 0;
padding: 0;
}

/* Centre le contenu de la page */
.content {
max-width: 100%;
margin: 0 auto;
padding: 2px;
}

/* Centre le titre */
h1.center {
text-align: center;
}

/* Ajoute une indentation aux paragraphes de texte */
.indent {
text-indent: 8px;
}

/*-------------------------------------------------*/
/*css de la page reservations et publication*/
/*-------------------------------------------------*/
/* Réinitialisation des marges et des paddings */
body, h1, p {
margin: 0;
padding: 0;
}

/* Centre le contenu de la page */


.container {
max-width:100%;
margin: 0 auto;
padding: 2px;
}

.trip {
background-color: #fff;
padding: 2px;
margin-bottom: 2px;
box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
border-radius: 1px;
}

.trip .title {
font-size: 8px;
font-weight: bold;
margin-bottom: 1px;
}

.trip .location {
font-size: 8px;
margin-bottom: 1px;
}

.trip .time {
font-size: 8px;
color: #888;
margin-bottom: 1px;
}

.trip .details {
font-size: 8px;
margin-bottom: 1px;
}

.trip .button {
padding: 1px 2px;
background-color: #FFD700;
color: #fff;
border: none;
border-radius: 1px;
cursor: pointer;
font-size: 8px;
}

.trip .button:hover {
background-color: black;
}

.trip .button:focus {
outline: none;
}
  /* Styles CSS */


  main {
    max-width: 100%;
    padding: 2px;
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
    border-radius: 1px;
  }

  #listing {
    margin-top: 2px;
  }

  .photo {
    margin-bottom: 2px;
  }

  .photo p {
    margin: 0;
    font-size: 8px;
    line-height: 0.5;
  }

  .photo label {
    font-weight: bold;
  }

  .photo button {
    padding: 1px 2px;
    background-color: #FFD700;
    color: #fff;
    border: none;
    border-radius: 1px;
    cursor: pointer;
    font-size: 8px;
    margin-top: 1px;
  }

  .photo button:hover {
    background-color: #000000;
  }

  .photo button:focus {
    outline: none;
  }

  /* Styles pour les données de profil de trajets */
  .profil {
    border: 1px solid #ccc;
    padding: 1px;
    margin-top: 1px;
    background-color: #f9f9f9;
  }

  .profil label {
    font-weight: bold;
    color: #555;
  }

  .profil p {
    margin: 0;
    color: #888;
  }
/*-----------------------------------------------------*/
/*css de page index */ 

section {
  width: auto;
  background-color: #fff;
  padding: 2px;
}

.indexdiv {
  width: auto;
  height: auto ;
  margin: 0 auto;
  background-image: url('../imgs/index1.webp');
  background-size: 30%;
  background-position: right;
  background-repeat: no-repeat;
}
.indexdiv1 {
  width: auto;
  height: auto ;
  margin: 0 auto;
  background-image: url('../imgs/photo1.webp');
  background-position: right;
  background-repeat: no-repeat;
  background-size: 30%;
}
.indexdiv3 {
  width: auto;
  height: auto ;
  margin: 0 auto;
  background-color: #f2f2f2;
  background-repeat: no-repeat;
  background-size: auto;
}
.indexdiv2 {
  display: auto;
  align-items: center;  
  height: auto;
  width: 60%;
}
.indexdiv32 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;  
  height: auto;
  width: 100%;
  padding-top: 2px;
  padding-bottom: 2px;
}
  .indexdiv12 {
  display: auto;
  align-items: center;  
  height: auto;
  width: 50%;
  text-align: left;
}
h1 {
  font-size: 19px;
  color: #333;
  margin-bottom: 2px;
  font-weight: 90;
}

.indexp {
  font-size: 9px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 3px;
}

.indexa {
  display: inline-block;
  padding: 1px 2px;
  background-color: #FFD700ff;
  color: #fff;
  text-decoration: none;
  font-size: 9px;
  border-radius: 1px;
}

.indexa:hover {
  background-color: #000000;
}
iframe{
  display: flex;
  width: 90%;
  height: auto;
}

}