body{
    font-family: 'URW Chancery L', cursive;
}

.content-header{
    display: flex;
    align-items: center;
    
    padding: 15px;
    height:55px;
    width: 96%;

    margin: auto;
    margin-top: -15px;

    -webkit-box-shadow: 0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);
    box-shadow: 0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);

    border-radius:6px;

    justify-content: center; /* Centrer horizontalement */
    text-align: center; /* Centrer le texte horizontalement */
}

#linkButtonLogIn, #linkButtonSignIn{
    background-color: gray;
    color: white;                /* Texte blanc */
    padding: 12px 24px;          /* Espacement interne */
    border: none;                /* Pas de bordure par défaut */
    border-radius: 8px;          /* Coins arrondis */
    font-size: 16px;             /* Taille du texte */
    cursor: pointer;             /* Curseur main */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* ombre douce */

    transform: translateY(-45%);
}

#linkButtonLogIn:hover, #linkButtonSignIn:hover{
    filter: brightness(1.2);
    font-size: 120%; /* Augmenter la taille de l'image de 20% lorsqu'elle est survolée */
}

#img-exit{
    height: 70px;

    position: absolute;
    right: 50px;
    transform: translateY(-45%);
}
#img-exit:hover{
    filter: opacity(0.8) drop-shadow(0 0 0 blue);
    filter: brightness(0.05);
}

#img-game, #linkButtonLogIn{
    position: absolute;
    left: 50px;
    transform: translateY(-45%);
}

#linkButtonSignIn{
    position: absolute;
    right: 50px;
    transform: translateY(-45%);
}

#img-game:hover{
    filter: opacity(0.8) drop-shadow(0 0 0 blue);
    filter: brightness(0.05);

}
    /*
    filter: opacity(0.8) drop-shadow(0 0 0 blue);
    filter: brightness(0.05);
}
#img-game:hover{
    filter: brightness(0) saturate(100%) invert(9%) sepia(99%) saturate(6844%) hue-rotate(247deg) brightness(89%) contrast(146%);
}
*/

#form-image {
    
    display: flex;
    position: absolute;    

    width: 20%;
    height: 70%;
    
    padding: 6px 12px;
    margin-left: 2%;
    margin-top: 3%;
    
    background-color:#fff;
    border:0 solid #e6e6e6;
    border-radius:6px;

    -webkit-box-shadow: 0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);
    box-shadow: 0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);

    justify-content: center; /* Centrer horizontalement */
    text-align: center; /* Centrer le texte horizontalement */

    align-items: center;  
}

#form-image > *:nth-child(1) {
    top: 10%;
}

#div-rond{
    /*width: 250px;
    height: 250px;
    */
    display: flex;
    position: absolute; 

    width: 75%;
    aspect-ratio: 100 / 100;  /* hauteur = largeur */

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    margin: auto;
    top: 25%;

    background-color: #808080; /* Couleur de fond du rond */
    border-radius: 50%; /* Utilisez 50% pour créer un rond */
}


#div-rond:hover{
    background: #505050;
}

.croix {
    width: 100px;
    height: 100px;
    position: relative;
}

.ligne {
    position: absolute;
    background-color: #ffffff; /* Couleur de la croix */
}

.ligne.horizontale {
    width: 100%;
    height: 10px; /* Épaisseur de la ligne horizontale */
    top: 50%;
    transform: translateY(-50%);
}

.ligne.verticale {
    width: 10px; /* Épaisseur de la ligne verticale */
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.form-input-file{
    display: none;
}

#form-chat{
    display: flex;
    position: absolute;
    align-items: center;

    width: 60%;
    height: 70%;
    
    padding: 6px 12px;
    margin-left: auto;
    margin-top: 3%;
    right: 8%;
    
    background-color:#fff;
    border:0 solid #e6e6e6;
    border-radius:6px;

    -webkit-box-shadow: 0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);
    box-shadow: 0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);

    justify-content: center; /* Centrer horizontalement */
    text-align: center; /* Centrer le texte horizontalement */
}

#divResult{
    display: flex;
    position:absolute;
    width: 93%;
    height: 70%;

    margin: auto;
    top: -90px;

    background: #f1f3f4;
    border-radius: 6px;
     
    font-family: 'URW Chancery L', cursive;
    font-size: 15px;
    color: #555;

    resize: none;

    overflow-y: auto; /* Ajoute une barre de défilement */
    bottom: 0;

    line-height: 150%;

/*
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
*/
}

#form-saisi{
    display: flex;
    position: absolute;

    top: 80%;

    align-items: center;
}

#textarea-msg{
    width: 570px;
    height: 50px;
    
    background: #f1f3f4;
    border-radius: 6px;

    resize: none;

    font-family: 'URW Chancery L', cursive;

    font-size: 18px;
}

#input-send{
    width: 150px;
    height: 50px;

    margin-left: 15px;

    background: #808080;
    color: #ffffff;
    border-radius: 6px;
    border-color: transparent;
}

#input-send:hover{
    background: #505050;
    color: #ffffff;
    border-radius: 6px;
}


ul{
    list-style-type: none;
} 


li{
    display: flex;
    position: relative;
    margin-left: -10px;  
    line-height: 200%;
}

/*
{
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    box-sizing: border-box;
}
*/

/* Media query pour les écrans de moins de 768px de large (smartphones) */
@media (max-width: 768px) {

    .content-header{
        display: flex;
        align-items: center;
        
        padding: 15px;
        height:55px;
        width: 93%;
    }

    #linkButtonLogIn{
        left: 4%;
    }

    #linkButtonSignIn{
        right: 4%;      
    }

    #img-game{
        left: 4%;
    }

    #img-exit{
        right: 3%;
    }

    #form-chat{
        display: flex;
        position: absolute;
        align-items: center;
    
        width: 81%;
        height: 68%;
        
        padding: 12px;
        margin: auto;
        margin-top: 10%;

    }

    #form-chat > *:first-child {
        top: -75px;
    }

    #form-saisi{
        display: flex;
        position: absolute;

        top: 90%;

        align-items: center;

        bottom: 20px;        
    }

    #divResult, #prenomNom{
        display: flex;
        position:absolute;
        width: 93%;
        height: 85%;
    
        margin: auto;
        top: -80px;
    
        background: #f1f3f4;
        border-radius: 6px;
         
        font-family: 'URW Chancery L', cursive;
        font-size: 20px;
        color: #555;
    
        resize: none;
    
        overflow-y: auto; /* Ajoute une barre de défilement */
        bottom: 0;
    
        line-height: 150%;
    }

    #textarea-msg{
        position: relative;
        width: 75%;
        height: 50px;
    }

    #input-send{
        width: 150px;
        height: 50px;
    }

    #form-image {
   
        width: 0px;
        height: 0px;
     
        border: 0px;

        padding: 0px;
        margin: 0px;

        top: -200%;
    }

    #div-rond{
        width: 0px;
        height: 0px;

        border: 0px;
    }

    .croix{
        width: 0px;
        height: 0px;

        border: 0px;
    }
}

/* Appliqué uniquement si l’écran est en orientation paysage */
@media (orientation: landscape) {

    #form-chat > *:first-child {
        top: -20%;
    }

    #form-saisi{
        display: flex;
        position: absolute;

        width: 90%;
        height: 85%;

        top: 45%;

        align-items: center;

        bottom: 20px;        
    }

}
