body {
    font-family: Arial, sans-serif;
    background-color: #f5f5dc; /* Beige background */
    color: #4b0082; /* Light purple text */
    margin: 0;
    padding: 0;
}

header {
    background-color: #dda0dd; /* Light purple background */
    padding: 20px;
    text-align: center;
}

h1 {
    margin: 0;
    font-size: 2.5em;
}

main {
    padding: 20px;
    text-align: center;
}

#chessboard {
    width: 320px;
    height: 320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 1fr);
}

.square {
    width: 40px;
    height: 40px;
}

.square:nth-child(even) {
    background-color: #71af04; /* Light square */
}

.square:nth-child(odd) {
    background-color: #064c2e; /* Dark square */
}

.piece {
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: black;
}

.square:nth-child(even) .piece {
    color: white;
}

footer {
    background-color: #dda0dd; /* Light purple background */
    padding: 10px;
    text-align: center;
    position: fixed;
    width: 100%;
    bottom: 0;
}