body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
 
  margin: 0;
  background: url(./tic-tac-toe-7737546.jpg) no-repeat center;
  background-size: cover ;
}

.container {
  text-align: center;
  background: transparent;
  border: 1px solid #cccccc;
  backdrop-filter: blur(5px);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
h1:nth-child(1){
  position: absolute;
  left: 65px;
  top :20px;
  color: #d3e2e9;
  animation: animate 2s linear infinite;
}
@keyframes animate {
  0%{
    clip-path: polygon(45% 43%, 67% 50%, 85% 53%, 100% 49%, 100% 100%, 0 100%, 0 51%, 14% 46%, 28% 43%);
  }
  25%{
    clip-path: polygon(45% 43%, 67% 50%, 85% 53%, 100% 49%, 100% 100%, 0 100%, 0 51%, 14% 46%, 28% 43%);
  }
  50%{
    clip-path: polygon(48% 51%, 68% 47%, 83% 44%, 100% 42%, 100% 100%, 0 100%, 0 42%, 18% 47%, 34% 50%);
  }
  75%{
    clip-path: polygon(54% 39%, 71% 40%, 85% 46%, 100% 49%, 100% 100%, 0 100%, 0 47%, 18% 47%, 38% 43%);
  }
  100%{
    clip-path: polygon(51% 40%, 69% 44%, 85% 46%, 100% 45%, 100% 100%, 0 100%, 0 50%, 16% 44%, 34% 40%);
  }
}
h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: transparent;
  -webkit-text-stroke: .5px #ffffff;
}

.game-board {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  grid-template-rows: repeat(3, 100px);
  gap: 2px;
  margin-bottom: 20px;
  border: 2px solid #fff;
}

.cell {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #fff;
  font-size: 3em;
  font-weight: bold;
  cursor: pointer;
  background: linear-gradient(to left, transparent 50%, rgb(7, 181, 239) 50% )right;
  background-size: 200%;
  transition: all 0.3s ease;

}

.cell.colorx {
  color: #ff0000;
  background: none;
  background-color: rgb(2, 2, 2);
  text-shadow: 2px 2px #fff;
}

.cell.coloro {
  color: #2500f9;
  background: none;
  background-color: rgb(255, 255, 255);
  text-shadow: 3px 3px  rgb(1, 1, 1);
}

.cell:hover {
  background-position: left;
}

button {
  padding: 10px 20px;
  font-size: 1em;
  margin: 5px;
  border: 1px solid #fff;
  border-radius: 5px;
  background-color: transparent;
  background: linear-gradient(to left, transparent 50%, rgba(229, 54, 42) 50% )right;
  background-size: 280% ;
  color: #fff;
  cursor: pointer;
  transition: all 0.5s linear;
}

button:hover {
  background-position: left;
  color: #fff;
}

#statusMessage {
  font-size: 1.2em;
  margin-top: 20px;
  color: #fff;
}