* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  background: url('./images/pikisuperstar.jpg') no-repeat center center/cover;
  /* freepik.com - pikisuperstar, License:Free */
  background-color: #e0e0e0;
}

.game-board {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  gap: 10px;
  height: 400px;
  width: 400px;
  place-content: center;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  background-color: rgba(225, 222, 222, 0.2);
  position: relative;
}

.game-board::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    rgba(149, 6, 6, 0.887) 0,
    rgba(10, 37, 238, 0.919) 1px,
    transparent 1px,
    transparent 5px
  );
  background-size: 1px 1px;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

.cell {
  width: 100px;
  height: 100px;
  background-color: #acd7dc;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  border-radius: 5px;
  transition: background-color 0.3s;
  border: none;
  position: relative;
  z-index: 1;
}

.cell:hover {
  background-color: #8abcc2;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

#close-modal {
  background-color: #7ec1c8;
  color: black;
  border: none;
  padding: 15px;
  cursor: pointer;
}

#close-modal:hover {
  background-color: #54b2bc;
}
