html {
  font-size: 15px;
}

body,
p,
span,
a,
li,
td,
th,
label,
button,
input,
textarea,
select,
small,
strong,
em,
blockquote,
figcaption,
legend {
  font-size: 1rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }


.jeu_s{
    background-color: #1B3A6B !important;
}


.blue{
    background-color:#ddf6f6;
}

section > section {
    background-color: #ffffff;
    border: solid 3px #4F7DE0;
    border-radius: 25px;
    padding: 28px;
    min-height: 150px;
    margin: 0px;
}

.gris{
    background-color:#CCCCCC !important;
}

.titre-passer{
    color:#333333 !important;
}

.utilisateurs {
    display:flex !important;
    border: 2px solid #4F7DE0;
    min-width:350px !important;
    padding: 10px 18px 10px;
    border-radius: 15px;
}

.u_bleu:hover{ transform: translateY(-1px);
    background-color: #5987EA;
    border: 2px solid #5987EA;
}

.btn-user {
    border: none;
    color:black;
    padding: 10px 18px;
    border-radius: 15px;
    display: inline-block;
    font-weight: bold;
    background-color: white;
}

.u_bleu {
    background-color: #4F7DE0;
    
}

.modal {
    z-index: 1055;
}

.modal-backdrop {
    z-index: 1050;
}

.navbar-expand-lg{
    background-color:#4F7DE0;
}

.manger{
    display:none !important;
}

.me-auto{
    border-radius: 30px 60px 60px 0px !important;
}

.annuler{
    border-radius: 15px !important;
    display:block !important;
    width:48% !important;
    margin:0px !important;
}

.ms-auto{
    border-radius: 60px 30px 0px 60px !important;
    background-color:#BBEEFF;
}

.row{
    display:flex;
    align-items:center;
}

.sup_post{
    display:flex !important;
    align-items:center !important;
    flex-direction:row;
    justify-content:flex-end;
    gap: 10px;
}

li a{
    color:white;
}

.documents{
    font-size:12.5px;
    color:white;
}

.div{
    padding: 50px;
}

.container{
    padding:50px;
}

main {
  flex: 1;
}

html {
    scroll-padding-top: 80px;
}

body{
    background-color:#ddf6f6;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-right:0 !important;
    padding-left:0 !important;
    padding-bottom:0 !important;
}

.d-flex{
    width:345px;
}

h1{
    text-decoration:underline;
    font-weight:bold;
    padding-top:50px;
    padding-bottom:20px;
    color: #3B2F6B;
}

.geek{
    padding-left:62px;
}

h2{
    text-decoration:underline;
}

h1, h2, h3, li, p{
    color:#3B2F6B;
}

.charte a {
    text-decoration-color:#3B2F6B;
}

.charte li a{
    color:#3B2F6B;
}

.charte li.espace {
  list-style: none;
  height: 20px;
}

.contact li{
    color:#3B2F6B;
}

.haut{
    text-decoration:none;
}

.plus{
    background-color:black !important;
    height:52px;
    border:none;
}

.dropdown-menu{
    border: solid 1px black;
    background-color:#4F7DE0;
}

.padding-none{
    padding:none;
}

.dropdown-item{
    padding:none !important;
    color:black !important;
}

.blanc{
    color:white !important;
}

.gras{
    font-weight:bold;
}

.black{
    color:#3B2F6B;
}

.black a{
    color:#3B2F6B;
}

.montant{
    max-width:450px;
    display:flex;
}

.taille{
    max-width: 430px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 100, 0.3);
}

p a{
    color:#3B2F6B;
}

.avec-haut{
    padding-right:200px;
}

.haut_de_page_petit{
    display:none;
}

.haut-petit {
    text-decoration: none;
    color: white;
}

.haut_de_page{
    position:fixed;
    width:100%;
    display:flex;
    justify-content:flex-end;
    top: 80px;
    right:25px;
    z-index: 999;
}

.btnheader{
    color:black;
    padding-top:none !important;
}

.btnheader2{
    color:black;
    padding:none !important;
}

.btnheader3{
    color:black;
    padding:none !important;
}

.btnheader4{
    color:black;
    padding:none !important;
}

.btnheader5{
    color:black;
    padding:none !important;
}

.btn-noir{
    background-color:black !important;
}

button{
    height:42px !important;
    padding:none !important;
}

.valide {
    border: 2px solid green;
}

.invalide {
    border: 2px solid red;
}

.post{
    display: flex;
    flex-direction: column;
}

.modal-content{
    background-color:#ddf6f6
}

