body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 20px;
  color: #333;
}

/* Theme toggle button */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #f0f0f0;
  color: #333;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
  opacity: 0.9;
}

/* Dark theme styles */
body.dark {
  background-color: #121212;
  color: #f0f0f0;
}

body.dark .hex-button {
  background-color: #1e1e1e;
  color: #f0f0f0;
}

body.dark .center-letter {
  background-color: #bb86fc;
}

body.dark button {
  background-color: #333;
  color: #f0f0f0;
}

body.dark #foundWords {
  color: white;
}
.container {
  text-align: center;
  max-width: 500px;
  margin: auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

h1 {
  font-size: 2em;
  margin: 0;
}

.question-mark {
  font-size: 1.5em;
  color: #555;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 50%;
  padding: 5px;
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.question-mark:hover {
  background-color: #f0f0f0;
}

#gameInfo {
  margin: 10px 0;
  font-size: 0.9em;
  color: #555;
}

.message {
  margin-top: 15px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ff4757;
}
#score {
  font-size: 24px;
  font-weight: bold;
  color: white;
  background: linear-gradient(45deg, #9745c0, #3b1b50);
  padding: 10px 20px;
  border-radius: 15px;
  display: inline-block;
  margin-top: 20px;
}

#foundWords {
  font-size: 20px;
  font-weight: bold;
  /* color: #333; */
  margin-top: 20px;
}

.hidden {
  display: none;
}

#beehive {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 30px 0;
}

.hex-row {
  display: flex;
  gap: 5px;
}

.hex-button {
  width: 60px;
  height: 60px;
  background-color: #007bff;
  color: white;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.hex-button:hover {
  transform: scale(1.1);
}

.center-letter {
  background-color: #ff4757;
}

#actions {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

button {
  padding: 10px 20px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

#submitBtn{
  background: linear-gradient(45deg, #288c63, #329e4a);
}

#newGameBtn{
  background: linear-gradient(45deg, #ff4757, #2284ff);
}
#deleteBtn {
  background: linear-gradient(45deg, #ee1a1a, #ff1b1b);
}

button:hover {
  opacity: 0.9;
}

#wordInput {
  margin: 10px 0;
  font-size: 18px;
  font-weight: bold;
}

#score {
  font-size: 18px;
  margin-top: 20px;
}

#foundWords {
  margin-top: 20px;
  font-size: 16px;
  color: #333;
}

#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
