/* Grundlegende Layout-Einstellungen */
body {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

#menuArea {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

#menuArea button {
    padding: 10px 20px;
    font-size:16px;
    cursor: pointer;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: #f0f0f0;
}

/* Spielinformationen und Textstile */
#gameInfo {
    text-align: center;
    margin-bottom: 20px;
}

.player-color {
    font-weight: bold;
}

/* Farbdefinitionen für Spieler */
.blue-color {
    color: blue;
}

.red-color {
    color: red;
}

/* Spielbrett-Layout */
#gameBoard {
    display: grid;
    grid-template-columns: repeat(9, 40px);
    grid-template-rows: repeat(9, 40px);
    gap: 0px;
    border: 5px solid black;
}

/* Zellendesign für das Spielbrett */
.cell {
    width: 40px;
    height: 40px;
    background-color: grey;
    border: 1px solid black;
    box-sizing: border-box;
}



/* Grundlegende Spielerzonen-Stile */
.playerzone {
    background-color: grey;
    box-sizing: border-box;
}

.red-playerzone {
    background-color: grey;
    box-sizing: border-box;
}



/* Spezifische Stile für Spielerbasen */
.playerbase-top {
    border-top: 2px solid blue;
}

.playerbase-bottom {
    border-bottom: 2px solid blue;
}

.playerbase-left {
    border-left: 2px solid blue;
}

.playerbase-right {
    border-right: 2px solid blue;
}

/* Spielerfiguren-Stile */
.playerhead {
    background-color: blue;
}

.playerbody {
    background-color: lightblue;
}

.playerspawn {
    background-color: blue;
}



/* Rote Spielerbasen-Stile */
.red-playerbase-top {
    border-top: 2px solid red;
}

.red-playerbase-bottom {
    border-bottom: 2px solid red;
}

.red-playerbase-left {
    border-left: 2px solid red;
}

.red-playerbase-right {
    border-right: 2px solid red;
}

/* Rote Spielerfiguren-Stile */
.red-playerhead {
    background-color: red;
}

.red-playerbody {
    background-color: pink;
}

.red-playerspawn {
    background-color: red;
}

