body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden; /* Prevent scrolling */
    background-color: rgb(201, 236, 247);
}

#header {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgb(97, 1, 1);
}

#board-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: #007BFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
  }
  
  button:active {
    background-color: #004080;
    transform: translateY(1px);
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
  }
  
  button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
  }
  

#game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#queens-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.queen {
    width: 50px;
    height: 50px;
    color: black;
    font-size: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.whygod{
    display: flex;
    gap: 10px;
}
#chessboard {
    margin-top: 20px;
    border: 4px solid #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#undo-move {
    margin-top: 20px;
    padding: 10px 15px;
    font-size: 16px;
    color: white;
    background-color: #dc3545;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#undo-move:hover {
    background-color: #c82333;
}


