header {
    background-color: rgb(174,169,180);
    position : relative;
    display: flex;

}
header section{
    width: 33%;
}

/*---------------------menue header-------------------*/

a{
    text-decoration: none;
    color:black;
    text-align: center;
}
#connecter_header{
    width: 100%;
}
#test{
    margin-left: 50%;
   
}
#test p {
    width : 150px;
    line-height: 0.5em;
}
.fa-solid{
    font-size: 250%;
    width: 50px;
    height: 50px;
    margin-top: 5px;
}

.niveau2{
    list-style-type: none;
    margin-top:2.5%;
    margin-left: 10px;
    width: 25px;
}

.niveau2>li>a{
    text-decoration: none;
    color:black;
    font-weight: bold;
    margin-top: 10px;;
    font-size: 1.5em;
    text-decoration: none;

}

.niveau3{
    display:none;
    line-height: 50px;
    font-weight: bold;
    background-color: rgb(174,169,180);
    border: 1px solid black;
    list-style-type: none;
    font-size: 1em;
    margin: 0;
    padding: 0;
    width: 150px;
    border-radius: 15px;


}
.niveau3 a {
    text-decoration: none;
    color:black;
    
}

.niveau3 a:hover{
    cursor:default;

}

.niveau3 li:hover {
    background-color: rgba(63, 67, 63, 0.186);
    cursor:default ; 
    border-radius: 15px;
    text-align: center;
    /*--mettre un transition--*/
}

.niveau2:hover .niveau3{
    display:block;
    position: absolute;
}




h1{
    text-align: center;
}

h1#compte{
    text-align: left;
    margin-top:0;
    width: 120px;
}

header>input{
    width: 25%;
    height: 20%;
    margin-left: 5%;
    display:inline-block;
    vertical-align: middle;
    line-height: normal;
    align-self: center;
}
body {
    height:100vh;
    margin: 0;
    margin-top: 0;
    padding:0;
    display:flex;
    flex-direction : column;
}

/**---------------------------Main-------------------------*/
main{
    flex-grow:1;
    display:flex;
    flex-wrap:wrap;
}

main article {
    display:flex;
    align-items: center;
    width:100%;
  }
  


main article a{
    
    background-color:rgb(153, 150, 150);
    border : 1px solid black;
    text-align: center;
    width: 33.3333333333333333333333333333%;
      
     /* background-color: blue;
      border-color: blue;*/
  }

  .box {
    width: 40%;
    margin: 0 auto;
    background: rgba(255,255,255,0.2);
    padding: 35px;
    border: 2px solid #fff;
    border-radius: 20px/50px;
    background-clip: padding-box;
    text-align: center;
  }
  

  .overlay {
    position:absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
  }
  .overlay:target {
    visibility: visible;
    opacity: 1;
  }
 /*-----pop up connexion-----*/ 
  .popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    max-width: 40%;
    max-height: 70%;
    position: relative;
    transition: all 2s ease-in-out;
  }
  
  .popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
  }




/*------pop up billet-------*/
  .popup1 {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 60%;
    position: relative;
    transition: all 2s ease-in-out;
  }
  
  .popup1 .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
  }



  
  .content .boutton{
    display : flex;
    flex-direction: column;
    align-items: center;
    margin-top: 25px;
  }

  .content .boutton button{
    margin-top: 10px;
    border-radius: 10px;
  }

  .content .annuler_popup{
    transition: all 200ms;
    background-color: red;
    width: 30%;
}

.content .boutton .Connecter{
    background-color: green;
    width: 30%;
}

.content .boutton .deconnecter{
    background-color:  orange ;
    width: 30%;
}
.content .boutton a{
    text-decoration: none;
    color:black;
    width:30%;
}


/*----permet de faire le ticket dans fenetre panier----*/
.resultat_exemple{
    display:flex;
    flex-wrap:wrap;
    border-radius: 5px;

}



.resultat_exemple h1{
    width: 15%;
}

.resultat_exemple .type_transport{
    width:5%;
}

.resultat{
    display:flex;
    flex-wrap:wrap;
    border:1px solid black;
    border-radius: 5px;
    
}

.resultat h1{
    width: 5%;
    margin-left: 25px;
}


.resultat_exemple p{
    margin-right:25px ;
}


.resultat_exemple2{
    display:flex;
    flex-wrap:wrap;
    border-radius: 5px;
    border:1px solid black;
    margin-top : 10px;
}



.resultat_exemple2 h1{
    width: 15%;
}

.resultat_exemple2 p{
    margin-right:25px ;
    
}
.resultat_exemple2 .type_transport{
    width:5%;
    font-family:'Avenir-Medium',Arial,Helvetica,sans-serif;;
}



.resultat_exemple2 .supprimer_trajet{
    color:red;
    background-color: rgb(255,0,0,0.1);
    text-align:center;
    font-weight: bold;
    font-size: 150%;
    margin-top: 0.5vw;
    border:2px solid red;
    border-radius: 100%;
    height: 2em;
    width: 2em;
}



#num_trajet{
    width: 10%;
    margin-left: 10px;
}


.resultat_exemple2 .supprimer_trajet p{
    margin-top: 25%;
    margin-left: 25%;
}

