
body {
    background-color: rgb(23, 23, 23);
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
    line-height: 1.6;
    
}
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Couvre tout le conteneur sans déformer l'image */
    z-index: -1; /* Place l'image derrière le contenu */
}

#navbar {
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    height: 20px;
    padding: 10px 0px;
    display: flex;
    align-items: center;
    background-color: white;
    font-size: 1em;
    color: black ;
}


#back-button{
    background-color: transparent;
    border: none;
    color: #2e3b4e;
    font-size: 20px;
    cursor: pointer;
  /* Cacher le bouton avec display: none */
    display: none;
}

#bonjour{
   margin-right: auto;
}


#navbar-items {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
}

.navbar-item {
    display:inline;
}

.navbar-item.login-logout {
    margin-right: 10px;
    margin-left: auto;
}

.navbar-item a {
    text-decoration: none;
    display: block;
    color: #2e3b4e;
    font-weight: bold;
    margin-top:18px;
}

.navbar-item a:hover {
    color: #2e3b4e;
    transform: scale(1.2);
}
        /* Conteneur caché pour les boutons */
.dropdown-container {
           display: none; /* Caché par défaut */
            background-color: white;
            padding: 5px;
        }

        /* Style des boutons du dropdown */
.dropdown-container button {
            background-color: white;
            color: #2e3b4e;
            border: none;
            padding: 1px;
            margin: 5px 10px;
            width: 10%;
            text-align: left;
        }
        .dropdown-btn1 {
            background-color: white;
            color:#2e3b4e;
            cursor: pointer;
            width: auto;
        }

        .dropdown-btn1:hover {
        transform: scale(1.4);
        }

        /* Pour faire apparaître la liste en dessous du bouton */
.dropdown-btn {
            background-color: white;
            color:#2e3b4e;
            padding: 0px 20px;
            border:#555;
            cursor: pointer;
            height: 20px;
            margin-top: 22px;
            font-size: 1em;
            align-items: flex-end;
        }

        .dropdown-btn:hover {
        transform: scale(1.2);
        }

 .boutonlegal{
    color:white;
    padding: 0px 20px;
    cursor: pointer;
    height: 20px;
    margin-left: 80%;
    font-size: 1em;
    
}
       
.section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid black; /* Ajouter des bordures */
    box-sizing: border-box;
}
#top-section {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 100px; /* Limite la hauteur à 150px */
    position: relative;
}
.top-Button-2 {
    width: 150px;  /* Doubler la taille des boutons de la partie haute */
    height: 75px;
    font-size: 1.5em;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    border-color: #c19d84 ;
    position: absolute;
    top: 10px; /* Distance du haut du conteneur */
    right: 30%; /* Distance de la droite du conteneur */
}

.top-Button-1 {
    width: 150px;  /* Doubler la taille des boutons de la partie haute */
    height: 75px;
    font-size: 1.5em;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    border-color: #c19d84 ;
    position: absolute;
    bottom: 10px; /* Distance du bas du conteneur */
    left: 30%; /* Distance de la gauche du conteneur */
}
.arrow {
    position: absolute;
    font-size: 5em; /* Ajustez la taille de la flèche */
    margin: 0 1px;/* Ajustez l'écartement avec les boutons */
    color: #9b7357;

}
.text-box {
    position: absolute;
    top: 15%; /* Ajuste la valeur pour positionner le texte au-dessus de la flèche */
    font-size: 12px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    max-width: 150px; /* Limite la largeur du texte */
    text-align: center; /* Centre le texte */
    white-space: normal; /* Permet au texte de passer à la ligne */
    word-wrap: break-word; /* Gère le retour à la ligne pour les mots longs */
}


.text-card {
    position: relative;
    background-color: white;
    border-style: none;
    padding: 5px;
    /* Alignement des éléments du texte */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 80%;
}
.text-card::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -20px; /* Positionne le triangle à droite */
    border-top: 25px solid transparent; /* Hauteur du triangle */
    border-bottom: 25px solid transparent; /* Hauteur du triangle */
    border-left: 20px solid white; /* Couleur de fond de la carte */
    z-index: 1;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    min-height: 100px;/* permet de ne pas chevaucher les container */
    justify-content: space-around;
    box-sizing: border-box;
    padding: 5px;
    background-color: none;
}
.button-container-entry{
    display: grid;
    grid-template-columns: auto 1fr; /* Deux colonnes de même largeur */
    max-width: 100%;
    min-height: 30px;/* permet de ne pas chevaucher les container */
    box-sizing: border-box;
    padding: 50px;
    gap: 10px;
}

.button-container-franchise{
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    min-height: 100px;/* permet de ne pas chevaucher les container */
    justify-content: center;
    box-sizing: border-box;
    padding: 5px;

}
.middle-button {
    flex: 1 1 290px;/* étend sur les côté */
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 3px; /* Espacement autour des boutons */
    max-width: 290px;
    max-height: 150px;
    min-width: 50px;
    min-height: 50px;
    font-size: 1.2em;
    font-weight: 500;/* épaisseur du texte */
    background-color:  #2e3b4e; /* Couleur bleue pour les boutons de la partie centrale */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    justify-content: center;
    padding: 1px;
}

@media (max-width: 600px) {
    .button-container button {
        width: 100%; /* Les boutons prennent toute la largeur disponible */
    }
}

.middle-button:hover, .middle-button:focus {
    background-color: #2e3b4e;
    transform: scale(1.4);
}
#message {
    font-family:'Franklin Gothic Book', Arial, sans-serif;
    padding: 5px;
    margin: 5px;
    display: block;
}
.indented {
    margin-left: 50px; /* ajoute une marge à gauche pour le texte pas en gras*/
    display: block; /* S'assure que chaque ligne commence à la même marge */
}
ul {
    margin-left: 80px; /* Indentation supplémentaire pour les phrases avec tiret */  
    padding-left: 0px; /* Enlever le padding par défaut */
    
}
li {
    margin-left: 100px; /* Indentation supplémentaire pour les phrases avec tiret */  
    line-height: 0,1; /* Réduire l'espace entre les lignes */
    margin-bottom: 0; /* Enlever la marge inférieure */
}

#container{
    margin: 20px 50px;
}
#message-container{
    border: 2px outset #c19d84;
    width: 95%; /* pas Limiter la largeur du cadre */
    margin: 0 auto; /* Centrer le cadre horizontalement */
    border-radius: 5px; /* Arrondir les angles du cadre */
    text-align: left; /* gauche le texte dans le cadre */
    padding-bottom: 20px;
    margin: 20px;
    background-color: white;
}

