* {
  font-family: Arial, Helvetica, sans-serif;
  /* font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; */
}
button {
  font-size: 16px;
  padding: 10px 30px;
  border-radius: 5px;
  border: none;
  margin-top: 20px;
}
.game {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
}
button:hover {
  cursor: pointer;
}
.grid-container {
  margin-top: 10px;
  display: grid; /* Enables CSS Grid layout */
  grid-template-columns: repeat(3, 1fr); /* Creates 3 columns of equal width */
  grid-template-rows: repeat(3, 1fr); /* Creates 3 rows of equal height */
  gap: 5px; /* Adds space between grid items */
  width: 300px; /* Optional: Sets a specific width for the container */
  height: 300px; /* Optional: Sets a specific height for the container */
}
.changeColor {
  background: rgb(5, 152, 98);
  color: white;
  border: none;
}
.cross {
  display: block;
}
.line2 {
  border-left: 5px solid white;
  height: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;

  /* display: none; */
}
.diagonal-line-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 141%;
  background-color: white;
  transform: rotate(45deg);
  transform-origin: top right;
}
.disabled {
  pointer-events: none;
}
.diagonal-line-left {
  position: absolute;
  width: 140%; /* longer than square so corners reach */
  height: 5px; /* thickness of line */
  background: white;

  top: 50%;
  left: -20%; /* shift to balance extra width */

  transform: rotate(45deg);
  transform-origin: center;
}
.line1 {
  border-top: 5px solid white; /* This creates the vertical line */
  width: 100%; /* Makes the line span the full height of the container */
  position: absolute;
  top: 50%; /* Moves the line's left edge to the middle of the container */
  transform: translateY(
    -50%
  ); /* Moves the line left by half of its own width to truly center it */
  z-index: 10;

  /* display: none; */
}
/* .line1{
    text-decoration: line-through white 10px;
    display: table;
} */
.grid-item {
  font-weight: 600;
  position: relative;
  background-color: #14bdac; /* Adds a background color */
  border: none;
  font-size: 60px;
  /* padding: 20px; Adds padding */
  text-align: center; /* Centers text horizontally */
  display: flex; /* Helps center content inside the item */
  justify-content: center; /* Centers content horizontally */
  align-items: center; /* Centers content vertically */
}
.grid-item:hover {
  cursor: pointer;
}
.unclickable-text {
  pointer-events: none; /* Prevents clicks and other pointer interactions */
  cursor: default; /* Optional: ensures the cursor doesn't look like a pointer */
}

