body {
  background-color: #F5F5DC;
  margin: 0;
  padding: 0;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  overflow: visible;
}

.image-transition {
  position: relative;
  width: 100%;
  height: 100%;
}

.image-transition img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.image-transition img.active {
  opacity: 1;
}

/* 数字显示样式 */
.number-display {
  font-size: 48px;
  font-weight: bold;
  color: #ffffff;
  -webkit-text-stroke: 2px #000000;
  text-rendering: 2px #000000;
  padding: 20px;
  text-align: center;
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  z-index: 9999;
}

/* 按钮样式 */
button {
  width: 200px;
  padding: 15px 0;
  text-align: center;
  margin: 20px 10px;
  border-radius: 25px;
  font-weight: bold;
  border: 2px solid #9AB8DB;
  background: transparent;
  color: #ffffff;
  -webkit-text-stroke: 1px #000000;
  text-rendering: 1px #000000;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-size: 24px;
}

button span {
  background: #9AB8DB;
  height: 100%;
  width: 0;
  border-radius: 25px;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  transition: 0.5s;
}

button:hover span {
  width: 100%;
}

button:hover {
  border: none;
}

/* 定位按钮 */
#next-button {
  position: absolute;
  right: 10px;
  bottom: 10px;
}

#last-button {
  position: absolute;
  left: 10px;
  bottom: 10px;
}

#random-button {
  position: absolute;
  right: 10px;
  bottom: 80px;
}

#log-button {
  position: absolute;
  left: 10px;
  top: 10px;
}

#black-theme-button {
  position: absolute;
  left: 10px;
  top: 80px;
}


