body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: rgb( 96.1% , 96.1% , 86.3% );
    background-size: cover; 
}


header {
background-color: #273D90;
padding: 5px 0px; 
height: 80px; 
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 30px;
position: relative;
}

.logo img {
width: 80px; 
height: 80px;
}

nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}

nav ul li {
display: inline-block;
text-align: center;
position: relative;
margin-left: 0px;
margin-right: 300px;

}

nav ul li a {
text-decoration: none;
color: #fff;
font-weight: bold;
font-size: 25px;
text-align: center;
}
nav ul li a:hover{
color: orange;
}
footer {
background-color: #273D90;
color: #fff;
padding: 10px;
text-align: center;
display: flex; /* Pour activer le modèle flexbox */
flex-direction: column;
justify-content: space-between;
align-items: center;
min-height: 100px; /* Pour s'assurer que le footer a une hauteur minimale */
}

.list {
display: inline-flexbox;
flex-direction: column;
align-items: flex-end; /* Pour aligner les éléments à droite */
}


.contact{
font-size: 20px;
}
.email, .tel {
font-size: 20px;
}

.tel {
font-weight: bold;
}

/* Pour centrer le copyright */
.copyright {
margin-top: 15px; /* Pour pousser l'élément vers le bas */
font-size: 15px;
}
#map {
height: 100%; 
width: 100%;
border-radius: 10px; /* Bord arrondi de la boîte */
padding: 20px;
box-sizing: border-box;
position: relative ;
margin-bottom: 20px;
margin-top: 20px;
writing-mode: vertical-rl;
-webkit-writing-mode: vertical-rl;


}
.leaflet-popup-content-wrapper{
-webkit-writing-mode: horizontal-tb;
writing-mode: horizontal-tb;
}

#toggle-button {
position: absolute;
top: 10px;
right: 10px;
background-color: #fff;
border: 1px solid #ccc;
padding: 10px;
cursor: pointer;
}
@keyframes height {
from {
height: 0;
}
to {
height: auto;
}
}

#bus-line-info {
-webkit-writing-mode: horizontal-tb;
writing-mode: horizontal-tb;
position: absolute;
top: 40px;
right: 10px;
background-color: #fff;
border: 1px solid #ccc;
list-style: none;
padding: 0;
margin: 0;
overflow: hidden; /* Pour cacher le contenu qui dépasse */
animation: height 0.8s ease; /* Utiliser l'animation expand */
}



#bus-line-info li {
margin: 5px 0;
width: max-content;
}

#bus-line-info li span {
margin-right: 5px;
}
#map-container {
position: relative;
font-size: 30px;
z-index: 999; /* Assurez-vous que le bouton est au-dessus de tous les autres éléments */

}

/* Personnalisation de la taille et de la position de la pop-up */
.swal2-popup {
    width: auto !important; /* Ajustez la largeur selon vos préférences */
    height: auto !important; /* Ajustez la hauteur selon vos préférences */
    font-size: 12px !important; /* Réduire la taille du texte */
    position: fixed !important; /* Fixer la position */
    top: 100px !important; /* Positionnement en haut */
    left: 10px !important; /* Positionnement à gauche */
    margin: 0 !important; /* Supprimez les marges */
    transform: none !important; /* Supprimez la transformation pour aligner correctement */
    display: flex !important;
    align-items: center !important;
}
.swal2-icon {
    transform: scale(0.8)  !important;
     margin: 10px 10px 0 10px !important;
}
.swal2-title {
    font-size: 22px !important; /* Réduire la taille de la police du titre */
    margin: 0 !important;
}
.swal2-popup {
    font-size: 18px !important; 
}
   .notification-container {
    position: fixed;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999; /* Assurez-vous que les notifications sont au-dessus de tout */
}