body
{
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    margin: 0px;
    /*font-family: "Futura", sans-serif;*/
    font-family: 'Poppins', sans-serif;
    background-color: white;
    
}

 /* STYLE SCROLLBAR  */

 ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }
  
  /* Style de la barre de défilement */
  ::-webkit-scrollbar-thumb {
    background-color: #888;
  }
  
  /* Style de la piste de la barre de défilement */
  ::-webkit-scrollbar-track {
    background-color: #f1f1f1;
  }

.night-mode {
    /*border: solid;*/
    background-color: #121212 !important;
    color: #ffffff;
    border-color: #323232 !important;
}

.night-mode2 {
    background-color: #161616 !important;
    color: #ffffff;
    border-color: #323232 !important;
}

.night-mode3 {
    background-color: rgb(38 38 38) !important;
    color: #ffffff !important;
}


.night-mode4 {
  background: linear-gradient(139deg, #c10000 25%, #885252 100%) !important;
}

.night-mode5 {
  color:white !important;
}

header a
{
    
    display: flex;
    align-items: center;

}





#left_part
{
    border-right: solid;
    height: 100%;
    width: 250px;
    min-width: 230px;
    border-width: 1px;
    border-color: #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

#brand
{
    display: flex;
    align-items: center;
    margin-left: 20px;
    cursor: pointer;
}

#brand img
{
    width: 40px;
    height: 40px;
    margin-right: 20px;
}

#nav_box
{
    display: flex;
    flex-direction: column;
    margin: 10px;
}

.nav-button
{
    font-size: .875rem;
    line-height: 1.25rem;
    border-radius: 3px;
    padding: 10px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.nav-button.selected {
    background-color: #e5e7eb; /* Couleur de fond assombrie */
}

a {
    color: inherit; /* Inherit the color from the parent element */
    text-decoration: none; /* Remove underline */
}


.nav-button img
{
  margin-right: 15px;
}

.nav-button:hover
{
    background-color: #e5e7eb95;
}

.night-mode .nav-button:hover {
    background-color: rgb(50, 50, 50) !important; /* Couleur pour le mode nuit */
}

#user_box
{
    border-radius: 4px;
    border: solid;
    border-width: 1px;
    border-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    margin: 10px;
    position: relative;
    transition: background-color 0.5s ease;
}

#user_box:hover
{
    background-color: rgb(223, 222, 222);
}

#user_box_open
{
    position: absolute;
    left:0%;
    width: 100%;
    transform: translate(0%, -80%);
    background-color: white;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 5px;
    border: solid;
    border-width: 1px;
    border-color: #e5e7eb;
    display: none;
}

.user_option
{
    display: flex;
    align-items: center;
    margin: 8px;
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.5s ease;
}


.user_option:hover
{
    background-color: rgb(223, 222, 222);
}

.user_option img
{
   width: 18px;
   margin-right: 10px;
}

#user_box img
{
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 50px;

}

#user_box p
{
  margin: 0px;
  font-family: 'Poppins', sans-serif;
  font-size: .875rem;
}

#right_part
{
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 55px;
}

#right_part header
{
    position: absolute;
    top: 0px;
    height: 60px;
    width: 100%;
    border-bottom: solid;
    border-width: 1px;
    border-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#night-mode
{
    margin: 5px 10px 5px 5px;
    padding: 5px 5px 2px 5px;
    border-radius: 5px;
    cursor: pointer;
}

#night-mode:hover
{
  background-color:#80808045 ;
}


.search-container {
    display: flex;
    align-items: center;
    
    border-radius: 5px;
    padding: 5px;
    
    width: 70%;
    margin-top: 30px;
}
.search-container input[type="text"] {
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 1rem;
    outline: none;
    width: 90% ;
    margin-right: 10px;
    border-radius: 5px;
    background-color: transparent;
}

.search-container input[type="text"]:focus {
    border-color: #ff4c4c; /* Change cette couleur à celle que tu veux */
    outline: none; /* Pour enlever l'effet de l'outline par défaut */
}


/*.search-container button {*/
/*    background-color: #ff4c4c;*/
/*    color: white;*/
/*    border: none;*/
    /* padding: 10px 20px; */
/*    font-size: 1rem;*/
/*    border-radius: 5px;*/
/*    cursor: pointer;*/
/*    outline: none;*/
/*    width: 15%;*/
/*    font-family: "Futura", sans-serif;*/
/*    text-align: center;*/
/*    height: 100%;*/
/*}*/
/*.search-container button:hover {*/
/*    background-color: #db3d3d;*/
/*}*/


   #comboBox {
            border: solid;
            border-radius: 3px;
            border-width: 1px;
            width: fit-content;
            border-color: #b4b4b4;
            padding: 5px;
            display: flex;
            align-items: center;
            cursor: pointer;
            position: relative;
            min-width: 150px;
            justify-content: space-between;
            height:35px;
        }

        #comboBox p {
            margin: 0px 5px 0px 0px;
        }

        #selectBox p {
            margin: 5px 5px 5px 5px;
            padding: 3px;
            border-radius: 3px;
            cursor: pointer;
        }

        #selectBox p:hover {
            background-color: #e5e7eb;
        }


        #selectBox {
            position: absolute;
            left: 0;
            width: 100%;
            transform: translate(0%, 80%);
            background-color: white;
            box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
            border-radius: 5px;
            border: solid;
            border-width: 1px;
            border-color: #e5e7eb;
            display: none;
        }


#stat_box
{
    display: flex;
    margin-top: 50px;
    width: 80%;
    justify-content: space-evenly;
    align-items: center;
}

.big_red
{
    font-family: "Futura", sans-serif;
    color: red;
    margin: 0;
}

