body {
  font-family: 'Arial', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Updated to column layout */
  height: 100vh;
  margin: 0;
  background-color: #001f3f; /* Dark Blue Background */
  color: #fff; /* White Text */
}

.container {
  text-align: center;
}

.title {
  text-align: left;
  margin-left: 20px; /* Adjust as needed */
}

h1 {
  font-size: 36px;
  margin-top: 20px; /* Added margin to the top */
  margin-bottom: 20px;
}

.game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.board {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  gap: 10px;
}

.cell {
  width: 100px;
  height: 100px;
  border: 2px solid #fff; /* White Border */
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-color: #003366; /* Dark Blue Cell Background */
}

.status {
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
}

.result-screen {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 999;
}

.result-message {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
}

.restart-button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #fff;
  color: #001f3f;
  border: none;
  cursor: pointer;
}
