*,
*::before,
*::after {
  box-sizing: border-box;
}


body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: black;
    color: #f4f4f4;
}

.container {
    margin-top: 100px;
}
.btn {
    padding: 10px 20px;
    margin: 10px;
    font-size: 18px;
    cursor: pointer;
}

.game {
    display: flex;
}

#tic-tac-toe-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* Creates a 3x3 grid */
    grid-gap: 10px;  /* Adjust based on your preference */
    max-width: 300px;  /* Set max width for the board */
    margin: auto;  /* Center the board */
}

.board-cell {
    width: 100px;  /* Width of each cell */
    height: 100px;  /* Height of each cell */
    background-color:black;  /* Cell background color */
    display: flex;
    justify-content: center;  /* Center content horizontally */
    align-items: center;  /* Center content vertically */
    border: 1px solid #ddd;  /* Add borders to cells */
    background-size: cover;    
}

#game-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#startGameButton {
    margin-top: 20px;
}

#baseAIImage {
    background-color: #f4f4f4; 
} 

#firstGenAIImage {
    background-color: yellow;

}

#minMaxAIImage {
    background-color: red;
}

.game img {
    border-radius: 50%; /* Optional: for rounded corners */
}

.ai-selection {
    margin: 15px;
}

.character-selection img {
    width: 100px;
    height: 100px;
    border-radius: 50%; 
    transition: box-shadow 0.3s ease; 
}

.character-selection img:hover {
    box-shadow: 0 0 10px 2px #a5d4e6; /* Add glow effect on hover */
}

.character-selection img.clicked {
    box-shadow: 0 0 10px 2px #a5d4e6; /* Add glow effect when image is clicked */
}

#aiNameLabel {
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 5px;
}

.character-playing {
    height: 300px;
    width: 300px;
}