body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Pour centrer verticalement */
    font-family: Arial, sans-serif;
    background-image: url('background.avif'); /* Assure-toi que le nom correspond à ton fichier */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    height: 100vh; /* Pour s'assurer que le fond couvre toute la hauteur */
    padding-top: 50px; /* Ajuste cette valeur pour descendre davantage */
}

h1 {
    margin-top: 20px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5); /* Fond noir avec opacité */
    color: white; /* Couleur du texte */
    border-radius: 5px; /* Coins arrondis */
    font-size: 2.5rem; /* Taille du texte */
    font-family: 'Garamond', serif; /* Police plus royale */
    font-weight: bold; /* Texte en gras pour un effet plus royal */
    text-align: center; /* Centre le texte */
}


#game-board {
    display: grid;
    grid-template-columns: repeat(8, 60px); /* Augmente la taille ici */
    grid-template-rows: repeat(8, 60px); /* Augmente la taille ici */
    gap: 1px;
    margin-top: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 8px;
}

.cell {
    width: 60px; /* Correspond à la taille du jeu */
    height: 60px; /* Correspond à la taille du jeu */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
}

.region1 {
    background-color: #a0a;
}

.region2 {
    background-color: #000;
    color: #fff;
}

.cell.conflict {
    background-color: red !important;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
}

button:hover {
    background-color: #555;
}
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
    background-image: url('background.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
}

h1 {
    margin-top: 20px;
    font-size: 2.5rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
}

#game-board {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 1fr);
    gap: 1px;
    margin-top: 20px;
    width: 400px;
    height: 400px;
    border: 3px solid #000;
    background-color: #000;
}

.cell {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
}

.region1 {
    background-color: #a0a;
}

.region2 {
    background-color: #000;
    color: #fff;
}

.cell.conflict {
    background-color: red !important;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    #game-board {
        width: 90vmin;
        height: 90vmin;
    }

    .cell {
        font-size: 18px;
    }
}


