#formulaire {
    display: none;
    position: fixed;
    top: 10%;
    left: 35%;
    width: 30%;
    height: 80%;
    border: 3px solid rgb(73, 73, 73);
    border-radius: 10px;
    background-color: antiquewhite;
}

body{
    display: grid;
    background-color: antiquewhite;
    height: 98vh;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 10px
}

#row1, #row2, #row3 {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(10, 1fr);
}

#row1{
    grid-row: 1;
    grid-template-columns: repeat(12, 1fr);
}

#container_infos{
    grid-column: 10 / 13;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 10px
}

#infos{
    grid-row: 2/4;
}

#player1{
    grid-column: 1 / 4;
}

#player2{
    grid-column: 4 / 7;
}

#player3{
    grid-column: 7 / 10;
}

#row2{
    grid-row: 2;
}

#row3{
    grid-row: 3;
    grid-template-rows: repeat(5, 1fr);
}

#player_cards{
    background-color: rgb(75, 75, 75);
    grid-column: 4/11;
    grid-row: 1/6;
    overflow-x: auto;
    max-width: 135vh;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#carte_exclu1, #carte_joueur, #carte_exclu2{
    grid-row: 2 / 6;
}

#texte1{
    grid-row: 1;
    grid-column: 2 / 4;
    display: flex;
    justify-content: center;
    align-items: center;  
}

#texte2{
    grid-row: 1;
    grid-column: 1;
    display: flex;
    justify-content: center;
    align-items: center;  
}

div{
    background-color: aliceblue;
    border: 3px solid rgb(73, 73, 73);
    border-radius: 10px;
    padding: 10px;
}

.row{
    background-color: grey;
    border: 0px;
    border-radius: 0%;
}
.row_{
    background-color: rgb(75, 75, 75);
}

.infos_other{
    grid-row : 1;
    grid-column: 1 / 3;
}

.cartes_other{
    grid-row: 2;
    grid-column: 1;
}

.cartes_bat_other{
    grid-row: 2;
    grid-column: 2;
}

.player{
    gap : 10px;
    display: grid;
    background-color: rgb(75, 75, 75);
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

li,p{
    font-size: 1.4vh;
}

#message{
    display: flex;
    justify-content: center;
    align-items: center;  
}

#Stats{
    margin: auto;
    padding: 20px;
    grid-column: 9/11;
    background-color: rgb(75, 75, 75);
    border-radius: 10px;
    color : antiquewhite;
}

#etat{
    color : red;
    font-size: 2vh;
}

#info4_1,#info4_2,#info4_3{
    color: red;
}


#modal_cartes_joueur1, #modal_cartes_joueur2, #modal_cartes_joueur3{
    position: fixed;
    display: none;
    gap: 10px;
    grid-template-columns: repeat(8,1fr);
    top: 30%;
    left: 5%;
    width: 90%;
    height: 35%;
    border: 3px solid rgb(73, 73, 73);
    border-radius: 10px;
    background-color: antiquewhite; 
}

#regle_du_jeu{
    position: fixed;
    display: none;
    top: 20%;
    left: 25%;
    width: 50%;
    height: 60%;
    overflow-y: auto;
    border: 3px solid rgb(73, 73, 73);
    border-radius: 10px;
    background-color: antiquewhite;     
}

#carte_joueur, #carte_exclu1, #carte_exclu2, .carte_bat{
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

#classement{
    position: fixed;
    display: none;
    top: 20%;
    left: 35%;
    width: 30%;
    height: 60%;
    border: 3px solid rgb(73, 73, 73);
    border-radius: 10px;
    background-color: antiquewhite;     
}