*{
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background: linear-gradient(45deg, #ece9e6, #ffffff);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
#fanControl {
  padding: 20px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 10px 15px lightslategray;
  max-width: 300px;
  width: 100%;
}

#fanContainer {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0px auto;
}

#fan,
#fanJali {
  position: absolute;
  width: 100%;
  height: 100%;
}

#controls {
  display: flex;
  justify-content: center;
  gap: 10px;
}

button {
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background: lightcoral;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 10px lightgray;
}

button:hover {
  background: tomato;
  transform: scale(1.1);
}

button:active {
  background: tomato;
  transform: scale(0.95);
}

.fanOff {
  animation: none;
}

.fan1x {
  animation: fanWorking 1s linear infinite;
}

.fan2x {
  animation: fanWorking 0.5s linear infinite;
}

.fan3x {
  animation: fanWorking 0.25s linear infinite;
}

@keyframes fanWorking {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
