body {
  font-family: Arial, sans-serif;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

#body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.dark-mode {
  background-color: #333;
  color: white;
}

h1 {
  margin-bottom: 30px;
}

.bulb-container {
  margin: 40px auto;
  position: relative;
  width: 100px;
  height: 150px;
}

.bulb {
  width: 80px;
  height: 80px;
  background-color: #f1c40f;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 50px rgba(241, 196, 15, 0.5);
  transition: all 0.3s ease;
}

.bulb.off {
  background-color: #95a5a6;
  box-shadow: none;
}

.bulb-base {
  width: 30px;
  height: 40px;
  background-color: #7f8c8d;
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 5px 5px;
}

button {
  padding: 10px 20px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #2980b9;
}

.switch-status {
  margin-top: 20px;
  font-weight: bold;
}
