body {
  background-color: #f7f7f7;
  font-family: sans-serif;
  margin: 0;
  padding: 20px;
}

h1 {
  text-align: center;
  margin-top: 0;
}

img {
  height: 50px;
  vertical-align: middle;
}

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

button:hover {
  background-color: #006622;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  width: 300px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

li {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin: 5px;
  padding: 10px;
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

li.bonus {
  background-color: #ffcc00;
}

/* 동물 캐릭터 추가 */

.animal-container {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1;
}

.animal {
  width: 150px;
  height: 150px;
  animation: float 3s infinite alternate;
  background-image: url("img/bear.png");
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .animal-container {
    display: none;
  }
}

/* 테마별 동물 캐릭터 이미지 변경 */

body.theme-bear .animal {
  background-image: url("img/bear.png");
}

body.theme-cat .animal {
  background-image: url("img/cat.png");
}

body.theme-dog .animal {
  background-image: url("img/dog.png");
}

/* 추가 테마 추가 가능 */
#draw-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #FFD700; /* 황금색 */
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;

  /* 찬란하게 빛나는 효과 */
  animation: shine 1s infinite;
}

@keyframes shine {
  0% {
    background-color: #FFD700;
  }
  50% {
    background-color: #FFC107;
  }
  100% {
    background-color: #FFD700;
  }
}

#draw-button span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #000000;
  font-size: 24px;
  font-weight: bold;
}

#draw-button:hover {
  background-color: #FFC107;
}