.num_trajet_billet h1{
    width: 5%;
    margin-left: 25px;
}


#billet_final{
    overflow : auto;
    height : 250px;
}


/*-----------------pop up snapchat--------------------------------*/
/*------pop up billet-------*/
.popup_snap {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 60%;
    position: relative;
    transition: all 2s ease-in-out;
  }
  
  .popup_snap .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
  }



  .popup_snap .image_snap{
    text-align: center;
  }
  .popup_snap img{
      height: 50vh;
      border-radius: 100px;
  }


  .content .boutton{
    display : flex;
    flex-direction: column;
    align-items: center;
    margin-top: 25px;
  }

  .content .boutton button{
    margin-top: 10px;
    border-radius: 10px;
  }

  .content .annuler_popup{
    transition: all 200ms;
    background-color: red;
    width: 30%;
}

.content .boutton .Connecter{
    background-color: green;
    width: 30%;
}

.content .boutton .deconnecter{
    background-color:  orange ;
    width: 30%;
}
.content .boutton a{
    text-decoration: none;
    color:black;
    width:30%;
}





/*---permet de faire le aside avec question---*/


aside.aside1 {
    width: 25%;
    background-color: rgb(185,181,190);
    height: 100%;
}



form{
    display:flex;
    flex-direction: column;
    align-items: center;
}

aside h1, aside input, aside button{
    text-align: center;
    margin: 15px;
}

.valider {
    background-color: green;
    border-radius: 10px;
    width: 150px;
    font-weight: bold;
}

.reini{
    background-color: orange;
    border-radius: 10px;
    font-weight: bold;
    resize: both;
}

.annuler{
    background-color: red;
    border-radius: 10px;
    font-weight: bold;
    border-color: 1px solid black;
    
}

.si_pas_co1, .si_pas_co2, .si_pas_co3{
    display: none;
}

.si_pas_co_active{
    display : block;
}

.hidden{
    display:none;
}

.visible{
    display:block;
}

.valider2 {
    background-color: green;
    border-radius: 10px;
    width: 150px;
    font-weight: bold;
    display:none;
}

.valider2_active{
    background-color: green;
    border-radius: 10px;
    width: 150px;
    font-weight: bold;
}



h1#titre{
    width: 50% ;
    text-align: center;
}

aside input{
    width: 50%;
}



.sectionbillet{
    border: solid 1px black;

}


/*------------affichage fenetre si trajet existe------------*/


.resultat_trajet{
    width: 25%;
    height : 100%;
    display:none;
    background-color: rgb(185,181,190);
    border-left : solid 1px black;
}

.resultat_trajetactiver{
    width: 25%;
    height : 100%;
    background-color: rgb(185,181,190);
    border-left : solid 1px black;
}

.trajet_trouver {
    border : solid 1px black;
    display : flex;
    flex-wrap:wrap;
    border-radius : 10px;
    margin-bottom: 10px;
    overflow : auto;
    background-color: rgb(220, 217, 224);
    margin-left: 10px;

}

#text_trajet {
    overflow: auto;
    height: 75vh;
}

.trajet_trouver{
    width: 95%;
}

.trajet_trouver h1{
    width : 27%;
}

.trajet_trouver h2{
    font-size: 100%;
    width:50%;
    text-align : center;
}

.trajet_trouver p{
    width: 31%;
    text-align: center;
}


.trajet_trouver button{
    height : 5%;
    width : 15%;
    align-items: center;
    margin-top: 10%;
    background-color: green;
    border-radius : 10px;
    font-weight: bold;
}

.trajet_trouver button:active{
    background-color: #333;
}

.trajet_trouver .prix{
    width: 19%;
    text-align: center;
}



/*-----------------------------funetre pop up de condition générale--------------------------*/

.texte_pop-up{
    background-color:rgb(197, 191, 204);
	height: 436px;
	overflow:auto; 
    width:100%;
	font-size:11px;

}
.texte_pop-up p{
    font-size : 2em;

}


/*-----------------------------footer--------------------------------*/




footer{
    display:flex;
    background-color: rgb(185,181,190);
    width:100%;
    border-top: solid 1px black;
}

footer .info2{
    
    width: 46%;
    height: 35%;
    margin-left: 20px;
    margin-top: 10px;
    font-size: 70%;
    text-align: right;
    background-color: rgb(73,69,79);
    color: rgb(191,173,233);
    border-radius: 15px;
}

footer input#input1{
    width: 45%;
    height: 15%;
    margin-left: 20px;
    text-align: left;
    background-color: rgb(73,69,79);
    color : rgb(191,173,233);
    border-radius: 15px ;
}
footer .info2 h2 {
    text-align: left;
}



footer .info{
    width: 50%;
    display:flex;
}


footer .info h1{
    width: 100%;
    text-align: left;
}


footer article.info section.part1{
    width: 50%;
}

footer article.info section.part1 a {
    text-decoration: none;
    color : black;
}

footer .info .part1 i {
    font-size: 250%;
}


footer .info section.part2{
    display:flex;
    flex-direction: column;
}

footer .info button{
    margin-top: 5px ;
}

footer .info section.part2 i{
    font-size: 25px;
}

