/* body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: serif;

  background-image: url("./image/background.png");
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: center; 

  min-height: 100vh; */

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden; /* Prevent scrolling */
}

body {
  font-family: serif;
  box-sizing: border-box;
  background-image: url("./image/background.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  min-height: 100vh;
}

.btn-winner {
  background-color: #ff6600;
  padding: 25px;
  color: whitesmoke;
  font-size: 36px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-winner:hover {
  background-color: #0a082b;
  color: whitesmoke;
}

.btn-winner:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

.random-box {
  text-align: center;
}

/* .odometer {
  box-sizing: border-box;
  margin-left: 30%;
  width: 40%;
  height: 400px;
  font-size: 50px;
  font-family: serif;
  background-image: url("./image/back.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transition: 1s;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 0 10px rgb(158, 143, 25), 0 0 20px rgba(172, 158, 76, 0.901);
  z-index: 1;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;

  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
} */
/* .odometer {
  box-sizing: border-box;
  margin: 0 auto;
  width: 50vw;
  height: 60vh;
  font-size: 3vw;
  font-family: "serif";
  background-image: url("./image/back.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 1s ease-in-out;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 0 10px #9e8f19, 0 0 20px rgba(172, 158, 76, 0.9);
  z-index: 1;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
} */

/* .odometer {
  box-sizing: border-box;
  width: 100%;
  height: 400px;
  font-size: 2.5vw;
  font-family: "serif";
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 1s ease-in-out;
  text-align: center;
  border-radius: 30px;
  box-shadow: 0 0 15px #9e8f19, 0 0 25px rgba(172, 158, 76, 0.9);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  color: #fff;
  z-index: 1;
  white-space: normal;
  word-break: break-word;
  background-color: skyblue;
} */

@media (max-width: 768px) {
  .odometer {
    width: 90vw;
    height: 50vh;
    font-size: 5vw;
  }
}

#roller {
  display: flex;
  flex-direction: column;
}
.form-select {
  width: 30%;
}

.modal {
  text-align: center;
}

#winner_list {
  overflow: auto;
  height: 600px;
  text-align: center;
}

#winner_list input[type="radio"] {
  transform: scale(1.5);
}

.modal-content {
  box-shadow: 10px 10px;
}

#candidate_list,
#item_list {
  overflow: auto;
  height: 500px;
  width: 100%;
}

.scroll-wrapper {
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #888 transparent;
  overflow-y: scroll;
}

/* Chrome, Edge, Safari */
.scroll-wrapper::-webkit-scrollbar {
  width: 6px;
  height: 10px;
}

.scroll-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.scroll-wrapper::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 6px;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-15px);
  }
}

img[src$="congratulation.webp"] {
  background: transparent !important;
  display: inline-block;
}

@keyframes scrollSlowDown {
  0% {
    transform: translateY(0);
  }
  80% {
    transform: translateY(-80%);
  }
  100% {
    transform: translateY(-100%);
  }
}