.small_black
{
    font-family: "Futura", sans-serif;
    
    margin: 0;
}

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

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

#video_box
{
    width: 80%;
    margin-top: 45px;
}

#liste_video {
    display: flex;
    max-width: 90%;
    margin-top: 20px;
    overflow-x: auto; /* Active le défilement horizontal */
    overflow-y: hidden; /* Désactive le défilement vertical */
    
}

.video {
    min-width: 280px;
    max-width: 280px;
    cursor: pointer;
    margin-right: 10px;
    user-select: none; /* Désactive la sélection de texte */
    padding: 15px;
    border-radius: 20px;
    position: relative;
    display: inline-block;
   
  }

.video:hover
{
    background-color: #80808045;
    
}
  
  .thumbnail {
    width: 100%;
    height: 150px; /* Ajoutez une hauteur fixe pour assurer le recadrage */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 8px;
    user-select: none; /* Désactive la sélection de texte */
    pointer-events: none; /* Désactive les événements de la souris */
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  }


  
 

.tag_box
{
    display: flex;
    margin-top: 8px;
}

.tag
{
    margin: 0px;
    padding: 3px 3px 3px 3px;
    background-color: rgba(53, 173, 53, 0.379);
    border-radius: 5px;
    margin-right: 5px;
    display: flex;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.tag img
{
   width: 25px;
   margin-left: 5px;
}

.tag_box p
{
    margin: 3px 10px 3px 10px;
    
}

#limit-box
{
    border-radius: 4px;
    border: solid;
    border-width: 1px;
    border-color: #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    padding: 5px;
    margin: 10px;
}

#limit-box p 
{
    width: 100%;
    padding-left: 11%;
    margin: 10px 10px 10px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
}

#bar-limit
{
    width: 90%;
    height: 12px;
    background-color: #e5e7eb;
    border-radius: 50px;
    margin-bottom: 10px;
}

#limit
{
    width: 0%;
    height: 100%;
    background-color: #ff7878;
    border-radius: 50px;
}

#limit2
{
    width: 0%;
    height: 100%;
    background-color: #ff7878;
    border-radius: 50px;
}






 /* CONFIGURATION  */






 #sub-box {
    width: 50%;
    text-align: center;
    max-height: 90%;
    overflow-y: scroll;
    direction: rtl; /* Inverse la direction d'écriture */
}

#sub-box > * {
    direction: ltr; /* Réinverser la direction d'écriture du contenu */
}


  

 #playlist-box
 {
  
    width: 50%;
    text-align: center;
 }

 .subscription 
 {
     display: flex;

     align-items: center;
     margin: 15px;
 }

.subscription img
{
    border-radius: 50%;
    margin-right: 10px;
    height: 50px;
}

.subscription img
{
    border-radius: 50%;
    margin-right: 10px;
    height: 50px;
}

#playlist-box {
    width: 50%;
    text-align: center;
    max-height: 90%;
    overflow-y: scroll;
    direction: rtl; /* Inverse la direction d'écriture */
}

#playlist-box > * {
    direction: ltr; /* Réinverser la direction d'écriture du contenu */
}

#list-sub
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.subscription p
{
   width: 100px;
   overflow: hidden;
   margin-right: 10px;
}



.playlist 
 {
     display: flex;

     align-items: center;
     margin: 15px;
 }

.playlist img
{
    border-radius: 50%;
    margin-right: 10px;
    height: 50px;
}

.playlist img
{
    border-radius: 50%;
    margin-right: 10px;
    height: 50px;
    width: 50px;
}

#list-playlists
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.playlist p
{
   width: 100px;
   overflow: hidden;
   margin-right: 10px;
}


.separator {
    
   
    height: 70vh;
    margin-top: 92px;
    border-right: solid;
    border-width: 1px;
    border-color: #e5e7eb;
    
}


    /* MES VIDEO */


#liste-historique
{
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
}

#liste-favoris
{
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
}



.videoL 
{
    min-width: 230px;
    max-width: 230px;
    cursor: pointer;
    margin-right: 10px;
    user-select: none; /* Désactive la sélection de texte */
    padding: 15px;
    border-radius: 20px;
    position: relative;
    display: inline-block;
}


.black-rectangleL {
    position: absolute;
    bottom: 33%;
    right: 8%;
    /* width: 40px; */
    height: 20px;
    background-color: #000000ab;
    color: white;
    font-size: 12px;
    padding: 0px 3px 0px 3px;
    border-radius: 3px;
        display: flex;
    align-items: center;
    
}

.black-rectangle {
    position: absolute;
    top: 140px;
    right: 8%;
    /* width: 40px; */
    height: 20px;
    background-color: #000000ab;
    color: white;
    font-size: 12px;
    padding: 0px 3px 0px 3px;
    border-radius: 3px;
        display: flex;
    align-items: center;
    
}



.videoL:hover
{
    background-color: #80808045;
    
}

.videoL p
{
    margin: 0px;
    font-size: 14px;
    
}

.thumbnailL {
    width: 100%;
    height: 129px; /* Ajoutez une hauteur fixe pour assurer le recadrage */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 8px;
    user-select: none; /* Désactive la sélection de texte */
    pointer-events: none; /* Désactive les événements de la souris */
    
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  }


  .date-separator
  {
    display: flex;
    align-items: center;
    /* border: solid; */
    padding: 0px 10px 0px 10px;
    font-size: 1.5em;
    text-align: center;
    min-width: 200px;
    justify-content: center;
   
    border-radius: 5px;
   
  }

  #stopper-historique
  {
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .loader-infinite-scroll
  {
    display: flex;
    align-items: center;
  }

  
