ul 
{
list-style: none;
margin-right:5%;
}
a 
{
text-decoration: none;
font-size : 20px;
font-family : "Amazon Ember", Arial, sans-serif;
color:#6868f1;
}
.aide
{
/*object-position: left;*/
/*float: left;*/
width: 40%;
}
.ajout
{
width: 20%;
height: 10%;
background : linear-gradient(white, 30%,#0606f16b );
margin-left: 10%;
text-align:center;
font-family : "bold font";
font-size : 20px;
font-weight : bold;
border-radius: 5%;
color: white;
display:flex;
justify-content: center;
align-items: center;
}
.count
{
position: absolute;
top: 11%;
right: 39%;    
color:red;
font-family : "bold font";
font-size : 20px;
font-weight : bold;
}
#check
{
position: absolute;
height: 208%;
width: 50%;
float: right;
top: -48%;
right: 5.4%;
z-index:1
}
#contenu #aa 
{
font-family : "Â« Arial Narrow Â»", Arial, sans-serif;
font-size : 15px;
margin-left: 72%;
}
.croix
{
display: block;
width: 20%;   
object-position: left;
float: left;
}
.dropbtn
{
color:#6868f1;
}
.recup_messages  .a
{
width:20%; 
}
.recup_messages  .a img
{
width:30%; 
border-radius: 50%;
}
.recup_messages .b
{
width:80%; 
 text-align: left;
}
#discution
{
    background : linear-gradient(white, 30%,#0606f16b );
    display:none;
    position: fixed;
    top: 20%;
    right: 17px;
    height: 80%;
    width: 21.5%;
    max-width: 400px;
    text-align: center;
    z-index:5;
    word-break: break-word;
    text-wrap: pretty;
    border:3px  solid lightblue ;
    border-radius: 7%;
    box-shadow : 0 0 15px black;
    font-family: "Arial Narrow", Arial, sans-serif;
    
}
.discution table 
{
 height: 100%;   
}

.discution .scroll
{
     height: 65%; 
     scrollbar-color: lightblue grey;
     scroll-snap-align: end;
}
.discution .scroll_content {
  height:102%;    
  background-color: lightblue;
   overflow-y: scroll;
}
.fleche-gauche
{   
object-position: left;
float: left;
width: 20%;
cursor: pointer;
}
.fleche-droite
{   
object-position: right;
float: right;
width: 20%;
}
.index
{
 margin-left: 5%;   
 font-size: 25px;
 z-index: 4;
   display: flex;
      align-items: flex-start;
      gap: 20px;
      position: relative;
}
.encart
{
      display: flex;
      flex-direction: column;
      gap: 20px;
}
.sous-encart
{
display: flex;
align-items: center;
gap: 10px;    
}
.texte1, .texte3,.texte5
{
padding: 10px;
}
.texte2, .texte4 
{
color:#cdddf2;
position: absolute;
z-index: 2;

}
.texte2 
{
top:5.5%;
right: 48.8%;
}
.texte4 
{
top:42%;   
right: 38%;
}
.image1 
{
/*position: relative;*/
}
.image1 img 
{
width: 200px;
height: auto;
display: block;
}
.Kinput
{
background-color :  lightblue;
width: 80%;
}
.messageBox
{
height:60%;      
}  
.scroll-bar {
    width: 100%;
    height: 50px;
    background-color: #333;
    overflow: hidden;
    position: relative;
}

.scroll-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scrollLeft 15s linear infinite;
    height:100%; 
}

.scroll-content p {
    color: white;
    font-size: 16px;
    margin: 0;
    display: inline-block;
    padding-right: 50px; /* Espacement entre les paragraphes */
}

@keyframes scrollLeft {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

/* Works on Chrome, Edge, and Safari */
::-webkit-scrollbar {
      overflow-x: auto; /* Affiche la barre de défilement horizontale si nécessaire */
    overflow-y: hidden;
/*  width: 12px;*/
}
.toggle-button,.menu_cb,.toggle-button2,.menu_cb2,.toggle-button3,.menu_cb3
{
cursor: pointer;
position: absolute;
height: 16%;
width: 8%;
top: 7%;
z-index: 4;  
}
.toggle-button,.menu_cb
{
right: 0%;
}
.toggle-button2,.menu_cb2
{
right: 16%;
height: 15%;
}
.toggle-button3,.menu_cb3
{
right: 8%;
}
.toggle-button4,.menu_cb4{
right: 34%;
}
.toggle-button5,.menu_cb5{
right: 34%;
}
.menu_cb > input , .menu_cb2 > input, .menu_cb3 > input, .menu_cb4 > input 
{
   visibility: hidden 
}
.toggle-button img
{
height: 72%; 
margin-top: 10%;     
width: 67%;
max-width:60%;
border-radius: 50%;
box-shadow : 0 0 15px black;

}
.toggle-button2 img
{
margin-top: 10%;    
width:67%;   
right:30%;
border-radius:50%;
box-shadow : 0 0 15px black;
}
.toggle-button3 img
{
margin-top: 10%;    
width:67%;   
right:12%;
border-radius:50%;
box-shadow : 0 0 15px black;
}
.toggle-button4 img
{
margin-top: 10%;
width:67%;   
border-radius:50%;
box-shadow : 0 0 15px black;
}
.toggle-button5 img
{
margin-top: -10%;
width:77%;   
border-radius:50%;
box-shadow : 0 0 15px black;
}
#menu_nav
{
position:absolute ;
top: 28%;
right: 0%;
width: 90%;
max-width: 30%;
z-index: 5;
display:none;
/*overflow: hidden; */
}
#menu_nav2
{
position:absolute ;
top: 28%;
right: 0%;
/*height: 100%;*/
width: 90%;
max-width: 400px;
text-align: center;
z-index: 5;
display:none;
}
#menu_nav3 
{
position:absolute ;
top: 28%;
right: 0%;
/*height: 100%;*/
width: 90%;
max-width: 400px;
text-align: center;
z-index: 5;
display:none;
}
#menu_nav4 
{
position:absolute ;
top: 28%;
right: 0%;
/*height: 100%;*/
max-width: 400px;
text-align: center;
z-index: 5;
display:none;
}
#menu_nav5 
{
position:absolute ;
top: 28%;
right: 30%;
/*height: 100%;*/
max-width: 400px;
text-align: center;
z-index: 5;
display:none;
}
#menu_nav6 
{
position:absolute ;
top: 28%;
right: 0%;
/*height: 100%;*/
max-width: 400px;
text-align: center;
z-index: 5;
display:flex;
}
#menu_nav6 select
{
height :25%;
width : 45%;
background-color : #E5E5E5;
font-family : "Â« Arial Narrow Â»", Arial, sans-serif;
font-size : 20px;
}
.menu_nav ul,.menu_nav2 ul ,.menu_nav3 ul, .menu_nav4 ul,.menu_nav6 ul
{   
width: 50%;
margin-left: 47%;
}
.menu_item,.menu_item2,.menu_item3 ,.menu_item4 
{
    padding: .5em 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px black;
    background: linear-gradient(0.25turn, white, 20%, orange);
    width: 75%;
    margin-left: 28%;
    right:20%
}
.menu_item img ,.menu_item2 img ,.menu_item3 img  ,.menu_item4 img
{
width: 20%;
border-radius: 50%;   
}
.menu_item2 
{
cursor:pointer;
}
.menu_cb:checked ~ .menu_nav,.menu_cb2:checked ~ .menu_nav2,.menu_cb3:checked ~ .menu_nav3,.menu_cb4:checked ~ .menu_nav4
{
transform: translateY(0);
}
.menu_photo,.menu_msg,.menu_notif,.new_users
{
    padding: .5em 20px;
    display:flex;
    border: 1px solid #ccc;
    font-weight: bold;
    box-shadow: 0 0 10px black;
    background: aliceblue;
    right:20%;
    justify-content: center;
    align-items: center;
    margin:5%;
    border-radius:15px;
    z-index: 4;
    cursor: pointer;
    font-family : "Â« Arial Narrow Â»", Arial, sans-serif;
    font-size : 15px; 
}
.menu_notif
{
flex-direction:column;
}
.menu_notif a
{
margin-left: 80%;
font-family : "Â« Arial Narrow Â»", Arial, sans-serif;
font-size : 12px; 
color:#0606f1;    
}
.menu_photo1,.menu_msg1,.menu_notif1,.new_users1
{
    display: block;
    background: linear-gradient( white, 60%, #0606f1) no-repeat;
    text-align:center;
    padding: .5em 20px;
    padding-top:2%;
    border: 1px solid #ccc;
    box-shadow: 0 0 1px black;
    width: 75%;
    margin-left: 23%;
    margin-top:3%;
    border-radius:15px;
    z-index: 4;
   /* transition: all 0.3s ease;  */
     overflow-x: auto; /* Affiche la barre de défilement horizontale si nécessaire */
    overflow-y: hidden;
    font-family : "Â« Arial Narrow Â»", Arial, sans-serif;
    font-size : 15px; 
}
.new_users1
{
margin-left: -97%;
}
.menu_photo1 img,.menu_msg1 img,.menu_notif1 img,.new_users img
{
width: 20%;
margin-RIGHt: 10%;
border-radius: 15%;
}
.menu_photo2,.menu_msg2,.menu_notif2
{
    background: linear-gradient(white, 60%, #0606f1 ) no-repeat;
    display:none;
    text-align:center;
    padding: .5em 20px;
    padding-top:2%;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px black;
    width: 54%;
    border-radius:15px;
    z-index: 3;
   /* transition: all 0.6s ease;  */
}
.menu_photo2
{
    position: absolute;
    width: 22%;
    margin-left: 77%;
    top: 30%;
}
.menu_msg2
{
    position: absolute;
    width: 22%;
    margin-left: 75%;
    top: 30%;
}
.menu_photo2 img,.menu_msg2 img,.menu_notif2 img
{
width: 20%;
}
.menu_photo3,.menu_msg3,.menu_notif3
{
    background: linear-gradient(white, 60%, #0606f1 ) no-repeat;
    display:none;
    text-align:center;
    padding: .5em 20px;
    padding-top:2%;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px black;
    border-radius:15px;
    z-index: 3;
}
.menu_photo3
{
    position: absolute;
    background: linear-gradient(white, 60%, #0606f1) no-repeat;
    display: none;
    width: 22%;
    margin-left: 77%;
    top: 30%;
}
.menu_photo3 img,.menu_msg3 img,.menu_notif3 img
{
width: 20%;
}
.menu_photo_aide 
{
    padding: .5em 20px;
    display:flex;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px black;
    font-weight: bold;
    background: aliceblue;
    right:20%;
    justify-content: center;
    align-items: center;
    margin:5%;
      padding-top:2%;
    border-radius:15px;
    cursor: pointer;
}
.menu_photo_compte 
{
    display:none;
    padding: .5em 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px black;
    width: 25%;
    margin-left: 53%;
    right:20%;
    border-radius:15px;
    background:aliceblue;
    font-weight: bold;
}
.menu_photo_compte img
{
width: 20%;
}
.menu_photo_para 
{
    padding: .5em 20px;
    display:flex;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px black;
    background: aliceblue;
    right:20%;
    justify-content: center;
    align-items: center;
    margin:5%;
    border-radius:15px;
    cursor: pointer;
    font-weight: bold;
}

.menu_photo_titre
{
    font-size: 30px;
    font-weight: bold;
    font-family: "univers", Arial, sans-serif;
    font-weight: bold;
    height: 10%;
    border: 1px solid #ccc;
    border-radius:15px;
    box-shadow: 0 0 10px black;
    background: linear-gradient(0.25turn, white, 20%, orange);
    width: 75%;
}
.msg_auteur
{
    display: flex;
    background: linear-gradient( white, 95%, #0606f1) no-repeat;
    padding: .5em 20px;
    padding-top:2%;
    padding-bottom: 10%;
    border: 1px solid #ccc;
    box-shadow: 0 0 2px black;
    width: 75%;
    /*margin-top: 25%;*/
    border-radius:15px;
    color:red;
    text-align: left;
    flex-direction:column;
    overflow-wrap: break-word;
    overflow-x: auto; /* Affiche la barre de défilement horizontale si nécessaire */
    overflow-y: hidden;
}
.msg_auteur img
{
max-width: 34%;
max-height: 70%; 
}
.msg_destinataire
{
    display: flex;
    background: linear-gradient( white, 95%, #0606f1) no-repeat;
    text-align:center;
    padding: .5em 20px;
    padding-top:2%;
    padding-bottom: 10%;    
    border: 1px solid #ccc;
    box-shadow: 0 0 2px black;
    width: 75%;
    margin-left: 25%;
    /*margin-top: 25%;*/
    border-radius:15px;
    color:green;
   /* text-align: left;*/
    flex-direction:column;
    overflow:word-wrap;
    overflow-x: auto; /* Affiche la barre de défilement horizontale si nécessaire */
    overflow-y: hidden;
}
.msg_destinataire img
{

max-width: 16%;
max-height: 56%;
}
.msg_header
{
display: flex;
align-items: center;
/*margin-bottom: 5px;  Espacement entre l'en-tête et le message */
color: #0606f1;

}
.msg_txt
{
/*margin-top: 8% ; */
word-wrap: break-word;
}
.notif
{
position: fixed;
top: 7%;
width: 11%; 
border-radius:50%;
margin-left:65%;
}
.photo_profil
{
top: 6%;
right: 8%;
}
.menu_cote
{
top: 23%;
right: 5%;
}
.menu_cote2
{
top: 23%;
right: 5%;
}
.menu_cote3
{
top: 23%;
right: 5%;
}
.menu_cote4
{
top: 23%;
right: 16%;
}
.para
{
display: block;
width: 20%;   
object-position: left;
float: left;
}
.parametres
{
/*object-position: left;*/
/*float: left;*/
width: 40%;
}

.photo_profil
{
    width: 40%;
    border-radius: 50%;
    margin-right: 10%;    
}
.photo_msg
{
    border-radius: 50%;
    margin: 5%;
    width: 15%;
}
.scroll_content
{
width: 80%;
height:90%;
padding-top: 20%;
flex-direction: column;
display: flex;
overflow-y: auto;
scrollbar-width: none;
scroll-snap-type: y ;
scroll-snap-align: end;
}


/* --------- Responsive Styles --------- */
@media screen and (max-width: 768px) {
  .ajout {
    width: 80%;
    font-size: 16px;
    margin: 5% auto;
  }

  .count {
    top: 5%;
    right: 10%;
    font-size: 16px;
  }

  .recup_messages .a {
    width: 100%;
    text-align: center;
  }

  .recup_messages .a img {
    width: 50%;
  }

  .recup_messages .b {
    width: 100%;
    text-align: center;
  }

  #discution {
    width: 95%;
    right: 2.5%;
    top: 10%;
    height: 85%;
  }

  .index {
    flex-direction: column;
    align-items: center;
    font-size: 18px;
  }

  .image1 img {
    width: 100%;
    height: auto;
  }

  .toggle-button,
  .toggle-button2,
  .toggle-button3,
  .toggle-button4,
  .toggle-button5 {
    width: 16%;
    height: auto;
    top: 3%;
  }

  #menu_nav,
  #menu_nav2,
  #menu_nav3,
  #menu_nav4,
  #menu_nav5,
  #menu_nav6 {
    width: 100%;
    max-width: 100%;
    top: 25%;
    right: 0;
  }

  .menu_item,
  .menu_item2,
  .menu_item3,
  .menu_item4 {
    width: 90%;
    margin-left: 5%;
  }

  .menu_photo1,
  .menu_msg1,
  .menu_notif1,
  .new_users1 {
    width: 90%;
    margin-left: 5%;
  }

  .msg_destinataire,
  .msg_auteur {
    width: 95%;
    margin: 3% auto;
  }

  .photo_msg {
    width: 30%;
  }

  .scroll_content {
    width: 100%;
    padding-top: 10%;
  }
}