.accueil_commu_tournois,
.accueil_commu_tournois2,
.accueil_commu_tournois3,
.accueil_commu_tournois4,
.accueil_commu_tournois5 {
    background-color: #4F7DE0;
    border: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

/* Gestion thème sombre */

.sombre{
    background-color:#292927 !important;
}

.sombre .pas_like {
    content: url('/images/pas_encore_like_b.png');
}

.inscription_s img {
    content: url('/images/Image_s.png');
}

.pop_up{
    background-color:#1A2234;
}

.titre_footer_s{
    color:#4B6A9B!important;
}

.profil_s{
    background-color:#1B3A6B !important;
}

.pop_up_head{
    background-color:#1B3A6B !important;
}

.clair{
    background-color:#ddf6f6 !important;
}

.cacher_bouton_sombre{
    display:none;
}

.cacher_bouton_clair{
    display:none;
}

.cacher_bouton_sombre_officiel{
    display:none !important;
}

.cacher_bouton_clair_officiel{
    display:none !important;
}

.publication{
    box-shadow: 0 2px 10px rgba(0, 0, 100, 0.2);
}

.publication_s{
    background-color :#1B3A6B !important;
}

div.publication_s{
    box-shadow: 0 2px 10px rgba(200, 200, 200, 0.2) !important;
}

div.publication_ss{
    background-color :#1A2234;
    box-shadow: 0 2px 10px rgba(200, 200, 200, 0.2) !important;
}

.badge_s{
    background-color :#DDDDDD !important;
    color:#1B3A6B;
}

.texte_sombre{
    color: #DDDDDD !important;
    text-decoration-color:#dddddd !important;
}

.btn-light a{
    color:black !important;
}

.btn-light{
    color:black !important;
}

.texte_clair{
    color: black !important;
    background-color: #dddddd !important;
}

.header_footer_sombre{
    background-color:#1A2234 !important;
}

.header_sombre_btn{
    background-color:#1B3A6B !important;
}

.header_sombre{
    background-color:#1B3A6B !important;
}

.inscription_s{
    background-color:#1B3A6B !important;
}

.inscription_s label{
    color:#dddddd !important;
}

.inscription_s input{
    background-color:#DDDDDD !important;
}

.sans_soulignement{
    text-decoration:none;
    color:black;
}



.text_header_sombre{
    color:#dddddd !important;
}

.cacher_oeil{
    display:none;
}

.montrer_oeil{
    display:flex;
}

.cacher_like{
    display:none;
}

.montrer_like{
    display:block;
}

.image{
    display:block !important;
}

.cacher_image{
    display:none;
}

#parts {
  display: grid;
  grid-template-columns: repeat(2, 160px);
  grid-template-rows: repeat(3, 160px);
}

#parts canvas {
  width: 160px;
  height: 160px;
}

.vote:hover {
    transform: scale(1.1) translateY(-1px);
    transition: transform 0.3s ease;
    cursor:pointer;
}

.input{
    display: flex;
    align-items: center;
    gap: 18px;
}

.compte_coeur{
    display: flex;
    align-items: center;
    gap:5px;
}

.oeil {
    cursor: pointer;
}

.rafraichir:hover{
    cursor: pointer;
}

.contour_noir{
    border: 1px solid #dddddd;
}

.rafraichir_s{
    content: url('/images/rafraichir_s.png');
}

.div_inscription_s{
    background-color: #1B3A6B !important;
}

.form_s{
    background-color: #292927 !important;
}


/* Hover */

.blue:hover{
    background-color:#CCCCCC;
}

li a:hover{
    color:#3B2F6B;
}

.documents:hover{
    color:#3B2F6B;
}

.charte li a:hover{
    color:#888888;
}

.haut:hover{
    color:white;
}

.haut-petit:hover {
    text-decoration: none;
    color: white;
}

.plus:hover{
    background-color: #1B1B1B !important;
}

.btn-noir:hover{
    background-color: #1B1B1B !important;
    border-color: #1B1B1B !important;
}

.black:hover{
    color:#888888;
}

.black p a:hover{
    color:#888888;
}

p a:hover{
    color:#888888;
}

button a:hover{
    color:black;
}

.hr{
        color:black;
        border: 1px solid black;
    }
    
    .hr_s{
        color:white !important;
        border: 1px solid white !important;
    }

.proposition a:hover{
    background-color: #5577C8 !important;
}

.accueil_commu_tournois:hover,
.accueil_commu_tournois2:hover,
.accueil_commu_tournois3:hover,
.accueil_commu_tournois4:hover,
.accueil_commu_tournois5:hover {
    background-color: #5577C8;
}

.btn-site:hover{
    cursor:pointer !important;
}

.mode_sombre_officiel:hover{
    cursor:pointer;
    transform: translateY(-1px);
    background-color: #F8F8F8;
}

.mode_clair_officiel:hover{
    cursor:pointer;
    transform: translateY(-1px);
    background-color: #254475 !important;
}

.btn:hover{
    transform: translateY(-1px);
}

