* {
  margin: 0;
  padding: 0;
}
body {
  background-color: antiquewhite;
  color: black;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #52528c;
  font-family: Arial, sans-serif;
}

main h1 {
  margin-bottom: 30px;
  text-align: center;
}

.game {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  grid-template-rows: repeat(3, 100px);
  gap: 5px;
  margin-bottom: 20px;
}

.box {
  width: 100px;
  height: 100px;
  font-size: 24px;
  font-weight: bold;
  background-color: white;
  color: #000;
  z-index: 1;
  border: 2px solid #000;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 15px;
}

.box:hover {
  background-color: rgba(245, 245, 245, 0.772);
}

#reset-btn1 {
  padding: 10px 20px;
  font-size: 18px;
  background-color: #ff4d4d;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 10px;
  margin-left: 33%;
  margin-top: 30px;
}
.restart {
  padding: 10px 20px;
  font-size: 18px;
  background-color: #ff4d4d;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 10px;
}

#reset-btn1:hover {
  background-color: #cc0000;
}
.message {
  height: 200vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 320px;

  gap: 4rem;
}
.hide {
  display: none;
}
.message p {
  font-size: larger;
  font-weight: 500;
  color: #ff4d4d;
}