.header_sombre_btn:hover{
    background-color:#24436E !important;
}

.monprofil:hover{
    cursor: pointer !important;
    transform: translateY(-1px);
}

a.texte_sombre:hover{
    color:#888888 !important;
    text-decoration-color:#888888 !important;
}

a.nav-link:hover{
    color:#dddddd !important;
}

.blanc:hover{
    color:white !important;
}

.chat{
        padding-bottom:20px !important;
}

.envoyer{
    width: 40px;
    padding-bottom: 15px;
}

.envoyer:hover{
    cursor:pointer !important;
    transform: translateY(-1px);
}

.modifier_profil:hover{
    cursor:pointer !important;
    transform: translateY(-1px);
    background-color:#F5F5F5 !important;
}

.annuler_btn:hover{
    background-color:#A0A0A0 !important;
}

.supprimer_btn:hover{
    background-color:#905695 !important;
}

.annuler-petit{
    width:22.7% !important;
}

.chat-form{
    margin-left:75px; 
    margin-right:75px;
}

.selecteur-emoji{
        width:40px;
    }
    
.envoyer{
        width:40px;
    }

.img-upload{
    max-width:50%;
    border-radius: 10px;
}

#dashboard {
    max-width: 2300px;
    min-height: 80vh;
    padding: 35px 35px 35px 35px !important;
    display: flex;
    flex-direction:column !important;
    gap: 30px;
}

/* En fonction de la taille de l'écran */

@media (max-width:992px){
    .center{
        justify-content:center;
    }

    body {
        padding-top: 70px;
    }
}

@media (max-width:664px){
    .annuler{
        width:100% !important;
    }

    .haut{
        display:none;
        text-decoration:none;
    }

    .haut_de_page{
        display:none;
    }

    .haut_de_page_petit{
        display:flex !important;
        position: static;
        transform: none;
        left: auto;
        padding: 6px 0;
        z-index:9999;
        width:100%;
        justify-content:center;
    }

    .tournois-container{
        margin-top:100px !important;
    }
    
    .img-upload{
        max-width:75%;
    }
    
    .post{
        padding-top:60px !important;
    }
}

@media (max-width:595px){
  .chat-form{
      margin-left: 40px !important;
      margin-right: 40px !important;
  }
    
}

@media (max-width:560px){
  .me-auto{
      max-width:85% !important;
  }
  .ms-auto{
      max-width:85% !important;
  }
    
}


@media (max-width:511px){
  .nb_rep{
      display: none !important;
  }
  
  .nb_rep_petit{
      display: flex !important;
  }
    
}

@media (max-width:500px){
    .avec-haut{
        padding-right:50px;
    }

    button a{
        text-decoration:none;
    }

    a:hover{
        color:white;
    }

    input::placeholder,
    textarea::placeholder {
        color: transparent !important;
    }

    .haut-petit {
        text-decoration: none;
        color: white;
    }

    .haut-petit:hover {
        color: white;
    }

    .post{
        padding-right:50px !important;
    }
    
    
}

@media (max-width: 410px) {
    .navbar-expand-lg {
        height: auto;
        padding-bottom: 10px;
        flex-wrap: wrap;
    }

    body {
        padding-top: 110px;
    }

    

    html {
        scroll-padding-top: 150px !important;
    }
    
    .chat-form{
      margin-left: 20px !important;
      margin-right: 20px !important;
  }
  
  .img-upload{
    max-width:100%;
}

  .post{
        padding-right:25px !important;
        padding-left:25px !important;
    }
    
    
    
    
.d-flex{
    width:200px;
    flex-wrap:wrap;
}

}

@media (max-width: 375px) {
    .moteur_recherche{
        width:285px !important;
    }
    
    .barre_recherche{
        width:100px !important;
    }
}

@media (max-width: 365px) {
    .gap_ici{
    flex-direction:column !important;
    align-items:flex-end !important;
    gap:5px !important;
    }
}

@media (max-width:340px){
    .selecteur-emoji{
        width:25px !important;
    }
    
    .envoyer{
        width:25px !important;
    }
    
    .input{
        gap:5px !important;
    }
    
    
}

@media (max-width:320px){
    .moteur_recherche{
        flex-direction: column !important;
        width:250px !important;
        gap: 0 !important;
        height:90px !important;
        align-items:center !important;
    }
    
    .barre_recherche{
        width:150px !important;
    }
}

@media (max-width:280px){
    .post{
        padding-right:10px !important;
        padding-left:10px !important;
    }
    
    .me-auto{
      max-width:95% !important;
  }
  .ms-auto{
      max-width:95% !important;
  }
}

@media (max-width:225px){
    .agrandir{
        height:60px !important;
    }
}

@media (max-width:215px){
    .haut_de_page_petit{
        display:none !important;
    }
}